33 lines
940 B
TypeScript
33 lines
940 B
TypeScript
import type { Metadata } from "next";
|
|
import { DM_Sans, Geist_Mono } from "next/font/google";
|
|
import "./globals.css";
|
|
import { cn } from "@/lib/utils";
|
|
import { Toaster } from "@/components/ui/sonner";
|
|
import { TooltipProvider } from "@/components/ui/tooltip";
|
|
|
|
const dmSans = DM_Sans({subsets:['latin'],variable:'--font-sans'});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "GCSim Translator",
|
|
description: "Build valid gcsim character configs without writing them by hand.",
|
|
};
|
|
|
|
export default function RootLayout({ children }: LayoutProps<"/">) {
|
|
return (
|
|
<html
|
|
lang="en"
|
|
className={cn("h-full", "antialiased", geistMono.variable, "font-sans", dmSans.variable)}
|
|
>
|
|
<body className="flex min-h-full flex-col">
|
|
<TooltipProvider>{children}</TooltipProvider>
|
|
<Toaster />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|