mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 19:51:07 +02:00
update: desktop style
This commit is contained in:
parent
0dcd3a5838
commit
b4bd409e4b
7 changed files with 39 additions and 18 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue