Compare commits
12 Commits
version_12
...
version_17
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d304be0199 | ||
| b8bb7a6d5f | |||
| dfe477646a | |||
|
|
7a6adf8255 | ||
| 69582c45b1 | |||
|
|
c24ff1996b | ||
| c210f3c561 | |||
|
|
e2dcc2d5e5 | ||
| ea750d0b01 | |||
| 3618dd9836 | |||
|
|
4c5eccd24d | ||
| 65d86351c8 |
@@ -1,64 +1,86 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "beers" section.
|
||||
|
||||
import React from 'react';
|
||||
import FeaturesRevealCardsBentoSharp from '@/components/sections/features/FeaturesRevealCardsBentoSharp';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
import ScrollReveal from '@/components/ui/ScrollReveal';
|
||||
import TextAnimation from '@/components/ui/TextAnimation';
|
||||
import GridOrCarousel from '@/components/ui/GridOrCarousel';
|
||||
import Card from '@/components/ui/Card';
|
||||
import Tag from '@/components/ui/Tag';
|
||||
|
||||
export default function BeersSection() {
|
||||
const beers = [
|
||||
{
|
||||
name: "Mountain Pale Ale",
|
||||
type: "Pale Ale",
|
||||
abv: "5.5%",
|
||||
description: "A crisp and refreshing pale ale with notes of pine and citrus, brewed with local mountain spring water.",
|
||||
alt: "Glass of pale ale craft beer with pine background"
|
||||
},
|
||||
{
|
||||
name: "Cedar Stout",
|
||||
type: "Stout",
|
||||
abv: "7.2%",
|
||||
description: "Rich and complex with deep roasted coffee and dark chocolate flavors, perfect for chilly evenings.",
|
||||
alt: "Pint of dark stout craft beer with roasted coffee beans"
|
||||
},
|
||||
{
|
||||
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"
|
||||
}
|
||||
];
|
||||
|
||||
export default function BeersSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="beers" data-section="beers">
|
||||
<SectionErrorBoundary name="beers">
|
||||
<FeaturesRevealCardsBentoSharp
|
||||
tag="Our Signature Collection"
|
||||
title="Taste the Craftsmanship"
|
||||
description="From crisp lagers to robust stouts, each Cedar Mountain brew tells a story of Vermont's rich landscape and our dedication to the art of brewing. Discover our most popular and beloved beers."
|
||||
items={[
|
||||
{
|
||||
title: "Maple Amber Ale",
|
||||
description: "A rich, malty ale with subtle notes of Vermont maple syrup, balanced by a clean hop finish. Perfect for any season.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/composed-books-autumnal-goods_23-2147687094.jpg",
|
||||
},
|
||||
{
|
||||
title: "Cascade IPA",
|
||||
description: "Our flagship IPA, bursting with vibrant citrus and pine aromas from generous Cascade hop additions. Bold, refreshing, and truly iconic.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-psd/flat-design-oktoberfest-celebration-poster_23-2150683567.jpg",
|
||||
},
|
||||
{
|
||||
title: "Stout Mountain Porter",
|
||||
description: "A dark and brooding porter with deep roasted malt flavors, hints of chocolate and coffee, and a creamy texture. A comforting classic.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-bottles-bear-dark-background_140725-94854.jpg",
|
||||
},
|
||||
{
|
||||
title: "Summertime Lager",
|
||||
description: "Light, crisp, and incredibly refreshing. Our lager is brewed for sunny days and good company, with a clean finish that invites another sip.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/celebration-beer-cheers-concept-close-up-hand-holding-up-glasses-beer-man_1150-6458.jpg",
|
||||
},
|
||||
{
|
||||
title: "Harvest Wheat Beer",
|
||||
description: "A hazy, unfiltered wheat beer brewed with local Vermont wheat, offering subtle fruit and spice notes. A true taste of the harvest.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/composition-with-tasty-american-beer_23-2148907632.jpg",
|
||||
},
|
||||
{
|
||||
title: "Barrel-Aged Scotch Ale",
|
||||
description: "A robust Scotch Ale aged in oak barrels, developing complex vanilla, caramel, and smoky characteristics. A beer for sipping and savoring.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/pints-draught-beer-macro-photography_53876-101409.jpg",
|
||||
},
|
||||
{
|
||||
title: "Raspberry Sour",
|
||||
description: "A delightfully tart and fruity sour ale, brewed with real Vermont raspberries for a vibrant color and juicy, refreshing flavor.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-friends-beach-with-beer_23-2147827103.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
<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) => (
|
||||
<ScrollReveal key={index} variant="slide-up" delay={index * 0.1}>
|
||||
<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">
|
||||
<div className="relative h-72 w-full bg-muted/50">
|
||||
<img
|
||||
src=""
|
||||
alt={beer.alt}
|
||||
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>
|
||||
))}
|
||||
</GridOrCarousel>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user