Compare commits
4 Commits
version_4_
...
version_6_
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cd15b4aa88 | ||
| 237b5d6dad | |||
|
|
e9e582d543 | ||
| 5189fba3e2 |
@@ -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">
|
||||
|
||||
@@ -165,40 +165,24 @@ h6 {
|
||||
|
||||
.primary-button {
|
||||
/* WEBILD_PRIMARY_BUTTON */
|
||||
/* @primaryButtons/depth-layers */
|
||||
/* @primaryButtons/full */
|
||||
background: var(--color-primary-cta);
|
||||
border-top: 1px solid color-mix(in srgb, var(--color-primary-cta) 80%, #fff);
|
||||
border-bottom: 1px solid color-mix(in srgb, var(--color-primary-cta) 80%, #000);
|
||||
box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
|
||||
transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
|
||||
}
|
||||
|
||||
.primary-button:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 7px 14px rgba(0,0,0,0.1), 0 3px 6px rgba(0,0,0,0.08);
|
||||
}
|
||||
|
||||
.primary-button:active {
|
||||
transform: translateY(1px);
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.08);
|
||||
}
|
||||
|
||||
.secondary-button {
|
||||
/* WEBILD_SECONDARY_BUTTON */
|
||||
/* @secondaryButtons/layered */
|
||||
/* @secondaryButtons/full */
|
||||
background: var(--color-secondary-cta);
|
||||
border-top: 1px solid color-mix(in srgb, var(--color-secondary-cta) 80%, #fff);
|
||||
border-bottom: 1px solid color-mix(in srgb, var(--color-secondary-cta) 80%, #000);
|
||||
box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
|
||||
transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
|
||||
}
|
||||
|
||||
.secondary-button:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 7px 14px rgba(0,0,0,0.1), 0 3px 6px rgba(0,0,0,0.08);
|
||||
}
|
||||
|
||||
.secondary-button:active {
|
||||
transform: translateY(1px);
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.08);
|
||||
}
|
||||
|
||||
@@ -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