42 lines
905 B
TypeScript
42 lines
905 B
TypeScript
import type { Metadata } from "next";
|
|
import { IBM_Plex_Mono, Roboto } from "next/font/google";
|
|
|
|
import "./globals.css";
|
|
|
|
const roboto = Roboto({
|
|
variable: "--font-roboto",
|
|
weight: ["400", "500", "700"],
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const ibmPlexMono = IBM_Plex_Mono({
|
|
variable: "--font-ibm-plex-mono",
|
|
weight: ["400", "500", "600"],
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "MeTube",
|
|
description: "Self-hosted video channel platform",
|
|
icons: {
|
|
icon: "/metube.png",
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html
|
|
lang="en"
|
|
className={`${roboto.variable} ${ibmPlexMono.variable} h-full antialiased`}
|
|
>
|
|
<body className="min-h-full flex flex-col bg-[color:var(--background)] text-[color:var(--foreground)]">
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|