mirror of
https://github.com/xHyroM/website.git
synced 2024-11-10 01:38:05 +01:00
fix(pages-blog): use p instead of h3 - fix issue :P
This commit is contained in:
parent
fdf47a6f21
commit
626aa306ab
1 changed files with 2 additions and 2 deletions
|
@ -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" />
|
||||
)
|
||||
})}
|
||||
|
|
Loading…
Reference in a new issue