|
|
|
|
@@ -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 (
|
|
|
|
|
<ThemeProvider
|
|
|
|
|
defaultButtonVariant="expand-hover"
|
|
|
|
|
@@ -107,15 +118,18 @@ export default function LandingPage() {
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="contact" data-section="contact">
|
|
|
|
|
<ContactText
|
|
|
|
|
useInvertedBackground={false}
|
|
|
|
|
background={{ variant: "canvas-reveal" }}
|
|
|
|
|
text="Ready to get started? Contact us at 818-470-4486 or apexexteriorcleaning.la@gmail.com today!"
|
|
|
|
|
buttons={[
|
|
|
|
|
{ text: "Call Now", href: "tel:8184704486" },
|
|
|
|
|
{ text: "Email Us", href: "mailto:apexexteriorcleaning.la@gmail.com" },
|
|
|
|
|
]}
|
|
|
|
|
/>
|
|
|
|
|
<ContactForm
|
|
|
|
|
title="Request a Free Quote"
|
|
|
|
|
description="Fill out your email below and we'll reach out to schedule your service."
|
|
|
|
|
tag="Get In Touch"
|
|
|
|
|
useInvertedBackground={false}
|
|
|
|
|
onSubmit={handleFormSubmit}
|
|
|
|
|
/>
|
|
|
|
|
{submitted && (
|
|
|
|
|
<div className="text-center py-4 text-green-600 font-semibold">
|
|
|
|
|
Thank you! Your quote request has been sent successfully.
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="footer" data-section="footer">
|
|
|
|
|
@@ -138,4 +152,4 @@ export default function LandingPage() {
|
|
|
|
|
</ReactLenis>
|
|
|
|
|
</ThemeProvider>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|