Merge version_4_1782155066695 into main #3

Merged
bender merged 1 commits from version_4_1782155066695 into main 2026-06-22 19:06:29 +00:00

View File

@@ -1,37 +1,137 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "menu" section.
/* eslint-disable */
// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body
import { Info } from "lucide-react";
import TextAnimation from "@/components/ui/TextAnimation";
import ImageOrVideo from "@/components/ui/ImageOrVideo";
import GridOrCarousel from "@/components/ui/GridOrCarousel";
import Button from "@/components/ui/Button";
import ScrollReveal from "@/components/ui/ScrollReveal";
import React from 'react';
import FeaturesRevealCards from '@/components/sections/features/FeaturesRevealCards';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
const items = [
{
title: "Omakase Selection",
description: "Chef's premium selection of seasonal nigiri and sashimi. €85",
imageSrc: "http://img.b2bpic.net/free-photo/tasty-sushi-rolls-table_23-2148505531.jpg"
},
{
title: "Dragon Roll",
description: "Eel, cucumber, topped with avocado and unagi sauce. €18",
imageSrc: "http://img.b2bpic.net/free-photo/front-view-tasty-sushi-meal-fish-rolls-with-fish-rice-along-with-sauce-grey-wall_140725-46909.jpg"
},
{
title: "Salmon Nigiri Set",
description: "Fresh Atlantic salmon over seasoned sushi rice. €22",
imageSrc: "https://picsum.photos/seed/391916356/1200/800"
},
{
title: "Shrimp Tempura",
description: "Lightly battered and fried shrimp with dipping sauce. €14",
imageSrc: "https://picsum.photos/seed/625526388/1200/800"
},
{
title: "Spicy Tuna Crunch",
description: "Spicy tuna, tempura flakes, topped with spicy mayo. €16",
imageSrc: "http://img.b2bpic.net/free-photo/pasta-with-beef-parts-black-pan_114579-81662.jpg"
},
{
title: "Wok Fried Udon",
description: "Thick udon noodles stir-fried with vegetables and savory sauce. €19",
imageSrc: "https://picsum.photos/seed/246292624/1200/800"
}
];
export default function MenuSection(): React.JSX.Element {
type FeatureItem = {
title: string;
description: string;
} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never });
interface FeaturesRevealCardsProps {
tag: string;
title: string;
description: string;
primaryButton?: { text: string; href: string };
secondaryButton?: { text: string; href: string };
items: FeatureItem[];
}
const MenuInline = () => {
return (
<div id="menu" data-section="menu">
<SectionErrorBoundary name="menu">
<FeaturesRevealCards
tag="Signature Selection"
title="Explore Our Culinary Delights"
description="From traditional nigiri to inventive signature rolls, every piece is a work of art."
items={[
{
title: "Premium Sushi Selection",
description: "Hand-picked, fresh fish prepared to perfection by our expert masters.",
imageSrc: "http://img.b2bpic.net/free-photo/tasty-sushi-rolls-table_23-2148505531.jpg",
},
{
title: "Crispy Tempura Creations",
description: "Light, golden, and incredibly satisfying authentic appetizers.",
imageSrc: "http://img.b2bpic.net/free-photo/front-view-tasty-sushi-meal-fish-rolls-with-fish-rice-along-with-sauce-grey-wall_140725-46909.jpg",
},
{
title: "Authentic Wok Specialities",
description: "Sizzling, aromatic noodle dishes prepared in our signature wok style.",
imageSrc: "http://img.b2bpic.net/free-photo/pasta-with-beef-parts-black-pan_114579-81662.jpg",
},
]}
/>
</SectionErrorBoundary>
<section aria-label="Features section" className="py-20">
<div className="flex flex-col gap-8 md:gap-10">
<div className="flex flex-col items-center w-content-width mx-auto gap-2">
<div className="px-3 py-1 mb-1 text-sm card rounded w-fit">
<p>{"Signature Selection"}</p>
</div>
<TextAnimation
text={"Explore Our Culinary Delights"}
variant="slide-up"
gradientText={true}
tag="h2"
className="md:max-w-8/10 text-6xl 2xl:text-7xl leading-[1.15] font-semibold text-center text-balance"
/>
<TextAnimation
text={"From traditional nigiri to inventive signature rolls, every piece is a work of art."}
variant="slide-up"
gradientText={false}
tag="p"
className="md:max-w-7/10 text-lg md:text-xl leading-snug text-center text-balance"
/>
{(undefined || undefined) && (
<div className="flex flex-wrap justify-center gap-3 mt-2 md:mt-3">
{undefined && <Button text={undefined.text} href={undefined.href} variant="primary" />}
{undefined && <Button text={undefined.text} href={undefined.href} variant="secondary" animationDelay={0.1} />}
</div>
)}
</div>
<ScrollReveal variant="fade">
<GridOrCarousel>
{items.map((item, index) => (
<div key={item.title} className="group relative overflow-hidden aspect-6/7 rounded">
<ImageOrVideo imageSrc={item.imageSrc} videoSrc={item.videoSrc} className="absolute inset-0" />
<div className="absolute top-4 left-4 xl:top-6 xl:left-6 2xl:top-8 2xl:left-8 z-20 perspective-[1000px]">
<div className="relative size-8 transform-3d transition-transform duration-400 group-hover:rotate-y-180">
<div className="absolute inset-0 flex items-center justify-center text-sm rounded bg-background backface-hidden text-foreground">
<p>{index + 1}</p>
</div>
<div className="absolute inset-0 flex items-center justify-center rounded bg-background backface-hidden rotate-y-180">
<Info className="h-1/2 w-1/2 text-foreground" strokeWidth={1.5} />
</div>
</div>
</div>
<div className="absolute -inset-x-px -bottom-px h-2/5 backdrop-blur-xl mask-fade-top-overlay" aria-hidden="true" />
<div className="absolute inset-x-2 bottom-2 xl:inset-x-3 xl:bottom-3 2xl:inset-x-4 2xl:bottom-4 z-10">
<div className="relative flex flex-col gap-0 group-hover:gap-1 xl:group-hover:gap-2 2xl:group-hover:gap-3 p-2 xl:p-3 2xl:p-4 transition-all duration-400">
<div className="absolute inset-0 -z-10 card rounded translate-y-full opacity-0 transition-all duration-400 ease-out group-hover:translate-y-0 group-hover:opacity-100" />
<h3 className="text-2xl font-semibold leading-snug text-white transition-colors duration-400 group-hover:text-foreground">
{item.title}
</h3>
<div className="grid grid-rows-[0fr] transition-all duration-400 ease-out group-hover:grid-rows-[1fr]">
<p className="overflow-hidden text-sm leading-snug text-foreground opacity-0 transition-opacity duration-400 group-hover:opacity-100">
{item.description}
</p>
</div>
</div>
</div>
</div>
))}
</GridOrCarousel>
</ScrollReveal>
</div>
</section>
);
};
export default function MenuSection() {
return (
<div data-webild-section="menu" id="menu">
<MenuInline />
</div>
);
}