footer schmooter
This commit is contained in:
parent
9f030dbb28
commit
b2591bd1b6
|
@ -64,6 +64,14 @@ body {
|
|||
padding: .75rem 1rem;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
footer {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
background-color: var(--bs-gray-100);
|
||||
}
|
||||
|
||||
/* custom */
|
||||
ul.list-top > li::before {
|
||||
counter-increment: toplist;
|
||||
|
|
|
@ -9,10 +9,13 @@ require_once('./inc/router.inc.php');
|
|||
|
||||
$tpl = (object)$tpl;
|
||||
|
||||
$generated = round(microtime(true) - $_SERVER['REQUEST_TIME_FLOAT'], 5);
|
||||
|
||||
if(!@$tpl->debug) {
|
||||
tpl::view('tpl/' . $tpl->file,
|
||||
array_merge([
|
||||
'page' => $_page
|
||||
'page' => $_page,
|
||||
'generated' => $generated
|
||||
],
|
||||
gettype($tpl->data) !== 'string' ? $tpl->data : [])
|
||||
);
|
||||
|
|
|
@ -41,6 +41,12 @@
|
|||
</main>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<div class="container text-end">
|
||||
Made with <span style="color: #b92201;">♥</span> by DALL·E and ChatGPT • Generated in {{ $generated }}s
|
||||
</div>
|
||||
</footer>
|
||||
<script src="./js/bootstrap-native.min.js" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue
Block a user