aboutsummaryrefslogtreecommitdiff
path: root/communities/red-right-hand/174bg.net/src/app/layout.js
blob: 4535f5e2e93866d123a6bc932ed0b11e95078e74 (plain)
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
33
34
35
36
37
38
39
40
41
42
43
import { ClerkProvider } from "@clerk/nextjs";
import { Inter, Fira_Code } from "next/font/google";
import { Suspense } from "react";
import "./globals.css";
import TerminalOverlay from "@/components/TerminalOverlay";
import AuthHeader from "@/components/AuthHeader";

const inter = Inter({
  variable: "--font-inter",
  subsets: ["latin"],
});

const firaCode = Fira_Code({
  variable: "--font-fira-code",
  subsets: ["latin"],
});

export const metadata = {
  title: "174th Battle Group",
  description: "Vengeance Within Reach",
  icons: {
    icon: "/favicon.png",
  },
};

export default function RootLayout({ children }) {
  return (
    <html
      lang="en"
      className={`${inter.variable} ${firaCode.variable} h-full antialiased`}
    >
      <body className="min-h-full flex flex-col">
        <ClerkProvider>
          <Suspense>
            <AuthHeader />
          </Suspense>
          <TerminalOverlay />
          {children}
        </ClerkProvider>
      </body>
    </html>
  );
}