feat(admin): 完善站点设置、内容回收站与后台菜单分组

新增站点设置与内容管理(含已删除恢复/清除),用户页改用独有运营指标,并按概览/内容/成员与经济/站点重组侧栏。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-16 05:56:27 +08:00
parent be47b38370
commit dd7bd010b8
25 changed files with 2193 additions and 323 deletions

View File

@@ -7,13 +7,14 @@ function realVersion(v: string): string {
}
// 极简页脚:版权 + 实时性能指标(版本 / 页面加载 / 模板生成)
export default function Footer() {
export default function Footer({ siteName = "姜十三社区" }: { siteName?: string }) {
const year = new Date().getFullYear();
const brand = siteName.trim() || "姜十三社区";
return (
<footer className="mt-14" style={{ borderTop: "1px solid var(--line)" }}>
<div className="max-w-[1440px] mx-auto px-4 sm:px-6 py-4 flex items-center justify-between gap-4">
<span className="meta text-[12px] whitespace-nowrap">© {year} 姜十三社区</span>
<span className="meta text-[12px] whitespace-nowrap">© {year} {brand}</span>
<FooterTiming version={realVersion(pkg.version)} />
</div>
</footer>