Created
June 26, 2023 16:33
-
-
Save popeating/4005f01c71e9ed1c603267cfa55281c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Roboto_Condensed, Inter, Ubuntu_Mono } from 'next/font/google'; | |
const roboto_c = Roboto_Condensed({ | |
subsets: ['latin'], | |
weight: ['400', '700'], | |
variable: '--font-roboto_c', | |
}); | |
const ubuntu_m = Ubuntu_Mono({ | |
subsets: ['latin'], | |
weight: ['400'], | |
variable: '--font-ubuntu_m', | |
}); | |
const inter = Inter({ | |
subsets: ['latin'], | |
weight: ['300', '400', '700'], | |
variable: '--font-inter', | |
}); | |
export default function RootLayout({ children }) { | |
return ( | |
<html lang="en" className={`${inter.variable} ${roboto_m.variable} ${ubuntu_c.variable}`}> | |
<body>{children}</body> | |
</html> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment