attended issue #4

This commit is contained in:
kitty 2025-03-11 03:03:53 +00:00
parent a51d4343c6
commit 10d3eb0bea
2 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ const { post } = Astro.props;
<li class="flex flex-col text-center no-underline"> <li class="flex flex-col text-center no-underline">
<a href={`/blog/${post.slug}`}> <a href={`/blog/${post.slug}`}>
<span <span
class="flex flex-wrap justify-center text-balance text-2xl" class="flex flex-wrap justify-center text-balance text-2xl font-JetBrainsMono"
>{post.data.title}</span >{post.data.title}</span
> >
<div <div

View File

@ -31,7 +31,7 @@ const { Content } = await entry.render();
<main> <main>
<a <a
href="/" href="/"
class="block py-3 text-lg uppercase text-lightModeForegroundMuted underline underline-offset-4 hover:text-lightModeForeground dark:text-darkModeForegroundMuted dark:hover:text-darkModeForeground" class="block py-3 text-lg font-JetBrainsMono uppercase text-lightModeForegroundMuted underline underline-offset-4 hover:text-lightModeForeground dark:text-darkModeForegroundMuted dark:hover:text-darkModeForeground"
>{`← ${SITE.name}`}</a >{`← ${SITE.name}`}</a
> >
{ {
@ -44,7 +44,7 @@ const { Content } = await entry.render();
) )
} }
<h1 <h1
class="mt-6 flex flex-wrap justify-center text-balance text-2xl text-lightModeForeground dark:text-darkModeForeground" class="mt-6 flex flex-wrap justify-center text-balance text-2xl font-JetBrainsMono text-lightModeForeground dark:text-darkModeForeground"
> >
{entry.data.title} {entry.data.title}
</h1> </h1>
@ -59,7 +59,7 @@ const { Content } = await entry.render();
</div> </div>
<a <a
href="/" href="/"
class="block py-3 text-lg uppercase text-lightModeForegroundMuted underline underline-offset-4 hover:text-lightModeForeground dark:text-darkModeForegroundMuted dark:hover:text-darkModeForeground" class="block py-3 text-lg font-JetBrainsMono uppercase text-lightModeForegroundMuted underline underline-offset-4 hover:text-lightModeForeground dark:text-darkModeForegroundMuted dark:hover:text-darkModeForeground"
>{`← ${SITE.name}`}</a >{`← ${SITE.name}`}</a
> >
</main> </main>