import React, { useMemo, useState } from 'react'; import { Link } from '@inertiajs/react'; import { usePage } from '@inertiajs/react'; import { useLocalizedRoutes } from '@/hooks/useLocalizedRoutes'; const MarketingHeader: React.FC = () => { const [isOpen, setIsOpen] = useState(false); usePage(); const { localizedPath } = useLocalizedRoutes(); const occasions = useMemo( () => [ { href: localizedPath('/anlaesse/hochzeit'), label: 'Hochzeiten' }, { href: localizedPath('/anlaesse/geburtstag'), label: 'Geburtstage' }, { href: localizedPath('/anlaesse/firmenevent'), label: 'Firmenevents' }, ], [localizedPath] ); return (
Die Fotospiel.App
); }; export default MarketingHeader;