5 Commits

Author SHA1 Message Date
a3b0dd7e89 Merge version_4 into main
Merge version_4 into main
2026-04-29 01:25:05 +00:00
280834901e Update src/app/page.tsx 2026-04-29 01:25:02 +00:00
73e714e139 Merge version_3 into main
Merge version_3 into main
2026-04-29 01:20:05 +00:00
1c5878e70d Update src/app/page.tsx 2026-04-29 01:19:59 +00:00
9c269258cc Merge version_2 into main
Merge version_2 into main
2026-04-29 01:17:51 +00:00

View File

@@ -13,7 +13,13 @@ import TestimonialCardThirteen from '@/components/sections/testimonial/Testimoni
export default function LandingPage() {
const scrollToId = (id: string) => {
const target = document.getElementById(id.replace(/^#+/, ''));
if (id.startsWith('http') || id.startsWith('tel:') || id.startsWith('mailto:')) {
window.open(id, '_blank');
return;
}
const targetId = id.replace(/^#+/, '');
const target = document.getElementById(targetId);
if (target) {
target.scrollIntoView({ behavior: 'smooth' });
}
@@ -59,7 +65,7 @@ export default function LandingPage() {
]}
buttons={[
{ text: "Get a Free Inspection", onClick: () => scrollToId("#contact") },
{ text: "Call Now: (262) 546-9589", href: "tel:2625469589" },
{ text: "Call Now: (262) 546-9589", onClick: () => scrollToId("tel:2625469589") },
]}
imageSrc="http://img.b2bpic.net/free-photo/low-angle-artistic-architectural-design_23-2148252774.jpg?_wi=2"
avatars={[
@@ -182,8 +188,8 @@ export default function LandingPage() {
title="Ready for a Roof You Can Rely On?"
description="Don't wait for minor issues to cause major damage. Get your free, no-obligation inspection today."
buttons={[
{ text: "Schedule Your Free Inspection", onClick: () => scrollToId("contact") },
{ text: "Call (262) 546-9589", href: "tel:2625469589" },
{ text: "Schedule Your Free Inspection", onClick: () => scrollToId("#contact") },
{ text: "Call (262) 546-9589", onClick: () => scrollToId("tel:2625469589") },
]}
/>
</div>
@@ -206,7 +212,7 @@ export default function LandingPage() {
{ label: "Terms of Use", href: "#" },
] },
]}
copyrightText="© 2024 Modern Roofing. All rights reserved."
copyrightText="© 2024 Modern Roofing."
/>
</div>
</ReactLenis>