Finished blog post styling

Light & Dark mode; on sizes <sm to 2xl+
This commit is contained in:
Blboun3
2024-05-31 07:49:15 +02:00
parent ea25e69277
commit 1f06060124
7 changed files with 38 additions and 23 deletions

View File

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