Initial Project Boilerplate
This commit is contained in:
37
src/app/layout.tsx
Normal file
37
src/app/layout.tsx
Normal file
@@ -0,0 +1,37 @@
|
||||
import "~/styles/globals.css";
|
||||
|
||||
import { type Metadata } from "next";
|
||||
import { Bakbak_One, Teko } from "next/font/google";
|
||||
|
||||
import { TRPCReactProvider } from "~/trpc/react";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Folder Game Challenge",
|
||||
description:
|
||||
"An interactive game challenge focused on file management and navigating software.",
|
||||
icons: [{ rel: "icon", url: "/favicon.ico" }],
|
||||
};
|
||||
|
||||
const teko = Teko({
|
||||
weight: "700",
|
||||
subsets: ["latin"],
|
||||
variable: "--font-teko",
|
||||
});
|
||||
|
||||
const bakbakOne = Bakbak_One({
|
||||
weight: "400",
|
||||
subsets: ["latin"],
|
||||
variable: "--font-bakbak-one",
|
||||
});
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{ children: React.ReactNode }>) {
|
||||
return (
|
||||
<html lang="en" className={`${teko.variable} ${bakbakOne.variable}`}>
|
||||
<body className="bg-zinc-950 text-zinc-100 antialiased">
|
||||
<TRPCReactProvider>{children}</TRPCReactProvider>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user