diff --git a/src/app/fonts/sofia-pro.woff2 b/src/app/fonts/sofia-pro.woff2 new file mode 100644 index 0000000..b99a161 Binary files /dev/null and b/src/app/fonts/sofia-pro.woff2 differ diff --git a/src/app/globals.css b/src/app/globals.css index d42ebeb..d703e7b 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -37,13 +37,14 @@ body { :root { --background: #ffffff; --foreground: #171717; - --font-primary: var(--font-sofia-pro), Arial, Helvetica, sans-serif; + --font-sofia-pro: "Sofia Pro", sans-serif; + /* --font-primary: var(--font-sofia-pro), Arial, Helvetica, sans-serif; */ } body { color: var(--foreground); background: var(--background); - font-family: var(--font-primary); + font-family: var(--font-sofia-pro); } @layer utilities { diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 326ac88..5435b08 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -3,21 +3,27 @@ import localFont from "next/font/local"; import "./globals.css"; import AuthProvider from "./context/AuthProvider"; -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 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 sofiaPro = localFont({ +// src: "./fonts/Sofia Pro Regular.woff", +// variable: "--font-sofia-pro", +// weight: "400", +// }); const sofiaPro = localFont({ - src: "./fonts/Sofia Pro Regular.woff", + src: "./fonts/sofia-pro.woff2", variable: "--font-sofia-pro", - weight: "100 900", + weight: "400", }); export const metadata: Metadata = { @@ -32,9 +38,7 @@ export default function RootLayout({ }>) { return ( - + {children}