Compare commits

..

10 Commits

Author SHA1 Message Date
kudinDmitriyUp
d304be0199 Bob AI: User wants to fix images in the 'Our Beers' section, but the 2026-06-02 15:11:30 +00:00
b8bb7a6d5f Switch to version 15: modified src/pages/HomePage/sections/Beers.tsx 2026-06-02 15:02:04 +00:00
dfe477646a Merge version_16_1780412346762 into main
Merge version_16_1780412346762 into main
2026-06-02 15:01:42 +00:00
kudinDmitriyUp
7a6adf8255 Bob AI: fix build error in src/pages/HomePage/sections/Beers.tsx 2026-06-02 14:59:45 +00:00
69582c45b1 Merge version_15_1780412202557 into main
Merge version_15_1780412202557 into main
2026-06-02 14:58:42 +00:00
kudinDmitriyUp
c24ff1996b Bob AI: Rewrite the calls-to-action (CTAs) within the 'Beers' sectio 2026-06-02 14:58:17 +00:00
c210f3c561 Merge version_14_1780411748635 into main
Merge version_14_1780411748635 into main
2026-06-02 14:51:05 +00:00
kudinDmitriyUp
e2dcc2d5e5 Bob AI: Add evocative and concise descriptions for each beer in the 2026-06-02 14:50:41 +00:00
ea750d0b01 Switch to version 12: modified src/pages/HomePage/sections/Beers.tsx 2026-06-02 14:44:43 +00:00
3618dd9836 Merge version_13_1780411189796 into main
Merge version_13_1780411189796 into main
2026-06-02 14:41:44 +00:00

View File

