10 Commits

Author SHA1 Message Date
497cfbf854 Merge version_7_1778335142760 into main
Merge version_7_1778335142760 into main
2026-05-09 14:00:29 +00:00
kudinDmitriyUp
ee03fea5aa fix: remove extra margin from hero section 2026-05-09 13:59:48 +00:00
6d1cb751d0 Merge version_6_1778335009357 into main
Merge version_6_1778335009357 into main
2026-05-09 13:58:33 +00:00
kudinDmitriyUp
1384b7d561 feat: replace AboutText with AboutFeaturesSplit and add winery story 2026-05-09 13:57:57 +00:00
368345f4c4 Merge version_4_1778334771693 into main
Merge version_4_1778334771693 into main
2026-05-09 13:54:11 +00:00
kudinDmitriyUp
50b0860872 feat: Update hero section with testimonial cards and thicker title 2026-05-09 13:53:38 +00:00
a5deb35a54 Merge version_3_1778332459679 into main
Merge version_3_1778332459679 into main
2026-05-09 13:17:05 +00:00
2ff221c492 Update src/pages/HomePage.tsx 2026-05-09 13:17:02 +00:00
2dca9e5f5b Merge version_3_1778332459679 into main
Merge version_3_1778332459679 into main
2026-05-09 13:16:56 +00:00
kudinDmitriyUp
b8d8608c43 feat: make h1 thicker and add testimonials to hero section 2026-05-09 13:16:19 +00:00
2 changed files with 66 additions and 27 deletions

View File

