owltide/app/layout.tsx

33 lines
638 B
TypeScript
Raw Normal View History

2025-02-26 11:53:10 +01:00
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
const geistSans = Geist({
2025-02-26 12:05:12 +01:00
variable: "--font-geist-sans",
subsets: ["latin"],
2025-02-26 11:53:10 +01:00
});
const geistMono = Geist_Mono({
2025-02-26 12:05:12 +01:00
variable: "--font-geist-mono",
subsets: ["latin"],
2025-02-26 11:53:10 +01:00
});
export const metadata: Metadata = {
2025-02-26 12:05:12 +01:00
title: "Create Next App",
description: "Generated by create next app",
2025-02-26 11:53:10 +01:00
};
export default function RootLayout({
2025-02-26 12:05:12 +01:00
children,
2025-02-26 11:53:10 +01:00
}: Readonly<{
2025-02-26 12:05:12 +01:00
children: React.ReactNode;
2025-02-26 11:53:10 +01:00
}>) {
2025-02-26 12:05:12 +01:00
return (
<html lang="en">
<body className={`${geistSans.variable} ${geistMono.variable}`}>
{children}
</body>
</html>
);
2025-02-26 11:53:10 +01:00
}