refactor/add build time to page footers

This commit is contained in:
2025-07-16 10:06:41 -04:00
parent 289411c8eb
commit 8f7b0f2719
12 changed files with 28964 additions and 127 deletions

View File

@@ -1,17 +1,21 @@
---
import { metaData, API_URL } from "../config";
import RandomMsg from "../components/RandomMsg";
import { buildTime } from '../utils/buildTime.js';
const YEAR = new Date().getFullYear();
---
<small class="block lg:mt-24 mt-16 text-[#1C1C1C] dark:text-[#D4D4D4] footer-text">
<time>© {YEAR}</time>{" "}
{metaData.owner}
</a>
</small>
<RandomMsg client:only="react" />
<div class="footer">
<small class="block lg:mt-24 mt-16 text-[#1C1C1C] dark:text-[#D4D4D4] footer-text">
<time>© {YEAR}</time>{" "}
{metaData.owner}
</a>
</small>
<RandomMsg client:only="react" />
<div style="margin-top: 15px; bottom: 0%">
<small>Built: {buildTime} UTC</small>
</div>
</div>
<style>
@media screen and (max-width: 480px) {
article {