Files
Projekt-Vorlage/frontend-starter/app/layout.tsx
T
AdminandClaude Opus 5.5 ba6b0b08fe chore: Vorlage an Projekt-Referenz und @ep/ui anbinden
- Plugin prodi über Marketplace ep-plugins einbinden; Hook schutz-main.sh entfernt
- @ep/ui als Paket aus Gitea-Registry (.npmrc, Dockerfile mit GITEA_NPM_TOKEN)
- Eigene Schriften, EpKopf/EpFuss und Styles durch @ep/ui ersetzt
- CLAUDE.md verschlankt, Steckbrief unter docs/, n8n-Ordner angelegt
- .gitattributes für LF-Zeilenenden

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 16:35:29 +00:00

36 lines
1.1 KiB
TypeScript

import type { Metadata, Viewport } from "next";
import { EpFuss, EpKopf } from "@ep/ui";
import "./globals.css";
import { APP_BESCHREIBUNG, APP_TITEL } from "@/lib/app";
export const metadata: Metadata = {
title: `${APP_TITEL} · E&P Reisen`,
description: APP_BESCHREIBUNG,
robots: { index: false, follow: false },
icons: { icon: "/favicon.svg" },
};
export const viewport: Viewport = {
themeColor: "#ffffff",
colorScheme: "light",
};
// E&P-Layout für jede Seite: Kopf mit Logo, Inhalt, Fuß. Seiten liefern nur ihren Inhalt, kein eigenes <main>.
// Kopf, Fuß und die Hausschrift Lato kommen aus @ep/ui.
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="de" className="font-sans">
<body className="flex min-h-screen flex-col bg-ground text-ink">
<a href="#inhalt" className="skip-link">
Zum Inhalt springen
</a>
<EpKopf titel={APP_TITEL} />
<main id="inhalt" className="mx-auto w-full max-w-3xl flex-1 px-4 py-8 sm:px-6 sm:py-12">
{children}
</main>
<EpFuss />
</body>
</html>
);
}