forked from frontendfyi/youtube-builds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout.tsx
32 lines (30 loc) · 772 Bytes
/
layout.tsx
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
30
31
32
import { Header } from "../components/header";
import "../styles/globals.css";
import { Lora } from "@next/font/google";
import { Footer } from "../components/footer";
import { PageWrapper } from "../components/page-wrapper";
// We use Next's new font loader here, definitely check it out ;)
// @see: https://beta.nextjs.org/docs/optimizing/fonts
const lora = Lora({
weight: ["400", "500"],
variable: "--font-lora",
display: "swap",
});
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en" className={lora.variable}>
<head />
<body>
<Header />
{/* <PageWrapper> */}
{children}
{/* </PageWrapper> */}
<Footer />
</body>
</html>
);
}