chore: add characters in the early summer subset, add comments in pages

This commit is contained in:
radishzzz 2025-03-18 19:37:38 +00:00
parent 137d79f273
commit 10514edf9e
9 changed files with 31 additions and 5 deletions

View file

@ -3,6 +3,11 @@ import Layout from '@/layouts/Layout.astro'
---
<Layout>
<!-- Decorative line -->
<div class="uno-decorative-line"></div>
<h1 class="mt-10 text-8 font-title">404</h1>
<!-- 404 -->
<h1 class="mt-10 text-8 font-title">404</h1>
</Layout>

View file

@ -38,8 +38,13 @@ const { Content } = aboutEntry ? await aboutEntry.render() : { Content: null }
---
<Layout>
<!-- Decorative line -->
<div class="uno-decorative-line"></div>
<!-- About page content -->
<div class="heti">
{Content && <Content />}
</div>
</Layout>

View file

@ -107,8 +107,10 @@ const { Content, remarkPluginFrontmatter } = await post.render()
>
<article class="heti mb-12.6">
<div class="relative">
<!-- Back home -->
<!-- Desktop back home button -->
<BackHome />
<!-- Title -->
<h1 class="post-title">
<span
@ -152,5 +154,7 @@ const { Content, remarkPluginFrontmatter } = await post.render()
</div>
)}
<!-- Comments -->
<Comments />
</Layout>

View file

@ -34,7 +34,11 @@ const allTags = await getAllTags(lang)
---
<Layout>
<!-- Decorative line -->
<div class="uno-decorative-line"></div>
<!-- Tags list -->
<div class="uno-tags-wrapper">
{allTags.map(tag => (
<a
@ -45,4 +49,5 @@ const allTags = await getAllTags(lang)
</a>
))}
</div>
</Layout>

View file

@ -53,7 +53,11 @@ const supportedLangs = tagSupportedLangs.filter(Boolean) as string[]
---
<Layout supportedLangs={supportedLangs}>
<!-- Decorative line -->
<div class="uno-decorative-line"></div>
<!-- Tags list -->
<div class="uno-tags-wrapper">
{allTags.map(tagName => (
<a
@ -69,7 +73,9 @@ const supportedLangs = tagSupportedLangs.filter(Boolean) as string[]
))}
</div>
<!-- Posts list -->
<div class="mt-10.5">
<PostList posts={posts} lang={lang} />
</div>
</Layout>