diff --git a/src/app/page.tsx b/src/app/page.tsx index 76f02c2..5db0772 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -8,9 +8,53 @@ import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne'; import ContactCTA from '@/components/sections/contact/ContactCTA'; import FooterSimple from '@/components/sections/footer/FooterSimple'; +import FaqBase from '@/components/sections/faq/FaqBase'; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import { useState } from 'react'; +import { Star } from 'lucide-react'; +import Input from '@/components/form/Input'; export default function LandingPage() { + const [contactFormData, setContactFormData] = useState({ + name: '', + email: '', + phone: '', + message: '' + }); + + const [reviewFormData, setReviewFormData] = useState({ + name: '', + email: '', + rating: 5, + review: '' + }); + + const handleContactFormChange = (field, value) => { + setContactFormData(prev => ({ + ...prev, + [field]: value + })); + }; + + const handleReviewFormChange = (field, value) => { + setReviewFormData(prev => ({ + ...prev, + [field]: value + })); + }; + + const handleContactSubmit = () => { + console.log('Contact form submitted:', contactFormData); + alert('Thank you for your inquiry! We will contact you soon.'); + setContactFormData({ name: '', email: '', phone: '', message: '' }); + }; + + const handleReviewSubmit = () => { + console.log('Review submitted:', reviewFormData); + alert('Thank you for your review! We appreciate your feedback.'); + setReviewFormData({ name: '', email: '', rating: 5, review: '' }); + }; + return ( +
+
+
+

Get Your Free Quote

+

Fill out the form below and we'll contact you within 24 hours

+
+
+ + handleContactFormChange('name', value)} + placeholder="Your name" + required + /> +
+
+ + handleContactFormChange('email', value)} + type="email" + placeholder="your@email.com" + required + /> +
+
+ + handleContactFormChange('phone', value)} + type="tel" + placeholder="(555) 123-4567" + /> +
+
+ +