2 Commits

Author SHA1 Message Date
kudinDmitriyUp
cd15b4aa88 feat: Combine hero buttons into a single full-width button 2026-05-09 19:36:35 +00:00
237b5d6dad Merge version_5_1778355140725 into main
Merge version_5_1778355140725 into main
2026-05-09 19:33:59 +00:00
2 changed files with 2 additions and 11 deletions

View File

@@ -9,7 +9,6 @@ type HeroOverlayProps = {
title: string;
description: string;
primaryButton: { text: string; href: string };
secondaryButton: { text: string; href: string };
avatars?: { src: string }[];
avatarsLabel?: string;
} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never });
@@ -19,7 +18,6 @@ const HeroOverlay = ({
title,
description,
primaryButton,
secondaryButton,
imageSrc,
videoSrc,
avatars,
@@ -62,10 +60,7 @@ const HeroOverlay = ({
className="text-lg md:text-xl text-primary-cta-text leading-tight text-balance"
/>
<div className="flex flex-wrap gap-3 mt-3">
<Button text={primaryButton.text} href={primaryButton.href} variant="primary"/>
<Button text={secondaryButton.text} href={secondaryButton.href} variant="secondary"animationDelay={0.1} />
</div>
<Button text={primaryButton.text} href={primaryButton.href} variant="primary" className="w-full mt-3" />
{avatars && avatars.length > 0 && (
<div className="mt-4">

View File

@@ -18,13 +18,9 @@ export default function HomePage() {
title="Transforming San Diego Landscapes"
description="Expert landscaping services for residential and commercial properties in San Diego. From lush gardens to sustainable designs, we bring your vision to life."
primaryButton={{
text: "Get a Free Estimate",
text: "Get a Free Estimate or View Our Services",
href: "#contact",
}}
secondaryButton={{
text: "View Our Services",
href: "#services",
}}
imageSrc="http://img.b2bpic.net/free-photo/landscape-courtyard-monastery_1268-15252.jpg"
avatarsLabel="Trusted by 500+ happy clients"
avatars={[