This commit is contained in:
Vaica committed 2026-06-22 14:59:24 +08:00
1 parent 4ab47a3e47
commit ba016efbe8
21 files changed
+921 -72

No files matched your search

+2 -5
View File
@@ -1,6 +1,6 @@
import type { Metadata } from "next";
import "./globals.css";
import Sidebar from "@/components/Sidebar";
import AppShell from "@/components/AppShell";
export const metadata: Metadata = {
title: "写作后台",
@@ -26,10 +26,7 @@ export default function RootLayout({
<script dangerouslySetInnerHTML={{ __html: themeScript }} />
</head>
<body className="h-full md:flex bg-bg text-text">
<Sidebar />
<main className="flex-1 overflow-auto pt-12 md:pt-0 h-full">
{children}
</main>
<AppShell>{children}</AppShell>
</body>
</html>
);