Files
Frontend/src/app/layout.tsx

27 lines
638 B
TypeScript
Raw Normal View History

2024-04-14 18:46:37 +01:00
import Container from "@/components/container";
import ThemeProvider from "@/components/theme-provider";
2024-04-14 17:45:04 +01:00
import { Inter } from "next/font/google";
2024-04-14 18:46:37 +01:00
import "./globals.css";
2024-04-14 17:45:04 +01:00
const inter = Inter({ subsets: ["latin"] });
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
2024-04-14 18:46:37 +01:00
<>
<html className={inter.className} lang="en" suppressHydrationWarning>
<head />
<body>
<ThemeProvider attribute="class" defaultTheme="dark" enableSystem>
<Container>{children}</Container>
</ThemeProvider>
</body>
</html>
</>
2024-04-14 17:45:04 +01:00
);
}