mirror of
https://github.com/Lumither/nocturne.git
synced 2026-10-17 10:26:21 +00:00
feat(navbar) new style, better performance
This commit is contained in:
7 files changed
+90
-73
No files matched your search
+7
-3
@@ -17,10 +17,14 @@ export default function RootLayout({
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<body className={`dark:bg-[#282830]`}>
|
||||
<body className={ `dark:bg-[#282830] min-h-screen` }>
|
||||
<NextThemesProvider attribute="class" defaultTheme="dark">
|
||||
<Navbar />
|
||||
{ children }
|
||||
<div className={ `justify-center flex flex-row w-full` }>
|
||||
<Navbar />
|
||||
<div className={ `flex-auto max-w-[1024px]` }>
|
||||
{ children }
|
||||
</div>
|
||||
</div>
|
||||
</NextThemesProvider>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in new issue
Block a user