feat: update code style

This commit is contained in:
KazooTTT
2024-11-26 00:46:07 +08:00
parent 504a9414e8
commit 1084b5764f
2 changed files with 7 additions and 3 deletions

View File

@ -165,6 +165,12 @@ import { Image } from 'astro:assets'
class={`block py-2 text-[1.05rem] font-medium ${Astro.url.pathname.startsWith('/tags') ? 'text-green-400' : ''}`} class={`block py-2 text-[1.05rem] font-medium ${Astro.url.pathname.startsWith('/tags') ? 'text-green-400' : ''}`}
> >
Tags Tags
</a>
<a
href='/diary'
class={`block py-2 text-[1.05rem] font-medium ${Astro.url.pathname.startsWith('/diary') ? 'text-green-400' : ''}`}
>
Diarie
</a> </a>
<a <a
href='/tools' href='/tools'

View File

@ -48,9 +48,7 @@ const { headings } = await post.render()
</div> </div>
<div <div
id='blog-gallery' id='blog-gallery'
class='prose prose-base prose-zinc mt-12 text-muted-foreground dark:prose-invert prose-headings:font-medium prose-headings:text-foreground prose-headings:before:absolute prose-headings:before:-ms-4 prose-code:bg-green-200 class='prose prose-base prose-zinc mt-12 text-muted-foreground dark:prose-invert prose-headings:font-medium prose-headings:text-foreground prose-headings:before:absolute prose-headings:before:-ms-4 prose-code:bg-green-200 prose-th:before:content-none prose-img:shadow dark:prose-code:bg-gray-800'
prose-th:before:content-none
prose-img:shadow'
> >
<slot /> <slot />
</div> </div>