Merge version_35_1782587675316 into main #36

Merged
bender merged 1 commits from version_35_1782587675316 into main 2026-06-27 19:15:51 +00:00

View File

@@ -1,36 +1,91 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "hero" section.
/* eslint-disable */
// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body
import Button from "@/components/ui/Button";
import HeroBackgroundSlot from "@/components/ui/HeroBackgroundSlot";
import TextAnimation from "@/components/ui/TextAnimation";
import ImageOrVideo from "@/components/ui/ImageOrVideo";
import ScrollReveal from "@/components/ui/ScrollReveal";
import React from 'react';
import HeroSplitMediaGrid from '@/components/sections/hero/HeroSplitMediaGrid';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
const primaryButton = {
text: "See Menu",
href: "#products"
};
const secondaryButton = {
text: "Reserve Table",
href: "#contact"
};
const items = [
{
imageSrc: "https://storage.googleapis.com/webild/users/user_3FJRV03nE3LwAAG5jRBAh31loHt/uploaded-1782583772817-n6egaer7.jpg"
},
{
imageSrc: "https://storage.googleapis.com/webild/users/user_3FJRV03nE3LwAAG5jRBAh31loHt/uploaded-1782584263660-flxntje2.webp"
}
];
export default function HeroSection(): React.JSX.Element {
type HeroSplitMediaGridProps = {
tag: string;
title: string;
description: string;
primaryButton: { text: string; href: string };
secondaryButton: { text: string; href: string };
items: [
{ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never },
{ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }
];
};
const HeroInline = () => {
return (
<div id="hero" data-section="hero">
<SectionErrorBoundary name="hero">
<HeroSplitMediaGrid
tag="Southern Vermont's Premiere Taqueria"
title="Authentic Mexican Flavors in Wilmington"
description="Experience fresh, creative Mexican cuisine in a warm, friendly atmosphere. From classic margaritas to our famous casita style tacos, we bring the best of Mexico to Vermont."
primaryButton={{
text: "See Menu",
href: "#products",
}}
secondaryButton={{
text: "Reserve Table",
href: "#contact",
}}
items={[
{
imageSrc: "https://storage.googleapis.com/webild/users/user_3FJRV03nE3LwAAG5jRBAh31loHt/uploaded-1782583772817-n6egaer7.jpg",
},
{
imageSrc: "https://storage.googleapis.com/webild/users/user_3FJRV03nE3LwAAG5jRBAh31loHt/uploaded-1782584263660-flxntje2.webp",
},
]}
/>
</SectionErrorBoundary>
<section aria-label="Hero section" className="relative flex items-center h-fit md:h-svh pt-25 pb-20 md:py-0">
<HeroBackgroundSlot />
<div className="flex flex-col md:flex-row items-center gap-12 md:gap-20 w-content-width mx-auto">
<div className="w-full md:w-1/2">
<div className="flex flex-col items-center md:items-start gap-3">
<div className="px-3 py-1 mb-1 text-sm card rounded w-fit">
<p>{"Southern Vermont's Premiere Taqueria"}</p>
</div>
<TextAnimation
text={"Authentic Mexican Flavors in Wilmington"}
variant="slide-up"
gradientText={true}
tag="h1"
className="text-7xl 2xl:text-8xl leading-[1.15] font-semibold text-center md:text-left text-balance"
/>
<TextAnimation
text={"Experience fresh, creative Mexican cuisine in a warm, friendly atmosphere. From classic margaritas to our famous casita style tacos, we bring the best of Mexico to Vermont."}
variant="slide-up"
gradientText={false}
tag="p"
className="md:max-w-8/10 text-lg md:text-xl leading-snug text-center md:text-left text-balance"
/>
<div className="flex flex-wrap max-md:justify-center gap-3 mt-2 md:mt-3">
<Button text={primaryButton.text} href={primaryButton.href} variant="primary"/>
<Button text={secondaryButton.text} href={secondaryButton.href} variant="secondary"animationDelay={0.1} />
<Button text="Call for Takeout" href="#" variant="secondary" animationDelay={0.2} />
</div>
</div>
</div>
<ScrollReveal variant="fade-blur" delay={0.2} className="w-full md:w-1/2 grid grid-cols-2 gap-2 xl:gap-3 2xl:gap-4">
{items.map((item, index) => (
<div key={index} className="h-80 md:h-[55vh] p-2 xl:p-3 2xl:p-4 card rounded overflow-hidden">
<ImageOrVideo imageSrc={item.imageSrc} videoSrc={item.videoSrc} />
</div>
))}
</ScrollReveal>
</div>
</section>
);
};
export default function HeroSection() {
return (
<div data-webild-section="hero" id="hero">
<HeroInline />
</div>
);
}