diff --git a/app/[locale]/layout.tsx b/app/[locale]/layout.tsx index cb261de..f663993 100644 --- a/app/[locale]/layout.tsx +++ b/app/[locale]/layout.tsx @@ -10,16 +10,12 @@ import Footer from "@/components/layout/Footer"; import { Toaster } from "@/components/ui/sonner"; import { Providers } from "@/context/Provider"; import AuthWrapper from "@/context/AuthWrapper"; +import localFont from 'next/font/local' -const geistSans = Geist({ - variable: "--font-geist-sans", - subsets: ["latin"], -}); - -const geistMono = Geist_Mono({ - variable: "--font-geist-mono", - subsets: ["latin"], -}); +const geistSans = localFont({ + src: '../../public/fonts/GeistVF.woff2', + variable: '--font-geist-sans', +}) export const metadata: Metadata = { title: "SmartElectronics", @@ -52,7 +48,7 @@ export default async function RootLayout({ children, params }: Props) { return ( diff --git a/public/or3nQ6H-1_WfwkMZI_qYFrkdmhHkjkotbA.woff2 b/public/or3nQ6H-1_WfwkMZI_qYFrkdmhHkjkotbA.woff2 new file mode 100644 index 0000000..944424f Binary files /dev/null and b/public/or3nQ6H-1_WfwkMZI_qYFrkdmhHkjkotbA.woff2 differ