Create footer.php

This commit is contained in:
billz 2024-10-25 00:02:38 -07:00
parent 9a1d362d30
commit 6cd18ad571
2 changed files with 11 additions and 6 deletions

10
includes/footer.php Normal file
View file

@ -0,0 +1,10 @@
<div class="d-flex align-items-center justify-content-between small">
<div class="text-muted">
<span class="pe-2"><a href="/about">v<?php echo RASPI_VERSION; ?></a></span> |
<span class="ps-2">Created by the <a href="https://github.com/RaspAP" target="_blank" rel="noopener">RaspAP Team</a></span>
</div>
<div class="text-muted">
<i class="fas fa-heart heart"></i> <a href="https://docs.raspap.com/insiders" target="_blank" rel="noopener">Get Insiders</a>
</div>
</div>

View file

@ -117,12 +117,7 @@ initializeApp();
</main> </main>
<footer class="py-4 bg-light mt-auto"> <footer class="py-4 bg-light mt-auto">
<div class="container-fluid px-4"> <div class="container-fluid px-4">
<div class="d-flex align-items-center justify-content-between small"> <?php require_once 'includes/footer.php'; ?>
<div class="text-muted">Created by the <a href="https://github.com/RaspAP" target="_blank" rel="noopener">RaspAP Team</a></div>
<div class="text-muted">
<i class="fas fa-heart heart"></i> <a href="https://docs.raspap.com/insiders" target="_blank" rel="noopener">Get Insiders</a>
</div>
</div>
</div> </div>
</footer> </footer>
</div> </div>