@@ -5,13 +5,20 @@ import ImageOrVideo from "@/components/ui/ImageOrVideo";
import ScrollReveal from "@/components/ui/ScrollReveal";
import AvatarGroup from "@/components/ui/AvatarGroup";
type Testimonial = {
name: string;
role: string;
testimonial: string;
imageSrc: string;
};
type HeroBillboardProps = {
tag?: string;
title: string;
description: string;
primaryButton: { text: string; href: string };
secondaryButton: { text: string; href: string };
avatars?: { src: string }[];
testimonials?: Testimonial[];
avatarsLabel?: string;
} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never });
@@ -21,19 +28,17 @@ const HeroBillboard = ({
description,
primaryButton,
secondaryButton,
avatars,
testimonials,
avatarsLabel,
imageSrc,
videoSrc,
}: HeroBillboardProps) => {
return (
<section aria-label="Hero section" className="relative pt-25 pb-20 md:py-30 mb-20">
<section aria-label="Hero section" className="relative pt-25 pb-20 md:py-30">
<HeroBackgroundSlot />
<div className="flex flex-col gap-10 w-content-width mx-auto">
<div className="flex flex-col items-center gap-2 text-center">
{avatars && avatars.length > 0 ? (
<AvatarGroup avatars={avatars} label={avatarsLabel} />
) : tag ? (
{tag ? (
<span className="px-3 py-1 mb-1 text-sm card rounded">{tag}</span>
) : null}
@@ -42,7 +47,7 @@ const HeroBillboard = ({
variant="slide-up"
gradientText={true}
tag="h1"
className="text-6xl font-medium text-balance"
className="text-6xl font-extrabold text-balance"
/>
<TextAnimation
@@ -59,8 +64,19 @@ const HeroBillboard = ({
</div>
</div>
<ScrollReveal variant="fade" delay={0.2} className="w-full p-3 xl:p-4 2xl:p-5 card rounded overflow-hidden">
<ScrollReveal variant="fade" delay={0.2} className="relative w-full p-3 xl:p-4 2xl:p-5 card rounded overflow-hidden">
<ImageOrVideo imageSrc={imageSrc} videoSrc={videoSrc} className="aspect-4/5 md:aspect-video" />
{testimonials && testimonials.length > 0 && (
<div className="absolute inset-0 grid grid-cols-1 md:grid-cols-3 gap-4 p-4 md:p-8 pointer-events-none">
{testimonials.map((testimonial, index) => (
<div key={index} className="card p-4 bg-white/80 backdrop-blur-sm rounded-lg shadow-lg pointer-events-auto self-start">
<p className="italic">"{testimonial.testimonial}"</p>
<p className="mt-2 font-semibold">{testimonial.name}</p>
<p className="text-sm text-gray-600">{testimonial.role}</p>
</div>
))}
</div>
)}
</ScrollReveal>
</div>
</section>

View File

@@ -1,4 +1,4 @@
import AboutText from '@/components/sections/about/AboutText';
import AboutFeaturesSplit from '@/components/sections/about/AboutFeaturesSplit';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FeaturesArrowCards from '@/components/sections/features/FeaturesArrowCards';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
@@ -28,21 +28,24 @@ export default function HomePage() {
href: "#contact",
}}
imageSrc="http://img.b2bpic.net/free-photo/glass-wine-with-stunning-view-vineyard-sunset_23-2151514984.jpg"
avatars={[
testimonials={[
{
src: "http://img.b2bpic.net/free-photo/male-happy-female-clanging-glasses-wine-room_23-2148024586.jpg",
name: "Eleanor Vance",
role: "Wine Critic",
testimonial: "An unforgettable experience. The attention to detail is astonishing.",
imageSrc: "http://img.b2bpic.net/free-photo/people-enjoying-glass-wine-vineyard-with-stunning-nature-landscape_23-2151514988.jpg?_wi=1",
},
{
src: "http://img.b2bpic.net/free-photo/smiling-man-clanging-glasses-wine-with-woman_23-2148024467.jpg",
name: "Marcus Thorne",
role: "Sommelier",
testimonial: "A masterpiece of winemaking. Each bottle tells a story.",
imageSrc: "http://img.b2bpic.net/free-photo/life-home-with-young-adult-drinking-beverage_23-2149129073.jpg?_wi=1",
},
{
src: "http://img.b2bpic.net/free-photo/close-up-portrait-women-wine-balcony_329181-15442.jpg",
},
{
src: "http://img.b2bpic.net/free-photo/close-up-happy-people-celebrating_23-2149152905.jpg",
},
{
src: "http://img.b2bpic.net/free-photo/girl-friends-celebration-moments_23-2149168092.jpg",
name: "Sophia Rodriguez",
role: "Private Collector",
testimonial: "Vine & Vintages has become a staple in my collection. Simply exquisite.",
imageSrc: "http://img.b2bpic.net/free-photo/front-view-group-beautiful-women-taking-selfie_23-2148440494.jpg?_wi=1",
},
]}
avatarsLabel="Trusted by over 10,000 wine enthusiasts"
@@ -52,16 +55,36 @@ export default function HomePage() {
<div id="about" data-section="about">
<SectionErrorBoundary name="about">
<AboutText
title="Our Heritage of Winemaking Excellence"
<AboutFeaturesSplit
tag="Our Story"
title="From Our Family to Yours"
description="Founded in 1924, Vine & Vintages is a family-owned winery dedicated to crafting exceptional wines. Our story is one of passion, perseverance, and a deep connection to the land. We believe that every bottle tells a story, and we invite you to become a part of ours."
primaryButton={{
text: "Read Our Story",
href: "#about",
text: "Meet the Family",
href: "#team",
}}
secondaryButton={{
text: "View Vineyards",
text: "Explore the Vineyard",
href: "#features",
}}
imageSrc="http://img.b2bpic.net/free-photo/group-people-enjoying-wine-tasting-event-vineyard-generated-by-ai_188544-45590.jpg"
items={[
{
icon: "Grape",
title: "Generations of Expertise",
description: "With over a century of winemaking experience, our family has perfected the art of cultivating grapes and producing world-class wines.",
},
{
icon: "Leaf",
title: "Sustainable Practices",
description: "We are committed to sustainable farming and winemaking practices to ensure the health of our land for generations to come.",
},
{
icon: "Award",
title: "Award-Winning Wines",
description: "Our dedication to quality has been recognized with numerous awards, a testament to our unwavering commitment to excellence.",
},
]}
/>
</SectionErrorBoundary>
</div>
@@ -182,21 +205,21 @@ export default function HomePage() {
role: "Wine Critic",
company: "Vinifera Magazine",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/people-enjoying-glass-wine-vineyard-with-stunning-nature-landscape_23-2151514988.jpg",
imageSrc: "http://img.b2bpic.net/free-photo/people-enjoying-glass-wine-vineyard-with-stunning-nature-landscape_23-2151514988.jpg?_wi=2",
},
{
name: "Marcus Thorne",
role: "Sommelier",
company: "The Grand Cellar",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/life-home-with-young-adult-drinking-beverage_23-2149129073.jpg",
imageSrc: "http://img.b2bpic.net/free-photo/life-home-with-young-adult-drinking-beverage_23-2149129073.jpg?_wi=2",
},
{
name: "Sophia Rodriguez",
role: "Private Collector",
company: "N/A",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/front-view-group-beautiful-women-taking-selfie_23-2148440494.jpg",
imageSrc: "http://img.b2bpic.net/free-photo/front-view-group-beautiful-women-taking-selfie_23-2148440494.jpg?_wi=2",
},
{
name: "David Chen",