From 8cedce609ade4518cbf4b820fc7ac065b43e56d8 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 4 Mar 2026 03:20:59 +0000 Subject: [PATCH] Switch to version 1: modified src/app/page.tsx --- src/app/page.tsx | 322 +++++++++++++++++++++++------------------------ 1 file changed, 160 insertions(+), 162 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 9f23c5c..49989b7 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -2,49 +2,16 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline'; -import ContactCTA from '@/components/sections/contact/ContactCTA'; +import HeroSplitTestimonial from '@/components/sections/hero/HeroSplitTestimonial'; +import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard'; +import SocialProofOne from '@/components/sections/socialProof/SocialProofOne'; +import FeatureHoverPattern from '@/components/sections/feature/featureHoverPattern/FeatureHoverPattern'; +import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix'; +import ContactSplit from '@/components/sections/contact/ContactSplit'; import FooterSimple from '@/components/sections/footer/FooterSimple'; -import { Mail, Rocket, CheckCircle } from 'lucide-react'; -import { useState } from 'react'; +import { Award, Briefcase, CheckCircle, Lightbulb, Rocket, Target, TrendingUp, Zap } from 'lucide-react'; export default function LandingPage() { - const [formData, setFormData] = useState({ - name: '', - email: '', - businessName: '', - phone: '', - businessType: '', - }); - const [submitted, setSubmitted] = useState(false); - - const handleChange = (e: React.ChangeEvent) => { - const { name, value } = e.target; - setFormData(prev => ({ - ...prev, - [name]: value - })); - }; - - const handleSubmit = async (e: React.FormEvent) => { - e.preventDefault(); - - try { - const response = await fetch('/api/demo-request', { - method: 'POST', - headers: { 'Content-Type': 'application/json' }, - body: JSON.stringify(formData), - }); - - if (response.ok) { - setSubmitted(true); - setFormData({ name: '', email: '', businessName: '', phone: '', businessType: '' }); - setTimeout(() => setSubmitted(false), 5000); - } - } catch (error) { - console.error('Form submission error:', error); - } - }; - return ( -
-
-
-

Request Your Free Demo Website

-

- Fill out the form below and we'll build a sample website for your business within 48 hours. -

-
+
+ +
-
- {submitted ? ( -
- -

Thanks for reaching out!

-

- We'll review your information and send you a link to your free demo website within 48 hours. -

-
- ) : ( -
-
- - -
+
+ +
-
- - -
+
+ +
-
- - -
+
+ +
-
- - -
+
+ +
-
- - -
- - - -

- We'll build a sample website for your business within 48 hours and send you a link to review. No spam, no pressure to buy. -

-
- )} -
-
+
+