Files
40d93204-bbee-4b3f-a58b-47c…/src/app/page.tsx
2026-05-09 19:26:58 +00:00

182 lines
8.9 KiB
TypeScript

"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import AboutMetric from '@/components/sections/about/AboutMetric';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import FeatureCardTwentyEight from '@/components/sections/feature/FeatureCardTwentyEight';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import HeroLogo from '@/components/sections/hero/HeroLogo';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import { Award, Clock, MapPin, ShieldCheck, ThumbsUp, Users } from "lucide-react";
export default function LandingPage() {
return (
<ThemeProvider
defaultButtonVariant="icon-arrow"
defaultTextAnimation="entrance-slide"
borderRadius="rounded"
contentWidth="medium"
sizing="largeSmallSizeLargeTitles"
background="noiseDiagonalGradient"
cardStyle="layered-gradient"
primaryButtonStyle="diagonal-gradient"
secondaryButtonStyle="glass"
headingFontWeight="light"
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarStyleCentered
navItems={[
{ name: "Overview", id: "#hero" },
{ name: "Services", id: "#features" },
{ name: "Gallery", id: "#gallery" },
{ name: "Reviews", id: "#testimonials" },
{ name: "Contact", id: "#contact" },
]}
brandName="Roofing Pro"
/>
</div>
<div id="hero" data-section="hero">
<HeroLogo
logoText="Trusted Roofing Services Since 1966"
description="With over 58 years of experience, we provide top-tier roof inspection, repair, and installation services for the Rockford community. Get your free estimate today."
buttons={[
{ text: "Get Free Estimate", href: "#contact" },
]}
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3DV5KR5pEzW1eOhhDpNfNBchMAB/uploaded-1778354695381-upjgjror.png?_wi=1"
imageAlt="Professional roof repair team at work"
/>
</div>
<div id="about" data-section="about">
<AboutMetric
useInvertedBackground={false}
title="Built on Workmanship & Trust"
metrics={[
{ icon: Award, label: "Years in Business", value: "58+" },
{ icon: ShieldCheck, label: "Verified Experts", value: "100%" },
{ icon: ThumbsUp, label: "Customer Satisfaction", value: "4.9/5" },
]}
metricsAnimation="slide-up"
/>
</div>
<div id="features" data-section="features">
<FeatureCardTwentyEight
animationType="slide-up"
textboxLayout="split"
useInvertedBackground={true}
features={[
{ id: "s1", title: "Roof Inspection", subtitle: "Detailed damage assessment", category: "Maintenance", value: "Thorough" },
{ id: "s2", title: "Installation", subtitle: "Expertly fitted roofs", category: "Projects", value: "Premium" },
{ id: "s3", title: "Emergency Repair", subtitle: "Rapid storm damage relief", category: "Repairs", value: "Available" },
]}
title="Comprehensive Roofing Services"
description="We offer a full range of residential and commercial roofing solutions tailored to meet your property needs."
/>
</div>
<div id="gallery" data-section="gallery">
<FeatureCardTwentyEight
animationType="blur-reveal"
textboxLayout="default"
useInvertedBackground={false}
title="Recent Roofing Projects"
description="Check out our latest residential and commercial roofing transformations across the region."
features={[
{ id: "p1", title: "Project A", subtitle: "Full Roof Replacement", category: "Residential", value: "Premium", buttons: [{ text: "View Image" }] },
{ id: "p2", title: "Project B", subtitle: "Metal Roofing Upgrade", category: "Commercial", value: "Durable", buttons: [{ text: "View Image" }] },
{ id: "p3", title: "Project C", subtitle: "Shingle Installation", category: "Residential", value: "Modern", buttons: [{ text: "View Image" }] },
{ id: "p4", title: "Project D", subtitle: "Emergency Repair", category: "Repair", value: "Fast", buttons: [{ text: "View Image" }] },
{ id: "p5", title: "Project E", subtitle: "Roof Maintenance", category: "Service", value: "Complete", buttons: [{ text: "View Image" }] }
]}
className="bg-card"
/>
</div>
<div id="metrics" data-section="metrics">
<MetricCardOne
animationType="slide-up"
textboxLayout="default"
gridVariant="uniform-all-items-equal"
useInvertedBackground={false}
metrics={[
{ id: "m1", value: "855+", title: "Happy Clients", description: "Verified positive reviews", icon: Users },
{ id: "m2", value: "24/7", title: "Fast Response", description: "Typically replies in 1 hour", icon: Clock },
{ id: "m3", value: "Local", title: "Community Focus", description: "Locally-owned & operated", icon: MapPin },
]}
title="Proven Track Record"
description="Serving Rockford with dedication and excellence for over half a century."
/>
</div>
<div id="testimonials" data-section="testimonials">
<TestimonialCardTen
textboxLayout="default"
useInvertedBackground={true}
testimonials={[
{ id: "1", title: "Professionalism", quote: "Excellent work on my roof repair. Very quick response time.", name: "Sarah J.", role: "Homeowner", imageSrc: "http://img.b2bpic.net/free-photo/lovely-pretty-woman-with-dark-hair-happy-smile-wearing-white-t-shirt-drinking-morning-coffee-kitchen-good-sunny-day_291650-163.jpg" },
{ id: "2", title: "Reliable", quote: "They fixed my leak right before the storm. Highly recommend.", name: "Mike R.", role: "Property Owner", imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-european-woman-with-dark-hair-healthy-skin-smiling-with-morning-coffee-modern-light-kitchen_291650-153.jpg" },
{ id: "3", title: "Quality", quote: "Fantastic workmanship guarantee, felt secure throughout the project.", name: "Emily D.", role: "Homeowner", imageSrc: "http://img.b2bpic.net/free-photo/workers-having-little-chat-while-having-cup-coffee_329181-15605.jpg" },
{ id: "4", title: "Helpful", quote: "Very friendly staff and transparent pricing from the get-go.", name: "Tom B.", role: "Customer", imageSrc: "http://img.b2bpic.net/free-photo/country-music-interpret-singing-outdoors_23-2149498450.jpg" },
{ id: "5", title: "Impressive", quote: "Fastest roofing company I have ever worked with in Rockford.", name: "Linda G.", role: "Homeowner", imageSrc: "http://img.b2bpic.net/free-photo/optimistic-confident-carefree-chill-african-american-female_176420-31297.jpg" },
]}
title="What Our Neighbors Say"
description="Trusted by hundreds of local homeowners."
/>
</div>
<div id="faq" data-section="faq">
<FaqSplitText
useInvertedBackground={false}
faqs={[
{ id: "q1", title: "Do you offer free estimates?", content: "Yes, we provide free, no-obligation estimates for all roofing services." },
{ id: "q2", title: "Are you licensed and insured?", content: "Yes, we are fully licensed and background-checked for your security." },
{ id: "q3", title: "Do you work weekends?", content: "Weekend appointments are available upon request to suit your schedule." },
]}
sideTitle="Frequently Asked Questions"
faqsAnimation="slide-up"
/>
</div>
<div id="contact" data-section="contact">
<ContactSplitForm
useInvertedBackground={true}
title="Contact Our Roofing Experts"
description="Ready to get started? We typically reply within 1 hour."
inputs={[
{ name: "name", type: "text", placeholder: "Your Name", required: true },
{ name: "email", type: "email", placeholder: "Email Address", required: true },
{ name: "phone", type: "tel", placeholder: "Phone Number" },
]}
textarea={{ name: "message", placeholder: "Tell us about your project" }}
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3DV5KR5pEzW1eOhhDpNfNBchMAB/uploaded-1778354695381-upjgjror.png?_wi=2"
/>
</div>
<div id="footer" data-section="footer">
<FooterBaseCard
logoText="Roofing Pro"
columns={[
{ title: "Navigate", items: [
{ label: "Services", href: "#features" },
{ label: "Gallery", href: "#gallery" },
{ label: "Testimonials", href: "#testimonials" },
] },
{ title: "Company", items: [
{ label: "Contact", href: "#contact" },
{ label: "Privacy Policy", href: "#" },
] },
]}
copyrightText="© 2025 Roofing Pro | Servicing Rockford & Area"
/>
</div>
</ReactLenis>
</ThemeProvider>
);
}