start work on the frontend
Some checks failed
Deploy App / docker (ubuntu-latest) (push) Failing after 8s
Some checks failed
Deploy App / docker (ubuntu-latest) (push) Failing after 8s
This commit is contained in:
@ -1,5 +1,9 @@
|
||||
import Container from "@/components/container";
|
||||
import ThemeProvider from "@/components/theme-provider";
|
||||
import { Inter } from "next/font/google";
|
||||
|
||||
import "./globals.css";
|
||||
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export default function RootLayout({
|
||||
@ -8,8 +12,15 @@ export default function RootLayout({
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body className={inter.className}>{children}</body>
|
||||
</html>
|
||||
<>
|
||||
<html className={inter.className} lang="en" suppressHydrationWarning>
|
||||
<head />
|
||||
<body>
|
||||
<ThemeProvider attribute="class" defaultTheme="dark" enableSystem>
|
||||
<Container>{children}</Container>
|
||||
</ThemeProvider>
|
||||
</body>
|
||||
</html>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user