chore: update dependencies and style

This commit is contained in:
radishzzz 2025-03-08 23:50:41 +00:00
parent d6cff842e1
commit 4fc12b804c
8 changed files with 25 additions and 22 deletions

View file

@ -26,7 +26,12 @@ const {
dark: { primary: darkPrimary, secondary: darkSecondary, background: darkBackground },
} = themeConfig.color
---
<div id="waline" data-config={walineConfigJson}></div>
<div
id="waline"
class="mt-16"
data-config={walineConfigJson}
>
</div>
<script>
import { init } from '@waline/client'

View file

@ -1,8 +1,8 @@
<!-- Sentinel element for scroll detection -->
<div
id="top-sentinel"
class="pointer-events-none absolute left-0 top-0 h-px w-full"
aria-hidden="true"
class="pointer-events-none absolute left-0 top-0 h-px w-full"
/>
<button
@ -13,8 +13,8 @@
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
class="m-auto h-60% w-60%"
fill="currentColor"
class="m-auto h-60% w-60%"
>
<path d="M18 15l-6-6-6 6" />
</svg>

View file

@ -22,8 +22,8 @@ function getLanguageDisplayName(code: string) {
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
class="h-full w-full"
aria-hidden="true"
class="h-full w-full"
>
<path d="M19 21 12.3 2h-1L4.7 21l-2.5.2v.8h6.3v-.8L5.7 21l2-5.9h7.5l2 5.9-3.3.2v.8h7.9v-.8zM8 14.3l3.4-10.1 3.5 10.1z" fill="currentColor" />
</svg>

View file

@ -52,18 +52,16 @@ const { Content, remarkPluginFrontmatter } = await post.render()
<!-- Tags -->
{post.data.tags && post.data.tags.length > 0 && (
<div class="mb-16">
<div class="uno-decorative-line"></div>
<div class="uno-tags-wrapper">
{post.data.tags.map(tag => (
<a
href={`/tags/${tag}/`}
class="uno-tags-style"
>
{tag}
</a>
))}
</div>
<div class="uno-decorative-line"></div>
<div class="uno-tags-wrapper">
{post.data.tags.map(tag => (
<a
href={`/tags/${tag}/`}
class="uno-tags-style"
>
{tag}
</a>
))}
</div>
)}