import type { Metadata } from 'next' import { Cormorant_Garamond, Lora } from 'next/font/google' import GlobalMusicPlayer from '@/components/GlobalMusicPlayer' import './globals.css' const cormorant = Cormorant_Garamond({ subsets: ['latin'], weight: ['300', '400', '500', '600', '700'], style: ['normal', 'italic'], variable: '--font-cormorant', display: 'swap', }) const lora = Lora({ subsets: ['latin'], weight: ['400', '500', '600', '700'], style: ['normal', 'italic'], variable: '--font-lora', display: 'swap', }) export const dynamic = 'force-dynamic' export const metadata: Metadata = { metadataBase: new URL(process.env.NEXT_PUBLIC_URL || 'http://localhost:3000'), title: 'In Erinnerung an Maria Malejka', description: 'Eine liebevolle Gedenkseite für Maria Malejka · 29. November 1944 – 10. Februar 2026', openGraph: { title: 'In Erinnerung an Maria Malejka', description: '29. November 1944 – 10. Februar 2026', type: 'website', images: [ { url: '/og-image.jpg', width: 1200, height: 630, alt: 'In Erinnerung an Maria Malejka', }, ], }, twitter: { card: 'summary_large_image', title: 'In Erinnerung an Maria Malejka', description: '29. November 1944 – 10. Februar 2026', images: ['/og-image.jpg'], }, } export default function RootLayout({ children, }: { children: React.ReactNode }) { return (
{children}