Compare commits

...

18 Commits

Author SHA1 Message Date
kudinDmitriyUp
4aa2a57150 feat: update border radius to match Apple's design 2026-05-08 08:22:31 +00:00
8113fd7d7d Merge version_13_1778228298894 into main
Merge version_13_1778228298894 into main
2026-05-08 08:19:38 +00:00
kudinDmitriyUp
dce6ba68d8 feat: apply glassmorphic effect to about section card 2026-05-08 08:19:07 +00:00
f87b5cc1dc Merge version_12_1778227063732 into main
Merge version_12_1778227063732 into main
2026-05-08 07:59:09 +00:00
kudinDmitriyUp
2def7734a1 feat: add light ray background to CTA section 2026-05-08 07:58:38 +00:00
92b9d3f91a Merge version_11_1778226860864 into main
Merge version_11_1778226860864 into main
2026-05-08 07:56:07 +00:00
kudinDmitriyUp
ecb83a4563 feat: Align hero content with testimonials 2026-05-08 07:55:44 +00:00
788c6cf1dd Merge version_10_1778226668506 into main
Merge version_10_1778226668506 into main
2026-05-08 07:52:46 +00:00
kudinDmitriyUp
95d4e2f94a feat: move testimonial card further to the bottom right 2026-05-08 07:52:20 +00:00
7cb5d6c993 Merge version_9_1778226508574 into main
Merge version_9_1778226508574 into main
2026-05-08 07:50:03 +00:00
kudinDmitriyUp
1d814c336f feat: move testimonial card to bottom right 2026-05-08 07:49:31 +00:00
54809f1a61 Merge version_8_1778226193464 into main
Merge version_8_1778226193464 into main
2026-05-08 07:46:55 +00:00
kudinDmitriyUp
8bda279544 feat: add alternating testimonial cards to hero section 2026-05-08 07:46:30 +00:00
875c4a6115 Merge version_7_1778225913518 into main
Merge version_7_1778225913518 into main
2026-05-08 07:40:09 +00:00
kudinDmitriyUp
084dcc1788 feat: replace hero section with overlay style 2026-05-08 07:39:45 +00:00
066c84c190 Merge version_6_1778225178203 into main
Merge version_6_1778225178203 into main
2026-05-08 07:27:36 +00:00
kudinDmitriyUp
d8fa3e48f1 feat: Add 5-star review tag to hero section 2026-05-08 07:27:14 +00:00
cf389533c8 Merge version_5_1778224353789 into main
Merge version_5_1778224353789 into main
2026-05-08 07:16:00 +00:00
8 changed files with 128 additions and 52 deletions

View File

@@ -0,0 +1,11 @@
.testimonial-card {
transition: opacity 0.5s ease-in-out;
}
.fade-in {
opacity: 1;
}
.fade-out {
opacity: 0;
}

View File

@@ -0,0 +1,52 @@
import { useState, useEffect } from 'react';
import './TestimonialCard.css';
const testimonials = [
{
quote: "Their team transformed our yard into a paradise. So professional and creative!",
author: "Alex & Jamie R.",
avatar: "https://randomuser.me/api/portraits/women/44.jpg",
},
{
quote: "Incredible attention to detail. Our garden has never looked better. Highly recommend!",
author: "Casey L.",
avatar: "https://randomuser.me/api/portraits/men/32.jpg",
},
{
quote: "The best landscaping service in town. They exceeded all our expectations.",
author: "Jordan P.",
avatar: "https://randomuser.me/api/portraits/women/65.jpg",
},
];
const TestimonialCard = () => {
const [index, setIndex] = useState(0);
const [visible, setVisible] = useState(true);
useEffect(() => {
const timer = setInterval(() => {
setVisible(false);
setTimeout(() => {
setIndex((prevIndex) => (prevIndex + 1) % testimonials.length);
setVisible(true);
}, 500); // CSS transition duration
}, 3000);
return () => clearInterval(timer);
}, []);
return (
<div className="z-20">
<div className={`testimonial-card ${visible ? 'fade-in' : 'fade-out'}`}>
<div className="bg-white/80 backdrop-blur-sm rounded-lg p-4 max-w-sm shadow-lg">
<p className="text-gray-800 italic">"{testimonials[index].quote}"</p>
<div className="flex items-center mt-3">
<img src={testimonials[index].avatar} alt={testimonials[index].author} className="w-10 h-10 rounded-full mr-3" />
<p className="text-gray-900 font-semibold">{testimonials[index].author}</p>
</div>
</div>
</div>
</div>
);
};
export default TestimonialCard;

