oops, i broke the layout
All checks were successful
Deploy / deploy (ubuntu-latest, 2.44.0) (push) Successful in 1m0s

Took 3 minutes
This commit is contained in:
Braydon 2024-10-07 13:33:04 -04:00
parent 6fd1d7b8a9
commit 195f23f44b

View File

@ -43,29 +43,27 @@ const RootLayout = ({
children: ReactNode;
}>): ReactElement => (
<html lang="en">
<body className="scroll-smooth antialiased">
<ThemeProvider attribute="class" defaultTheme="dark" enableSystem>
<ThemeProvider attribute="class" defaultTheme="dark" enableSystem>
<body
className="scroll-smooth antialiased"
style={{
background: "var(--background-gradient)",
}}
>
<TooltipProvider delayDuration={100}>
<div
className="min-h-screen flex flex-col"
style={{
background: "var(--background-gradient)",
}}
>
<div className="px-3 sm:px-7 max-w-screen-2xl mx-auto flex flex-col transition-all">
<Navbar />
<div className="pt-[4.5rem] w-full h-full flex flex-grow gap-5">
<div className="relative hidden xs:flex">
<Sidebar />
</div>
{children}
<div className="px-3 sm:px-7 max-w-screen-2xl min-h-screen mx-auto flex flex-col transition-all">
<Navbar />
<div className="pt-[4.5rem] w-full h-full flex flex-grow gap-5">
<div className="relative hidden xs:flex">
<Sidebar />
</div>
{children}
</div>
<Footer />
</div>
<Footer />
</TooltipProvider>
</ThemeProvider>
</body>
</body>
</ThemeProvider>
</html>
);
export default RootLayout;