File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 6969body {
7070 color : var (--foreground );
7171 background : var (--background );
72+ font-family : "DanaVariableFont" ;
7273}
7374
7475@layer base {
Original file line number Diff line number Diff line change 1+ import "../../public/fonts/dana/dana.css" ;
12import "./globals.css" ;
23import { ThemeProvider } from "@/components/contexts/theme-provider" ;
34import type { Metadata } from "next" ;
4- import localFont from "next/font/local" ;
55
66export const metadata : Metadata = {
77 title : "فرانت چپتر | محلی صمیمی برای گفت و گو" ,
88 description : "Generated by create next app" ,
99} ;
1010
11- const danaVF = localFont ( {
12- src : "../../public/fonts/dana/DanaVF.woff2" ,
13- fallback : [ "Tahoma" , "sans-serif" ] ,
14- } ) ;
15-
1611export default function RootLayout ( {
1712 children,
1813} : Readonly < {
@@ -23,7 +18,7 @@ export default function RootLayout({
2318 lang = "fa-IR"
2419 dir = "rtl"
2520 style = { { colorScheme : "dark" } }
26- className = { ` dark ${ danaVF . className } ` }
21+ className = " dark"
2722 >
2823 < body className = "bg-background antialiased" >
2924 < ThemeProvider > { children } </ ThemeProvider >
You can’t perform that action at this time.
0 commit comments