fix(pages-blog): use p instead of h3 - fix issue :P

This commit is contained in:
xHyroM 2023-01-05 14:13:41 +01:00
parent fdf47a6f21
commit 626aa306ab

View file

@ -19,13 +19,13 @@ const posts = (await Astro.glob('./posts/*.md')).sort(
{posts.map(post => {
return (
<a class="text-2xl font-bold text-white mb-4 break-all" href={post.url}>{post.frontmatter.title}</a>
<h3 class="text-1xl text-white italic mb-4 break-all">
<p class="text-1xl text-white italic mb-4 break-all">
{new Date(post.frontmatter.date).toLocaleDateString('en-us', {
year: 'numeric',
month: 'short',
day: 'numeric',
})}
</h3>
</p>
<hr class="text-gray" />
)
})}