Codex/design 启用新的页面风格 #10

Merged
biss merged 2 commits from codex/design into master 2026-07-19 16:10:43 +08:00
7 changed files with 12 additions and 8 deletions
Showing only changes of commit 7f18dc388e - Show all commits

No files matched your search

+3 -3
View File
@@ -5,11 +5,10 @@ import { siteConfig } from '../../site.config.mjs';
---
<BaseLayout title="关于" description={`关于 ${siteConfig.site.name} 和站长 ${siteConfig.author.name} 的简短介绍。`}>
<section class="content-wrap narrow page-with-card native-page">
<section class="content-wrap page-with-card native-page">
<PageHeaderCard title="关于" subtitle="这里记录折腾、学习和一些普通日子的回声。" />
</section>
<article class="article page-article native-page-article">
<article class="article page-article native-page-article about-page-article">
<div class="prose">
<p>
你好,我是 Bi。这个博客主要用来保存技术实践、生活片段和那些一时半会儿不想让它们散掉的想法。
@@ -43,4 +42,5 @@ import { siteConfig } from '../../site.config.mjs';
</p>
</div>
</article>
</section>
</BaseLayout>
+1 -1
View File
@@ -19,7 +19,7 @@ const archiveStats = [...posts.reduce((months, post) => {
---
<BaseLayout title="归档">
<section class="content-wrap narrow">
<section class="content-wrap">
<PageHeaderCard title="归档" subtitle={`共 ${posts.length} 篇文章`} />
<StatsChart title="归档发布趋势" subtitle="按月份统计文章发布数量" type="line" items={archiveStats} />
<ArchiveTimeline posts={pageData.items} />
+1 -1
View File
@@ -29,7 +29,7 @@ const archiveStats = [...posts.reduce((months, post) => {
---
<BaseLayout title={`归档 - 第 ${pageData.currentPage} 页`}>
<section class="content-wrap narrow">
<section class="content-wrap">
<PageHeaderCard title="归档" subtitle={`共 ${posts.length} 篇文章,第 ${pageData.currentPage} 页`} />
<StatsChart title="归档发布趋势" subtitle="按月份统计文章发布数量" type="line" items={archiveStats} />
<ArchiveTimeline posts={pageData.items} />
Loaded 3 of 7 files, more files were not shown because too many files have changed in this diff. Show more