From 5420e59ff96205f5905a0c16e79c2b1ef51f624a Mon Sep 17 00:00:00 2001 From: despiegk Date: Thu, 24 Jul 2025 11:49:38 +0200 Subject: [PATCH] ... --- src/components/FinalStepForm.jsx | 105 +++++ src/components/InterestSpecificStep.jsx | 212 ++++++++++ src/components/RegisterPage.jsx | 501 +++++------------------- src/components/Step1Form.jsx | 157 ++++++++ 4 files changed, 579 insertions(+), 396 deletions(-) create mode 100644 src/components/FinalStepForm.jsx create mode 100644 src/components/InterestSpecificStep.jsx create mode 100644 src/components/Step1Form.jsx diff --git a/src/components/FinalStepForm.jsx b/src/components/FinalStepForm.jsx new file mode 100644 index 0000000..65c4398 --- /dev/null +++ b/src/components/FinalStepForm.jsx @@ -0,0 +1,105 @@ +import React from 'react' +import { Link } from 'react-router-dom' +import { Button } from './ui/button' +import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './ui/card' +import { Input } from './ui/input' +import { Label } from './ui/label' +import { Textarea } from './ui/textarea' +import { Checkbox } from './ui/checkbox' +import { CheckCircle, AlertCircle, ArrowRight, BookOpen } from 'lucide-react' + +function FinalStepForm({ formData, handleInputChange, handleSubmit, isSubmitting, submitStatus, formError }) { + return ( +
+
+ + + Additional Information & Terms + + Almost there! Provide any additional details and agree to our terms. + + + +
+ {submitStatus === 'success' && ( +
+ + Thank you! Your interest has been registered successfully. We'll be in touch soon. +
+ )} + + {submitStatus === 'error' && ( +
+ + {formError || 'There was an error registering your interest. Please ensure all required fields are filled and terms are agreed.'} +
+ )} + +
+

+ + Additional Information (Optional) +

+ +
+ +