expressjs -> nextjs

This commit is contained in:
Ludwig Lehnert
2026-03-27 19:50:53 +01:00
parent bcaec8636d
commit 8b937eee72
34 changed files with 3769 additions and 3078 deletions

28
nextjs/app/layout.js Normal file
View File

@@ -0,0 +1,28 @@
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>
);
}