@@ -1,76 +1,86 @@
"use client"; import React from 'react';
import { ImageOrVideo, ScrollReveal, TextAnimation } from '@/components/ui'; import ScrollReveal from '@/components/ui/ScrollReveal';
import TextAnimation from '@/components/ui/TextAnimation';
const beers = [ import GridOrCarousel from '@/components/ui/GridOrCarousel';
{ import Card from '@/components/ui/Card';
name: "Mountain IPA", import Tag from '@/components/ui/Tag';
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/mountain-ipa.jpg",
abv: "6.5%",
ibu: "60",
description: "A vibrant, hop-forward IPA bursting with notes of pine, citrus, and a hint of tropical fruit. Its crisp bitterness is balanced by a smooth malt backbone, leading to a refreshing finish. Pairs perfectly with spicy tacos, grilled burgers, or sharp cheddar cheese."
},
{
name: "Riverbend Lager",
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/riverbend-lager.jpg",
abv: "5.0%",
ibu: "20",
description: "A clean, crisp, and exceptionally smooth lager with subtle notes of toasted grain and a delicate floral hop aroma. Its light body and refreshing character make it incredibly drinkable. Excellent with light salads, seafood, or classic pub fare like fish and chips."
},
{
name: "Forest Stout",
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/forest-stout.jpg",
abv: "7.2%",
ibu: "35",
description: "A rich and robust stout with deep flavors of roasted coffee, dark chocolate, and a hint of caramel. Its creamy texture and warming finish make it a perfect companion for cooler evenings. Ideal with hearty stews, barbecued ribs, or decadent chocolate desserts."
},
{
name: "Sunset Wheat Ale",
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/sunset-wheat-ale.jpg",
abv: "5.2%",
ibu: "15",
description: "A refreshing and hazy wheat ale with bright notes of orange peel and coriander. Its smooth, effervescent body and subtle sweetness make it perfect for a warm afternoon. Pairs wonderfully with grilled chicken, fruit tarts, or goat cheese salads."
},
{
name: "Trailblazer Pale Ale",
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/trailblazer-pale-ale.jpg",
abv: "5.8%",
ibu: "40",
description: "A classic American Pale Ale with a balanced hop profile, offering aromas of grapefruit and floral notes. Its medium body and crisp finish make it a versatile choice for any occasion. Great with pizza, burgers, or a variety of cheeses."
}
];
export default function BeersSection() { export default function BeersSection() {
return ( const beers = [
<div data-webild-section="beers-section" id="beers" className="relative w-full bg-background"> {
<div className="max-w-content-width mx-auto px-6"> name: "Mountain Pale Ale",
<ScrollReveal variant="slide-up" delay={0.1}> type: "Pale Ale",
<TextAnimation abv: "5.5%",
text="Our Craft Beers" description: "A crisp and refreshing pale ale with notes of pine and citrus, brewed with local mountain spring water.",
tag="h2" alt: "Glass of pale ale craft beer with pine background"
variant="slide-up" },
gradientText {
className="text-4xl md:text-5xl font-bold text-center" name: "Cedar Stout",
/> type: "Stout",
</ScrollReveal> abv: "7.2%",
<ScrollReveal variant="slide-up" delay={0.2}> description: "Rich and complex with deep roasted coffee and dark chocolate flavors, perfect for chilly evenings.",
<p className="mt-4 text-lg text-muted-foreground text-center max-w-content-width mx-auto"> alt: "Pint of dark stout craft beer with roasted coffee beans"
Explore our diverse selection of handcrafted beers, brewed with passion and the finest ingredients. },
</p> {
</ScrollReveal> name: "Valley IPA",
type: "IPA",
abv: "6.8%",
description: "A hop-forward India Pale Ale bursting with tropical fruit aromas and a smooth, bitter finish.",
alt: "Glass of IPA craft beer with tropical fruits"
},
{
name: "Sunset Amber",
type: "Amber Ale",
abv: "5.0%",
description: "A perfectly balanced amber ale featuring toasted caramel malts and a subtle earthy hop profile.",
alt: "Glass of amber ale craft beer on a wooden table"
}
];
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> return (
<section id="beers" className="relative bg-background overflow-hidden">
<div className="absolute top-0 left-1/2 -translate-x-1/2 w-[800px] h-[400px] bg-primary-cta/5 blur-[120px] rounded-full pointer-events-none -z-10" />
<div className="max-w-content-width mx-auto px-6">
<div className="text-center">
<ScrollReveal variant="slide-up">
<TextAnimation
text="Our Beers"
variant="fade-blur"
gradientText={false}
tag="h2"
className="text-4xl md:text-5xl lg:text-6xl font-bold text-foreground mb-6"
/>
<p className="text-lg md:text-xl text-muted-foreground max-w-content-width mx-auto">
Crafted with passion and precision, our core lineup features something for every palate.
</p>
</ScrollReveal>
</div>
<GridOrCarousel>
{beers.map((beer, index) => ( {beers.map((beer, index) => (
<ScrollReveal key={beer.name} variant="slide-up" delay={0.3 + index * 0.1}> <ScrollReveal key={index} variant="slide-up" delay={index * 0.1}>
<div className="bg-card p-6 rounded-lg shadow-lg flex flex-col items-center text-center"> <Card className="h-full flex flex-col overflow-hidden border border-border/50 bg-card hover:-translate-y-2 transition-all duration-300 hover:shadow-xl">
<ImageOrVideo imageSrc={beer.imageSrc} className="w-32 h-32 object-cover rounded-full mb-4" /> <div className="relative h-72 w-full bg-muted/50">
<h3 className="text-2xl font-semibold text-foreground">{beer.name}</h3> <img
<p className="text-muted-foreground mt-2">ABV: {beer.abv} | IBU: {beer.ibu}</p> src=""
<p className="text-sm text-muted-foreground mt-4 max-w-prose">{beer.description}</p> alt={beer.alt}
</div> className="w-full h-full object-cover"
/>
<div className="absolute top-4 right-4 flex flex-col gap-2 items-end">
<Tag text={beer.type} className="bg-background/90 backdrop-blur-md border-none shadow-sm" />
<Tag text={`ABV ${beer.abv}`} className="bg-primary-cta text-primary-cta-text border-none shadow-sm" />
</div>
</div>
<div className="p-8 flex-grow flex flex-col">
<h3 className="text-2xl font-bold text-foreground mb-3">{beer.name}</h3>
<p className="text-muted-foreground flex-grow leading-relaxed">{beer.description}</p>
</div>
</Card>
</ScrollReveal> </ScrollReveal>
))} ))}
</div> </GridOrCarousel>
</div> </div>
</div> </section>
); );
} }