this repo has no description
hallaine.com
1import "./globals.css";
2import type { Metadata } from "next";
3import { Inter } from "next/font/google";
4import { ThemeProvider } from "@/components/theme-provider";
5
6const inter = Inter({ subsets: ["latin"], variable: "--font-sans" });
7
8export const metadata: Metadata = {
9 title: {
10 template: "%s | Alexandre Hallaine",
11 default: "Alexandre Hallaine",
12 },
13};
14
15export default function RootLayout({
16 children,
17}: Readonly<{
18 children: React.ReactNode;
19}>) {
20 return (
21 <html lang="en" suppressHydrationWarning className={inter.variable}>
22 <body className="max-w-3xl p-6 flex flex-col justify-center min-h-screen mx-auto">
23 <ThemeProvider
24 attribute="class"
25 defaultTheme="system"
26 enableSystem
27 disableTransitionOnChange
28 >
29 {children}
30 </ThemeProvider>
31 </body>
32 </html>
33 );
34}