import React from 'react'; import { Link } from '@inertiajs/react'; import { usePage } from '@inertiajs/react'; interface MarketingLayoutProps { children: React.ReactNode; title?: string; } const MarketingLayout: React.FC = ({ children, title }) => { const { props } = usePage(); const { auth } = props as any; return (
{/* Header */}
{/* Logo */} FotoSpiel {/* Navigation */} {/* Mobile Menu Button – TODO: Implementiere Dropdown */}
{/* Main Content */}
{title && ( {title} )} {children}
{/* Footer */}
); }; export default MarketingLayout;