Some basic styling on the blog index

This commit is contained in:
2025-06-05 13:09:19 -07:00
parent 5431967dce
commit 54b5a0b3b0
9 changed files with 59 additions and 136 deletions

View File

@@ -2,6 +2,8 @@
const today = new Date();
---
<footer class="py-4 text-sm text-center bg-dark text-light">
<footer
class="py-4 text-sm text-center bg-dark text-light absolute bottom-0 w-full"
>
&copy; {today.getFullYear()} Terakoda, LLC. All rights reserved.
</footer>

View File

@@ -1,17 +1,18 @@
---
interface Props {
date: Date;
date: Date;
}
const { date } = Astro.props;
---
<time datetime={date.toISOString()}>
{
date.toLocaleDateString('en-us', {
year: 'numeric',
month: 'short',
day: 'numeric',
})
}
{
// date.toLocaleDateString('en-us', {
// year: 'numeric',
// month: 'short',
// day: 'numeric',
// })
date.toISOString()
}
</time>

View File

@@ -1,6 +1,5 @@
---
import HeaderLink from "./HeaderLink.astro";
import { Picture, Image } from "astro:assets";
import HeaderLogo from "../assets/HeaderLogo.png";
---