Initial commit

This commit is contained in:
2024-09-14 23:38:24 -04:00
parent e48ab0aa6e
commit ce046c2062
25 changed files with 2263 additions and 83 deletions

View File

@@ -1,20 +1,31 @@
import "~/styles/globals.css";
import { ClerkProvider } from '@clerk/nextjs'
import { Inter } from "next/font/google"
import { ThemeProvider } from "next-themes"
import { GeistSans } from "geist/font/sans";
import { type Metadata } from "next";
import "~/styles/globals.css"
export const metadata: Metadata = {
title: "Create T3 App",
description: "Generated by create-t3-app",
export const inter = Inter({
subsets: ["latin"],
display: "swap",
variable: "--font-sans",
})
export const metadata = {
title: "T3 App",
description: "Created with create-t3-app",
icons: [{ rel: "icon", url: "/favicon.ico" }],
};
export default function RootLayout({
children,
}: Readonly<{ children: React.ReactNode }>) {
return (
<html lang="en" className={`${GeistSans.variable}`}>
<body>{children}</body>
</html>
);
}
export default function RootLayout({ children }: React.PropsWithChildren) {
return (
<ClerkProvider>
{/* <ThemeProvider attribute="class" defaultTheme="system" enableSystem> */}
<html lang="en" className={inter.variable}>
<body className="font-sans">
{children}
</body>
</html>
{/* </ThemeProvider> */}
</ClerkProvider>
)
}