29 lines
638 B
JavaScript
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>
|
|
);
|
|
}
|