Files
files/nextjs/app/layout.js
2026-03-27 19:50:53 +01:00

29 lines
638 B
JavaScript

import { Manrope, Space_Grotesk } from 'next/font/google';
import './globals.css';
const bodyFont = Manrope({
subsets: ['latin'],
variable: '--font-body',
weight: ['400', '500', '600', '700'],
});
const headingFont = Space_Grotesk({
subsets: ['latin'],
variable: '--font-heading',
weight: ['500', '700'],
});
export const metadata = {
title: 'Dateiverwaltung',
description: 'Dateiuploads und Admin-Verwaltung mit Next.js',
};
export default function RootLayout({ children }) {
return (
<html lang="de" className={`${bodyFont.variable} ${headingFont.variable}`}>
<body>{children}</body>
</html>
);
}