diff --git a/app/layout.tsx b/app/layout.tsx index b83ed53..3ee78fe 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,10 +1,10 @@ -import React, { ReactNode } from 'react'; +import React, { CSSProperties, ReactNode } from 'react'; import type { Metadata, Viewport } from 'next'; +import { Poppins } from 'next/font/google'; import { cookies } from 'next/headers'; import Header from '@/components/Header'; import Providers from '@/providers'; -import { font } from '@/styles/font'; import '@/styles/index.css'; @@ -22,6 +22,8 @@ export const viewport: Viewport = { userScalable: false }; +const font = Poppins({ subsets: ['latin'], weight: '400' }); + const RootLayout = ({ children }: { children: ReactNode }) => { const theme = cookies().get('theme')?.value as Theme; @@ -30,7 +32,7 @@ const RootLayout = ({ children }: { children: ReactNode }) => {
- +