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

@ -1 +1,3 @@
重新编排再现版式之美文章标签关于文章標籤關於記事タグ概要 重新编排再现版式之美文章标签关于
重新編排再現版式之美文章標籤關於
再組版印刷の美を甦らせる記事タグ概要

Binary file not shown.

View file

@ -3,6 +3,11 @@ import Layout from '@/layouts/Layout.astro'
--- ---
<Layout> <Layout>
<!-- Decorative line -->
<div class="uno-decorative-line"></div> <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> </Layout>

View file

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

View file

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

View file

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

View file

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

View file

@ -96,5 +96,4 @@ html[data-theme-transition] [data-disable-transition-on-theme] {
src: url("/font/EarlySummer-Subset.woff2") format("woff2-variations"); src: url("/font/EarlySummer-Subset.woff2") format("woff2-variations");
font-display: swap; font-display: swap;
font-weight: 400 700; font-weight: 400 700;
unicode-range: U+91cd,U+65b0,U+7f16,U+6392,U+518d,U+73b0,U+7248,U+5f0f,U+4e4b,U+7f8e,U+6587,U+7ae0,U+6807,U+7b7e,U+5173,U+4e8e,U+6a19,U+7c64,U+95dc,U+65bc,U+8a18,U+4e8b,U+30bf,U+30b0,U+6982,U+8981;
} }

View file

@ -34,7 +34,7 @@ export default defineConfig({
}, },
shortcuts: { shortcuts: {
'uno-tags-style': 'inline-block whitespace-nowrap border border-secondary/25 rounded-full px-3.2 py-0.7 c-secondary transition-colors hover:(border-secondary/75 text-primary)', 'uno-tags-style': 'inline-block whitespace-nowrap border border-secondary/25 rounded-full px-3.2 py-0.7 c-secondary transition-colors hover:(border-secondary/75 text-primary)',
'uno-decorative-line': 'h-0.25 w-10 bg-secondary opacity-25 mb-4.5 lg:(w-13.5 mb-6)', 'uno-decorative-line': 'h-0.25 w-10 bg-secondary opacity-25 mb-4.5 lg:(w-11 mb-6)',
'uno-tags-wrapper': 'w-95% flex flex-wrap gap-x-3 gap-y-3.2 lg:w-100%', 'uno-tags-wrapper': 'w-95% flex flex-wrap gap-x-3 gap-y-3.2 lg:w-100%',
}, },
rules: [ rules: [