Some checks are pending
Deploy to Cloudflare Workers (OpenNext) / deploy (push) Waiting to run
40 lines
1.0 KiB
TypeScript
40 lines
1.0 KiB
TypeScript
import { Syne, DM_Sans } from "next/font/google";
|
|
import { RiftPageFlow } from "@/components/brand/RiftPageFlow";
|
|
import { JsonLd } from "@/components/seo/JsonLd";
|
|
import { SiteHeader } from "@/components/layout/SiteHeader";
|
|
import { SiteFooter } from "@/components/layout/SiteFooter";
|
|
import { rootMetadata } from "@/lib/seo";
|
|
import "./globals.css";
|
|
|
|
export const metadata = rootMetadata;
|
|
|
|
const display = Syne({
|
|
subsets: ["latin"],
|
|
variable: "--font-display",
|
|
});
|
|
|
|
const body = DM_Sans({
|
|
subsets: ["latin"],
|
|
variable: "--font-body",
|
|
});
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" className={`${display.variable} ${body.variable}`}>
|
|
<body className="min-h-screen flex flex-col">
|
|
<JsonLd />
|
|
<SiteHeader />
|
|
<main className="relative flex-1">
|
|
<RiftPageFlow />
|
|
<div className="relative z-10">{children}</div>
|
|
</main>
|
|
<SiteFooter />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|