Skip to content

Commit 0a4cb89

Browse files
don't remove Outfit font provider
1 parent 91e2465 commit 0a4cb89

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

frontend/src/app/layout.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
'use client';
22
import './globals.css';
33

4+
import { Outfit } from 'next/font/google';
45
import { SidebarProvider } from '@/context/SidebarContext';
56
import { ThemeProvider } from '@/context/ThemeContext';
67
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
78

89
const queryClient = new QueryClient();
910

11+
const outfit = Outfit({
12+
subsets: ["latin"],
13+
});
1014

1115
export default function RootLayout({
1216
children,
@@ -15,7 +19,7 @@ export default function RootLayout({
1519
}>) {
1620
return (
1721
<html lang="en">
18-
<body>
22+
<body className={`${outfit.className} dark:bg-gray-900`}>
1923
<QueryClientProvider client={queryClient}>
2024
<ThemeProvider>
2125
<SidebarProvider>{children}</SidebarProvider>

0 commit comments

Comments
 (0)