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