Compare commits
3 Commits
version_5_
...
version_7_
| Author | SHA1 | Date | |
|---|---|---|---|
| d19f1afc4d | |||
|
|
cd15b4aa88 | ||
| 237b5d6dad |
@@ -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">
|
||||
|
||||
@@ -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={[
|
||||
|
||||
Reference in New Issue
Block a user