Compare commits
6 Commits
version_5_
...
version_8_
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a8dcee9314 | ||
| c2b4bdedf6 | |||
|
|
399795763a | ||
| 96ffe62070 | |||
|
|
e883f31726 | ||
| 6f79233d49 |
@@ -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>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user