Chapter 3 - add fonts

This commit is contained in:
2023-12-27 13:04:51 +01:00
parent 982169d4b0
commit 961cd66754
3 changed files with 10 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
import '@/app/ui/global.css';
import { inter } from '@/app/ui/fonts';
export default function RootLayout({
children,
@@ -7,7 +8,7 @@ export default function RootLayout({
}) {
return (
<html lang="en">
<body>{children}</body>
<body className={`${inter.className} antialiased`}>{children}</body>
</html>
);
}