feat: expand platform management, admin controls, and learning workflows

这个提交包含在:
Codex CLI
2026-02-15 15:41:56 +08:00
父节点 ad29a9f62d
当前提交 f209ae82da
修改 75 个文件,包含 9663 行新增794 行删除

查看文件

@@ -1,13 +1,17 @@
import type { Metadata } from "next";
import { AppNav } from "@/components/app-nav";
import { MobileTabBar } from "@/components/mobile-tab-bar";
import { UiPreferenceProvider } from "@/components/ui-preference-provider";
import "katex/dist/katex.min.css";
import "highlight.js/styles/github-dark.css";
import "swagger-ui-react/swagger-ui.css";
import "@/themes/default/theme.css";
import "@/themes/minecraft/theme.css";
import "./globals.css";
export const metadata: Metadata = {
title: "CSP 在线学习与竞赛平台",
description: "题库、错题本、模拟竞赛、知识库与在线 C++ 运行",
title: "CSP Online Learning & Contest Platform",
description: "Problems, wrong-book review, contests, knowledge base, and C++ runner.",
};
export default function RootLayout({
@@ -16,10 +20,13 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<html lang="zh-CN">
<html lang="en" suppressHydrationWarning>
<body className="antialiased">
<AppNav />
{children}
<UiPreferenceProvider>
<AppNav />
<div className="pb-[calc(3.8rem+env(safe-area-inset-bottom))] md:pb-0">{children}</div>
<MobileTabBar />
</UiPreferenceProvider>
</body>
</html>
);