-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.tsx
More file actions
29 lines (27 loc) · 873 Bytes
/
layout.tsx
File metadata and controls
29 lines (27 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import type {Metadata} from 'next';
import './globals.css';
import { Toaster } from '@/components/ui/toaster';
export const metadata: Metadata = {
title: 'CodeType',
description: 'Typing practice for coders',
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" className="dark">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="" />
<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk&display=swap" rel="stylesheet" />
</head>
<body className="font-body antialiased">
{children}
<Toaster />
</body>
</html>
);
}