refactor/add build time to page footers
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user