refactor(frontend): remove featured post component and simplify home page logic

移除了不再使用的FeaturePost组件,同时调整首页帖子展示逻辑:不再单独拆分今日精选帖,将所有非置顶帖子统一纳入普通列表展示,更新了置顶区的注释说明。
This commit is contained in:
2026-09-12 05:05:58 +08:00
parent 1bb565c687
commit 995e0b2c1f
3 changed files with 3 additions and 106 deletions

View File

@@ -12,7 +12,7 @@ function formatTime(dateStr: string) {
}
/**
* 管理员置顶区:独立于"今日精选"和普通列表。
* 管理员置顶区:独立于普通帖子列表。
* 陶土色语义(与 badge-pin 一致),紧凑排列,一眼识别为公告性质内容。
*/
export default function PinnedPosts({