diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-06-22 13:07:02 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-06-22 13:07:02 +0200 |
| commit | be970248686c0af7d8506cba8c64bf507419da3d (patch) | |
| tree | 3fd8a716b7adae452f1be6dcdd946533da47ad8a /apps/web/src/app/layout.tsx | |
| parent | f2d27e578e6214598d36779f44fb1612764c7b3b (diff) | |
| download | opencut-be970248686c0af7d8506cba8c64bf507419da3d.tar.gz | |
so much stuff???
Diffstat (limited to 'apps/web/src/app/layout.tsx')
| -rw-r--r-- | apps/web/src/app/layout.tsx | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx index d7dd18a5..6696e884 100644 --- a/apps/web/src/app/layout.tsx +++ b/apps/web/src/app/layout.tsx @@ -1,20 +1,15 @@ import type { Metadata } from "next"; -import localFont from "next/font/local"; +import { Inter } from "next/font/google"; import { ThemeProvider } from "next-themes"; import { Analytics } from "@vercel/analytics/react"; import "./globals.css"; import { Toaster } from "../components/ui/sonner"; import { TooltipProvider } from "../components/ui/tooltip"; +import { AppProvider } from "@/components/app-provider"; -const geistSans = localFont({ - src: "./fonts/GeistVF.woff", - variable: "--font-geist-sans", - weight: "100 900", -}); -const geistMono = localFont({ - src: "./fonts/GeistMonoVF.woff", - variable: "--font-geist-mono", - weight: "100 900", +const inter = Inter({ + subsets: ["latin"], + variable: "--font-inter", }); export const metadata: Metadata = { @@ -29,15 +24,15 @@ export default function RootLayout({ }>) { return ( <html lang="en" suppressHydrationWarning> - <body - className={`${geistSans.variable} ${geistMono.variable} antialiased`} - > + <body className={`${inter.variable} font-sans antialiased`}> <ThemeProvider attribute="class" forcedTheme="dark" enableSystem> - <TooltipProvider> - {children} - <Analytics /> - <Toaster /> - </TooltipProvider> + <AppProvider> + <TooltipProvider> + {children} + <Analytics /> + <Toaster /> + </TooltipProvider> + </AppProvider> </ThemeProvider> </body> </html> |
