Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 57433e3630 | |||
| 7510ba4029 | |||
| 07a5ea9e22 | |||
| 2c4e7ede1d | |||
| 7d36d0fe1d |
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
import ReactLenis from "lenis/react";
|
import ReactLenis from "lenis/react";
|
||||||
import { Star, MessageSquare } from "lucide-react";
|
import { Star } from "lucide-react";
|
||||||
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
||||||
import FooterMedia from '@/components/sections/footer/FooterMedia';
|
import FooterMedia from '@/components/sections/footer/FooterMedia';
|
||||||
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
|
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
|
||||||
@@ -11,6 +11,13 @@ import ProductCardOne from '@/components/sections/product/ProductCardOne';
|
|||||||
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
|
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
|
||||||
|
|
||||||
export default function AdeptHandymanLandingPage() {
|
export default function AdeptHandymanLandingPage() {
|
||||||
|
const scrollToSection = (id: string) => {
|
||||||
|
const element = document.getElementById(id.startsWith('#') ? id.slice(1) : id);
|
||||||
|
if (element) {
|
||||||
|
element.scrollIntoView({ behavior: 'smooth' });
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="hover-magnetic"
|
defaultButtonVariant="hover-magnetic"
|
||||||
@@ -50,7 +57,7 @@ export default function AdeptHandymanLandingPage() {
|
|||||||
enableKpiAnimation={true}
|
enableKpiAnimation={true}
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "Call Now: (561) 531-5971", onClick: () => window.location.href = "tel:+15615315971" },
|
{ text: "Call Now: (561) 531-5971", onClick: () => window.location.href = "tel:+15615315971" },
|
||||||
{ text: "Schedule Service", href: "#appointment" }
|
{ text: "Schedule Service", onClick: () => scrollToSection("appointment") }
|
||||||
]}
|
]}
|
||||||
imageSrc="https://img.b2bpic.net/free-photo/construction-worker-using-hammer-job-site_23-2150530686.jpg?_wi=1"
|
imageSrc="https://img.b2bpic.net/free-photo/construction-worker-using-hammer-job-site_23-2150530686.jpg?_wi=1"
|
||||||
/>
|
/>
|
||||||
@@ -63,8 +70,8 @@ export default function AdeptHandymanLandingPage() {
|
|||||||
cardTagIcon={Star}
|
cardTagIcon={Star}
|
||||||
cardAnimation="slide-up"
|
cardAnimation="slide-up"
|
||||||
testimonials={[
|
testimonials={[
|
||||||
{ id: "t1", name: "Verified Customer", imageSrc: "" },
|
{ id: "t1", name: "Verified Customer", imageSrc: "https://img.b2bpic.net/free-photo/bucharest-romania-july-30th-2024-young-man-clicks-facebook-page-bookmark_482257-116836.jpg?id=415455995" },
|
||||||
{ id: "t2", name: "Verified Customer", imageSrc: "" }
|
{ id: "t2", name: "Verified Customer", imageSrc: "https://img.b2bpic.net/premium-photo/women-holds-smartphone-with-facebook-application-screen_49553-89.jpg?id=3053090" }
|
||||||
]}
|
]}
|
||||||
useInvertedBackground={true}
|
useInvertedBackground={true}
|
||||||
/>
|
/>
|
||||||
@@ -115,4 +122,4 @@ export default function AdeptHandymanLandingPage() {
|
|||||||
</ReactLenis>
|
</ReactLenis>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user