This commit is contained in:
parent
1bb56b127d
commit
b314531c7b
|
|
@ -97,7 +97,7 @@ export default async function RootLayout({
|
||||||
<Providers attribute="class" defaultTheme="system" enableSystem>
|
<Providers attribute="class" defaultTheme="system" enableSystem>
|
||||||
<div className="flex min-h-screen flex-col">
|
<div className="flex min-h-screen flex-col">
|
||||||
<main className="flex flex-1 flex-col bg-muted/0.3">
|
<main className="flex flex-1 flex-col bg-muted/0.3">
|
||||||
{showHeader && <Header />} {/* 条件渲染 Header */}
|
<Header />
|
||||||
{children}
|
{children}
|
||||||
{/* <Footer /> */}
|
{/* <Footer /> */}
|
||||||
</main>
|
</main>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue