fear: 优化站点配置

1. Nav 增加状态
2. 新增一个图标库
3. 优化文档描述
This commit is contained in:
Ad-closeNN
2025-08-09 14:35:49 +08:00
parent 7a423b467a
commit b31aea8e6e
6 changed files with 39 additions and 3 deletions
+7 -1
View File
@@ -19,8 +19,14 @@ const postsCollection = defineCollection({
nextSlug: z.string().default(""),
}),
});
/* https://github.com/afoim/fuwari/commit/8b651d5d4e666c520d8fc95e89bf9d0ecf307644#diff-544dcd1cb4d05890db2dcf497052df475216a57683c346216e43133407b7ea58 */
const specCollection = defineCollection({
schema: z.object({}),
schema: z.object({
title: z.string().optional(),
published: z.date().optional(),
updated: z.date().optional(),
draft: z.boolean().optional().default(false),
}),
});
export const collections = {
posts: postsCollection,