6 Commits

Author SHA1 Message Date
kudinDmitriyUp
a8dcee9314 feat: add gallery section 2026-05-07 21:29:14 +00:00
c2b4bdedf6 Merge version_7_1778189152312 into main
Merge version_7_1778189152312 into main
2026-05-07 21:27:33 +00:00
kudinDmitriyUp
399795763a feat: enhance glassmorphic effect on testimonials 2026-05-07 21:27:02 +00:00
96ffe62070 Merge version_6_1778187926617 into main
Merge version_6_1778187926617 into main
2026-05-07 21:08:22 +00:00
kudinDmitriyUp
e883f31726 feat: apply glassmorphic effect to testimonials 2026-05-07 21:07:59 +00:00
6f79233d49 Merge version_5_1778187565320 into main
Merge version_5_1778187565320 into main
2026-05-07 21:01:07 +00:00
2 changed files with 33 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
import { useEffect, useState } from "react";
import { Star } from "lucide-react";
import { motion, AnimatePresence } from "motion/react";
import { cls } from "@/lib/utils";
import Button from "@/components/ui/Button";
import HeroBackgroundSlot from "@/components/ui/HeroBackgroundSlot";
@@ -92,14 +92,10 @@ const HeroOverlayTestimonial = ({
</div>
</div>
<AnimatePresence mode="wait">
<motion.div
<div
key={currentIndex}
initial={{ opacity: 0, y: 10 }}
animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0, y: -10 }}
transition={{ duration: 0.3 }}
className="absolute z-10 bottom-3 left-3 right-3 p-3 xl:p-4 2xl:p-5 card rounded flex flex-col gap-3 xl:gap-4 2xl:gap-5 md:left-auto md:bottom-8 md:right-8 md:max-w-25/100 2xl:max-w-2/10"
className="absolute z-10 bottom-3 left-3 right-3 p-3 xl:p-4 2xl:p-5 card rounded flex flex-col gap-3 xl:gap-4 2xl:gap-5 md:left-auto md:bottom-8 md:right-8 md:max-w-25/100 2xl:max-w-2/10 bg-white/20 backdrop-blur-lg border border-white/30"
>
<div className="flex gap-1">
{Array.from({ length: 5 }).map((_, index) => (
@@ -124,8 +120,8 @@ const HeroOverlayTestimonial = ({
<span className="text-sm text-foreground/60">{testimonial.handle}</span>
</div>
</div>
</motion.div>
</AnimatePresence>
</div>
</section>
);
};

View File

@@ -188,6 +188,33 @@ export default function HomePage() {
/>
</div>
<div id="gallery" data-section="gallery">
<FeaturesMediaCards
tag="Gallery"
title="Experience the Vineyard"
description="A glimpse into the life at Vine & Barrel, from our sun-kissed vineyards to the joy of sharing our wines."
features={[
{
title: "Exploring the Vines",
description: "Guests enjoying a walk through our picturesque vineyards.",
imageSrc: "http://img.b2bpic.net/free-photo/two-women-holding-wine-glasses-vineyard_23-2148971025.jpg",
},
{
title: "A Toast to Good Times",
description: "Friends sharing a moment and a bottle of our finest.",
imageSrc: "http://img.b2bpic.net/free-photo/happy-friends-having-fun-while-toasting-with-wine-during-lunch-vineyard_637285-12019.jpg",
},
{
title: "The Art of the Pour",
description: "Our sommelier presenting a glass of our signature red.",
imageSrc: "http://img.b2bpic.net/free-photo/sommelier-pouring-wine-into-glass-restaurant_1150-14983.jpg",
},
]}
/>
</div>
<div id="tastings" data-section="tastings">