update: desktop style

This commit is contained in:
radishzzz 2025-03-18 04:03:42 +00:00
parent 0dcd3a5838
commit b4bd409e4b
7 changed files with 39 additions and 18 deletions

View file

@ -39,7 +39,7 @@ const postsByYear = await getPostsByYear(lang)
<!-- Pinned Posts -->
{pinnedPosts.length > 0 && (
<section class="mb-7.5 lg:mb-9.5">
<section class="mb-7.5 lg:mb-10">
<div class="uno-decorative-line"></div>
<PostList posts={pinnedPosts} lang={lang} />
</section>
@ -47,7 +47,7 @@ const postsByYear = await getPostsByYear(lang)
<!-- Regular Posts -->
{[...postsByYear.entries()].map(([_year, posts]) => (
<section class="mb-7.5 lg:mb-9.5">
<section class="mb-7.5 lg:mb-10">
<div class="uno-decorative-line"></div>
<PostList posts={posts} lang={lang} />
</section>

View file

@ -103,9 +103,8 @@ const { Content, remarkPluginFrontmatter } = await post.render()
postSlug={post.slug}
supportedLangs={supportedLangs}
>
<!-- Title -->
<article class="heti mb-12.6">
<!-- Title -->
<h1 class="post-title">
<span
transition:name={`post-${post.data.abbrlink || post.slug}-${lang}`}
@ -127,6 +126,8 @@ const { Content, remarkPluginFrontmatter } = await post.render()
minutes={remarkPluginFrontmatter.minutes}
/>
</div>
<!-- Content -->
<Content />
</article>