修改页面风格

This commit is contained in:
2026-06-18 11:07:23 +08:00 Unverified
parent 7c3679e885
commit 9d6de3158e
15 changed files with 1293 additions and 5617 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
---
import BaseLayout from '@/layouts/BaseLayout.astro';
import PageHeaderCard from '@/components/PageHeaderCard.astro';
import { getAllPosts } from '@/lib/posts';
const posts = getAllPosts();
@@ -7,7 +8,7 @@ const posts = getAllPosts();
<BaseLayout title="归档">
<section class="content-wrap narrow">
<h1>归档</h1>
<PageHeaderCard title="归档" subtitle={`共 ${posts.length} 篇文章`} />
<div class="archive-list">
{posts.map((post) => (
<a href={post.href}>