feat: 首页改版

This commit is contained in:
2026-07-20 22:14:20 +08:00
parent 95320835b6
commit a5f4d0a28d
16 changed files with 359 additions and 130 deletions

View File

@@ -1,4 +1,4 @@
export type Post = {
export type Post = {
title: string;
summary: string;
slug: string;
@@ -8,3 +8,9 @@ export type Post = {
view: number;
content: string;
}
export type CategoriesStats = {
id: number;
name: string;
post_count: number;
}