magricambi/src/app/layout.tsx

34 lines
789 B
TypeScript
Raw Normal View History

2026-05-25 09:48:11 +02:00
import type { Metadata } from "next";
import { Inter, JetBrains_Mono } from "next/font/google";
import "./globals.css";
/** Stesse variabili CSS di globals.css; Geist non è disponibile in next/font su Next 14. */
const geistSans = Inter({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = JetBrains_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
};
2026-05-27 16:10:53 +02:00
export default async function RootLayout({
2026-05-25 09:48:11 +02:00
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}>
2026-05-28 19:00:31 +02:00
{children}
2026-05-25 09:48:11 +02:00
</body>
</html>
);
}