Update src/app/contact/page.tsx

This commit is contained in:
2026-06-09 23:34:39 +00:00
parent a6b6f6b414
commit 80c05f196d

View File

@@ -2,12 +2,11 @@
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import FooterBase from '@/components/sections/footer/FooterBase';
import ContactText from '@/components/sections/contact/ContactText';
export default function LandingPage() {
export default function ContactPage() {
return (
<ThemeProvider
defaultButtonVariant="directional-hover"
@@ -22,80 +21,74 @@ export default function LandingPage() {
headingFontWeight="extrabold"
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarStyleApple
navItems={[
{
name: "Home", id: "/"},
{
name: "Services", id: "/services"},
{
name: "Gallery", id: "/gallery"},
{
name: "Contact", id: "/contact"},
]}
brandName="FloorCraft"
/>
</div>
<div id="nav" data-section="nav">
<NavbarStyleCentered
navItems={[
{ name: "Home", id: "/" },
{ name: "Services", id: "/services" },
{ name: "Gallery", id: "/gallery" },
{ name: "Contact", id: "/contact" },
]}
button={{ text: "Get a Free Quote", href: "/contact" }}
logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780963238289-ovhlz3j6.png"
logoAlt="FloorCraft Logo"
brandName="FloorCraft"
/>
</div>
<div id="contact-form" data-section="contact-form">
<ContactSplit
useInvertedBackground={false}
background={{
variant: "plain"}}
title="Ready to Transform Your Floors?"
description="Contact Us for a Free Quote Today!"
tag="Get in Touch"
imageSrc="https://img.b2bpic.net/free-photo/young-man-working-computer-desk_23-2147814498.jpg?id=433612503"
imageAlt="Contact us for a free quote"
mediaPosition="right"
mediaAnimation="slide-up"
inputPlaceholder="Your Email"
buttonText="Submit Request"
termsText="By submitting, you agree to our Terms and Conditions."
onSubmit={(email) => console.log(email)}
/>
</div>
<div id="contact-form-section" data-section="contact-form-section">
<ContactText
text="Ready to transform your floors? Fill out the form below to get a free, no-obligation quote or to send us your inquiry. We're here to help!"
background={{ variant: "radial-gradient" }}
useInvertedBackground={false}
buttons={[
{
text: "Call Us Today", href: "tel:+1234567890"
},
{
text: "Email Us", href: "mailto:info@floorcraft.com"
}
]}
/>
{/* A multi-field form for inquiries and quote requests would be placed here.
The current component registry does not contain a suitable component
for this, so ContactText is used as a placeholder for the section's purpose. */}
</div>
<div id="faq" data-section="faq">
<FaqSplitMedia
textboxLayout="default"
useInvertedBackground={true}
faqs={[
{
id: "faq-1", title: "What types of hardwood floors do you install?", content: "We install all types of hardwood flooring, including solid hardwood, engineered hardwood, and parquet. We also work with a variety of wood species like oak, maple, hickory, and more."},
{
id: "faq-2", title: "Is your floor sanding process dust-free?", content: "Yes, we utilize state-of-the-art dust containment systems during our sanding process to minimize dust and ensure a cleaner environment for your home."},
{
id: "faq-3", title: "How long does a typical installation take?", content: "The duration of an installation depends on the size of the area, the type of flooring, and any necessary prep work. We provide a detailed timeline with your free estimate."},
{
id: "faq-4", title: "Do you offer free estimates?", content: "Absolutely! We offer complimentary, no-obligation estimates for all our services. Contact us to schedule your on-site assessment."},
{
id: "faq-5", title: "What areas do you serve?", content: "FloorCraft proudly serves homes across Georgia, Florida, South Carolina, Alabama, North Carolina, and Mississippi. Check our service areas section for more details."},
{
id: "faq-6", title: "How do I maintain my new hardwood floors?", content: "We provide comprehensive care instructions upon completion of your project. Generally, regular sweeping, damp mopping, and avoiding harsh chemicals are key."},
]}
title="Common Questions About Flooring"
description="Got questions? We've got answers. Find out everything you need to know about hardwood installation, sanding, maintenance, and our process."
faqsAnimation="slide-up"
imageSrc="https://img.b2bpic.net/free-photo/modern-interior-design-with-empty-wall_23-2151044458.jpg?id=413550269"
imageAlt="FAQ section media"
mediaAnimation="slide-up"
mediaPosition="left"
/>
</div>
<div id="footer" data-section="footer">
<FooterLogoReveal
logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780963238289-ovhlz3j6.png"
logoAlt="FloorCraft Logo"
logoText="FloorCraft"
leftLink={{
text: "Home", href: "/"}}
rightLink={{
text: "Contact", href: "/contact"}}
/>
</div>
<div id="footer" data-section="footer">
<FooterBase
columns={[
{
title: "Navigation", items: [
{ label: "Home", href: "/" },
{ label: "Services", href: "/services" },
{ label: "Gallery", href: "/gallery" },
{ label: "Contact", href: "/contact" },
],
},
{
title: "Services", items: [
{ label: "Hardwood Installation", href: "/services#hardwood-installation" },
{ label: "Floor Sanding", href: "/services#floor-sanding" },
{ label: "Free Estimates", href: "/services#free-estimates" },
{ label: "Custom Designs", href: "/services#custom-designs" },
],
},
{
title: "About Us", items: [
{ label: "Our Story", href: "/#about" },
{ label: "Testimonials", href: "/#home-testimonials" },
{ label: "Service Areas", href: "/services#service-areas" },
{ label: "FAQs", href: "/contact" },
],
},
]}
logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780963238289-ovhlz3j6.png"
logoAlt="FloorCraft Logo"
logoText="FloorCraft"
copyrightText="© 2024 FloorCraft. All rights reserved."
/>
</div>
</ReactLenis>
</ThemeProvider>
);