feat: expand platform management, admin controls, and learning workflows
这个提交包含在:
@@ -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>
|
||||
);
|
||||
|
||||
在新工单中引用
屏蔽一个用户