Some basic styling on the blog index
This commit is contained in:
@@ -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"
|
||||
>
|
||||
© {today.getFullYear()} Terakoda, LLC. All rights reserved.
|
||||
</footer>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
import HeaderLink from "./HeaderLink.astro";
|
||||
import { Picture, Image } from "astro:assets";
|
||||
import HeaderLogo from "../assets/HeaderLogo.png";
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user