Seite läuft wieder, menü bringt keine fehler mehr

This commit is contained in:
Codex Agent
2025-10-07 11:52:03 +02:00
parent 5ee510b05d
commit dd5545605c
33 changed files with 1902 additions and 1361 deletions

View File

@@ -1,11 +1,12 @@
import React from 'react';
import { Head, Link } from '@inertiajs/react';
import { Head, Link, usePage } from '@inertiajs/react';
import MarketingLayout from '@/layouts/MarketingLayout';
import { usePage } from '@inertiajs/react';
import { useLocalizedRoutes } from '@/hooks/useLocalizedRoutes';
const Datenschutz: React.FC = () => {
const { props } = usePage();
const { __ } = props as any; // Für i18n
const { localizedPath } = useLocalizedRoutes();
return (
<MarketingLayout title={__('legal.datenschutz_title')}>
@@ -21,7 +22,7 @@ const Datenschutz: React.FC = () => {
</p>
<p className="mb-4 font-sans-marketing">{__('legal.data_retention')}</p>
<p className="mb-4 font-sans-marketing">
{__('legal.rights')} <Link href="/de/kontakt">{__('legal.contact')}</Link>.
{__('legal.rights')} <Link href={localizedPath('/kontakt')}>{__('legal.contact')}</Link>.
</p>
<p className="mb-4 font-sans-marketing">{__('legal.cookies')}</p>