mirror of
https://github.com/xHyroM/website.git
synced 2024-11-22 15:01: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 => {
|
{posts.map(post => {
|
||||||
return (
|
return (
|
||||||
<a class="text-2xl font-bold text-white mb-4 break-all" href={post.url}>{post.frontmatter.title}</a>
|
<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', {
|
{new Date(post.frontmatter.date).toLocaleDateString('en-us', {
|
||||||
year: 'numeric',
|
year: 'numeric',
|
||||||
month: 'short',
|
month: 'short',
|
||||||
day: 'numeric',
|
day: 'numeric',
|
||||||
})}
|
})}
|
||||||
</h3>
|
</p>
|
||||||
<hr class="text-gray" />
|
<hr class="text-gray" />
|
||||||
)
|
)
|
||||||
})}
|
})}
|
||||||
|
|
Loading…
Reference in a new issue