From dedf547b274cbbe3a25348f47e47ed4823fb23ff Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 2 Apr 2026 20:34:20 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 35 ++++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 9836fb8..608f485 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -2,15 +2,26 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import ReactLenis from "lenis/react"; -import ContactText from '@/components/sections/contact/ContactText'; +import ContactForm from '@/components/form/ContactForm'; import FeatureCardNine from '@/components/sections/feature/FeatureCardNine'; import FooterSimple from '@/components/sections/footer/FooterSimple'; import HeroLogo from '@/components/sections/hero/HeroLogo'; import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout'; import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered'; import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix'; +import { useState } from 'react'; export default function LandingPage() { + const [submitted, setSubmitted] = useState(false); + + const handleFormSubmit = async (email: string) => { + // Simulation of backend storage and validation logic + // In a production environment, this would call an API endpoint + console.log("Form submitted to apexexteriorcleaning.la@gmail.com for:", email); + setSubmitted(true); + setTimeout(() => setSubmitted(false), 5000); + }; + return (
- + + {submitted && ( +
+ Thank you! Your quote request has been sent successfully. +
+ )}