import { useState } from 'react'; import { Button } from '../ui/button'; import { Input } from '../ui/input'; import { Label } from '../ui/label'; import { Textarea } from '../ui/textarea'; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '../ui/select'; import { RadioGroup, RadioGroupItem } from '../ui/radio-group'; import { Checkbox } from '../ui/checkbox'; import { CheckCircle, Users, Star, Shield, LogIn, Award, TrendingUp, Handshake } from 'lucide-react'; import { toast } from 'sonner'; // import backgroundImage from 'figma:asset/ee01d864b6e23a8197b42f3168c98eedec9d2440.png'; interface ApplicationFormPageProps { onAdminLogin: () => void; } export function ApplicationFormPage({ onAdminLogin }: ApplicationFormPageProps) { const [formData, setFormData] = useState({ country: '', state: '', district: '', name: '', interestedCity: '', email: '', pincode: '', mobile: '', ownRoyalEnfield: '', royalEnfieldModel: '', age: '', education: '', companyName: '', source: '', existingDealer: '', description: '', address: '', acceptTerms: false }); const handleSubmit = (e: React.FormEvent) => { e.preventDefault(); // Validate required fields if (!formData.country || !formData.state || !formData.district || !formData.name || !formData.interestedCity || !formData.email || !formData.pincode || !formData.mobile || !formData.ownRoyalEnfield || !formData.age || !formData.education || !formData.companyName || !formData.source || !formData.existingDealer || !formData.description || !formData.address) { toast.error('Please fill in all required fields'); return; } // Validate Royal Enfield model if they own one if (formData.ownRoyalEnfield === 'yes' && !formData.royalEnfieldModel) { toast.error('Please select your Royal Enfield model'); return; } // Validate terms acceptance if (!formData.acceptTerms) { toast.error('Please accept the terms and conditions to continue'); return; } // Success message toast.success('Application submitted successfully! We will contact you soon.'); // Reset form setFormData({ country: '', state: '', district: '', name: '', interestedCity: '', email: '', pincode: '', mobile: '', ownRoyalEnfield: '', royalEnfieldModel: '', age: '', education: '', companyName: '', source: '', existingDealer: '', description: '', address: '', acceptTerms: false }); }; return (
Dealer Partnership Portal
Since 1901 • Legacy of Excellence
Become part of our legendary heritage and bring the spirit of Pure Motorcycling to riders in your community
Unmatched benefits for ambitious entrepreneurs
Represent a legendary brand trusted by millions worldwide since 1901
Comprehensive training, marketing, and ongoing operational support
Tap into expanding markets with increasing customer demand
Join thousands of successful dealers in our global network
Start Your Journey
Complete the form below to begin your partnership with Royal Enfield