View File

@@ -54,7 +54,7 @@ const AboutFeaturesSplit = ({
</div>
<div className="flex flex-col md:flex-row md:items-stretch gap-5">
<div className="flex flex-col justify-center gap-3 xl:gap-4 2xl:gap-5 p-3 xl:p-4 2xl:p-5 w-full md:w-4/10 2xl:w-3/10 card rounded">
<div className="flex flex-col justify-center gap-3 xl:gap-4 2xl:gap-5 p-3 xl:p-4 2xl:p-5 w-full md:w-4/10 2xl:w-3/10 card rounded bg-white/10 backdrop-blur-lg border border-white/20">
{items.map((item, index) => {
const ItemIcon = resolveIcon(item.icon);
return (

View File

@@ -16,7 +16,11 @@ const ContactCta = ({
return (
<section aria-label="Contact section" className="py-20">
<div className="w-content-width mx-auto">
<ScrollReveal variant="slide-up" className="flex items-center justify-center py-20 px-5 md:px-10 card rounded">
<ScrollReveal variant="slide-up" className="relative overflow-hidden flex items-center justify-center py-20 px-5 md:px-10 card rounded">
<div
className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[800px] h-[800px] -z-10 bg-[radial-gradient(closest-side,theme(colors.background/0.5),transparent)]"
aria-hidden="true"
/>
<div className="w-full md:w-3/4 flex flex-col items-center gap-3">
<span className="card rounded px-3 py-1 text-sm">{tag}</span>

View File

@@ -36,7 +36,19 @@ const HeroBillboardTiltedCarousel = ({
className="text-6xl font-medium text-balance"
/>
<div className="flex flex-col items-center gap-2">
<div className="flex items-center gap-1">
{[...Array(5)].map((_, i) => (
<Star key={i} className="w-4 h-4 fill-yellow-400 text-yellow-400" />
))}
</div>
<div className="flex -space-x-2">
<img className="inline-block h-8 w-8 rounded-full ring-2 ring-white" src="https://images.unsplash.com/photo-1491528323818-fdd1faba62cc?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="" />
<img className="inline-block h-8 w-8 rounded-full ring-2 ring-white" src="https://images.unsplash.com/photo-1550525811-e58691053ba4?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="" />
<img className="inline-block h-8 w-8 rounded-full ring-2 ring-white" src="https://images.unsplash.com/photo-1500648767791-00dcc994a43e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="" />
<img className="inline-block h-8 w-8 rounded-full ring-2 ring-white" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="" />
</div>
</div>
<span className="px-3 py-1 mb-1 text-sm card rounded">{tag}</span>

View File

@@ -1,6 +1,7 @@
import Button from "@/components/ui/Button";
import HeroBackgroundSlot from "@/components/ui/HeroBackgroundSlot";
import TextAnimation from "@/components/ui/TextAnimation";
import TestimonialCard from "@/components/custom/TestimonialCard";
import ImageOrVideo from "@/components/ui/ImageOrVideo";
import AvatarGroup from "@/components/ui/AvatarGroup";
@@ -42,36 +43,51 @@ const HeroOverlay = ({
aria-hidden="true"
/>
<div className="relative z-10 w-content-width mx-auto pb-10 md:pb-25">
<div className="flex flex-col gap-3 w-full md:w-6/10 lg:w-1/2 xl:w-45/100 2xl:w-4/10">
<span className="w-fit px-3 py-1 mb-1 text-sm card rounded">{tag}</span>
<div className="relative z-10 w-content-width mx-auto pb-20 md:pb-20">
<div className="flex flex-col md:flex-row justify-between items-end gap-3 w-full">
<div className="flex flex-col gap-3 w-full md:w-6/10 lg:w-1/2 xl:w-45/100 2xl:w-4/10">
<span className="w-fit px-3 py-1 mb-1 text-sm card rounded">{tag}</span>
<TextAnimation
text={title}
variant="fade"
gradientText={true}
tag="h1"
className="text-7xl 2xl:text-8xl font-medium text-primary-cta-text text-balance"
/>
<TextAnimation
text={title}
variant="fade"
gradientText={true}
tag="h1"
className="text-7xl 2xl:text-8xl font-medium text-primary-cta-text text-balance"
/>
<TextAnimation
text={description}
variant="fade"
gradientText={false}
tag="p"
className="text-lg md:text-xl text-primary-cta-text leading-tight text-balance"
/>
<TextAnimation
text={description}
variant="fade"
gradientText={false}
tag="p"
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>
{avatars && avatars.length > 0 && (
<div className="mt-4">
<AvatarGroup avatars={avatars} size="lg" label={avatarsLabel} labelClassName="text-primary-cta-text" />
<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>
)}
{avatars && avatars.length > 0 && (
<div className="mt-4">
<AvatarGroup
avatars={avatars}
size="lg"
label={avatarsLabel}
labelClassName="text-primary-cta-text"
/>
</div>
)}
</div>
<div className="w-full md:w-auto">
<TestimonialCard />
</div>
</div>
</div>
</section>

View File

@@ -16,7 +16,7 @@
--background-accent: #6bbfb8;
/* @layout/border-radius/rounded */
--radius: 1rem;
--radius: 1.5rem;
/* @layout/content-width/medium */
--width-content-width: clamp(40rem, 72.5vw, 100rem);

View File

@@ -1,7 +1,7 @@
import AboutFeaturesSplit from '@/components/sections/about/AboutFeaturesSplit';
import ContactCta from '@/components/sections/contact/ContactCta';
import FeaturesRevealCards from '@/components/sections/features/FeaturesRevealCards';
import HeroBillboardTiltedCarousel from '@/components/sections/hero/HeroBillboardTiltedCarousel';
import HeroOverlay from '@/components/sections/hero/HeroOverlay';
import MetricsFeatureCards from '@/components/sections/metrics/MetricsFeatureCards';
import ProductMediaCards from '@/components/sections/product/ProductMediaCards';
import TestimonialTrustCard from '@/components/sections/testimonial/TestimonialTrustCard';
@@ -11,7 +11,7 @@ export default function HomePage() {
return (
<>
<div id="hero" data-section="hero">
<HeroBillboardTiltedCarousel
<HeroOverlay
tag="Your Outdoor Oasis Awaits"
title="Transforming Landscapes, Enhancing Lives"
description="From lush gardens to perfectly manicured lawns, we craft stunning outdoor spaces tailored to your vision. Experience nature's beauty with expert care."
@@ -23,26 +23,7 @@ export default function HomePage() {
text: "View Portfolio",
href: "#portfolio",
}}
items={[
{
imageSrc: "http://img.b2bpic.net/free-photo/pool-hammocks_1203-141.jpg",
},
{
imageSrc: "http://img.b2bpic.net/free-photo/suburban-housing-garden_53876-30332.jpg",
},
{
imageSrc: "http://img.b2bpic.net/free-photo/view-automatic-smart-feeder-household-pets_23-2151482454.jpg",
},
{
imageSrc: "http://img.b2bpic.net/free-photo/woman-working-her-sustainable-greenhouse_23-2149072117.jpg",
},
{
imageSrc: "http://img.b2bpic.net/free-photo/seedlings-gardening-tools_23-2147714872.jpg",
},
{
imageSrc: "http://img.b2bpic.net/free-photo/selective-focus-shot-stone-pot-pedestal-park_181624-14166.jpg",
},
]}
imageSrc="http://img.b2bpic.net/free-photo/pool-hammocks_1203-141.jpg"
/>
</div>