Update landing page

This commit is contained in:
Urtzi Alfaro
2025-10-18 16:03:23 +02:00
parent 312e36c893
commit 62971c07d7
21 changed files with 1760 additions and 884 deletions

View File

@@ -10,6 +10,8 @@ interface PaymentFormProps {
className?: string;
bypassPayment?: boolean;
onBypassToggle?: () => void;
userName?: string;
userEmail?: string;
}
const PaymentForm: React.FC<PaymentFormProps> = ({
@@ -17,7 +19,9 @@ const PaymentForm: React.FC<PaymentFormProps> = ({
onPaymentError,
className = '',
bypassPayment = false,
onBypassToggle
onBypassToggle,
userName = '',
userEmail = ''
}) => {
const { t } = useTranslation();
const stripe = useStripe();
@@ -26,8 +30,8 @@ const PaymentForm: React.FC<PaymentFormProps> = ({
const [error, setError] = useState<string | null>(null);
const [cardComplete, setCardComplete] = useState(false);
const [billingDetails, setBillingDetails] = useState({
name: '',
email: '',
name: userName,
email: userEmail,
address: {
line1: '',
city: '',