verpfuschter stand von codex

This commit is contained in:
Codex Agent
2025-10-04 16:38:42 +02:00
parent c87cfb2c10
commit bc6a75961a
23 changed files with 2588 additions and 92 deletions

View File

@@ -2,7 +2,7 @@ import React, { useEffect, useState } from 'react';
import { useForm } from '@inertiajs/react';
import { useTranslation } from 'react-i18next';
import { LoaderCircle, User, Mail, Phone, Lock, Home, MapPin } from 'lucide-react';
import { Dialog, DialogContent } from '@/components/ui/dialog';
import { Dialog, DialogContent, DialogTitle, DialogDescription } from '@/components/ui/dialog';
interface RegisterProps {
package?: {
@@ -11,7 +11,7 @@ interface RegisterProps {
description: string;
price: number;
} | null;
privacyHtml: string;
privacyHtml?: string;
}
import MarketingLayout from '@/layouts/marketing/MarketingLayout';
@@ -356,8 +356,14 @@ export default function Register({ package: initialPackage, privacyHtml }: Regis
<Dialog open={privacyOpen} onOpenChange={setPrivacyOpen}>
<DialogContent className="max-w-4xl max-h-[80vh] overflow-y-auto p-0">
<DialogTitle className="sr-only">Datenschutzerklärung</DialogTitle>
<DialogDescription className="sr-only">Lesen Sie unsere Datenschutzerklärung.</DialogDescription>
<div className="p-6">
<div dangerouslySetInnerHTML={{ __html: privacyHtml }} />
{privacyHtml ? (
<div dangerouslySetInnerHTML={{ __html: privacyHtml }} />
) : (
<p>Datenschutzerklärung wird geladen...</p>
)}
</div>
</DialogContent>
</Dialog>