Clean codebase- start from scratch

This commit is contained in:
2024-11-19 22:14:54 -05:00
parent 9d9aa52285
commit b4a05e0bcd
97 changed files with 6376 additions and 3624 deletions

View File

@@ -1,31 +1,26 @@
import { ClerkProvider } from '@clerk/nextjs'
import { Inter } from "next/font/google"
import { StudyProvider } from '~/context/StudyContext'
import { ThemeProvider } from '~/components/ThemeProvider'
import "~/styles/globals.css"
import {
ClerkProvider,
SignInButton,
SignedIn,
SignedOut,
UserButton
} from '@clerk/nextjs'
import './globals.css'
import { Button } from '~/components/ui/button';
import { Inter } from 'next/font/google';
const inter = Inter({
subsets: ["latin"],
display: "swap",
variable: "--font-sans",
})
const inter = Inter({ subsets: ['latin'] });
export const metadata = {
title: "HRIStudio",
description: "Created with create-t3-app",
icons: [{ rel: "icon", url: "/favicon.ico" }],
}
export default function RootLayout({ children }: React.PropsWithChildren) {
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<ClerkProvider>
<html lang="en" className={inter.variable}>
<body className="font-sans">
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
<StudyProvider>
{children}
</StudyProvider>
</ThemeProvider>
<html lang="en">
<body className={inter.className}>
{children}
</body>
</html>
</ClerkProvider>