Bob AI: Changed menu section background to black

This commit is contained in:
kudinDmitriyUp
2026-06-22 16:48:56 +00:00
parent c15a0d0e6d
commit 3dbcffb2ce
9 changed files with 425 additions and 223 deletions

View File

@@ -1,235 +1,36 @@
import AboutText from '@/components/sections/about/AboutText';
import ContactCta from '@/components/sections/contact/ContactCta';
import FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn';
import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento';
import FeaturesMediaCards from '@/components/sections/features/FeaturesMediaCards';
import HeroBrand from '@/components/sections/hero/HeroBrand';
import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards';
import TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
// AUTO-GENERATED shell by per-section-migrate.
// Section bodies live in ./<PageBase>/sections/<X>.tsx. Edit the section
// files directly. Non-block content (wrappers, non-inlinable sections) is
// preserved inline; extracted section blocks become <XSection/> refs.
export default function HomePage() {
import React from 'react';
import HeroSection from './HomePage/sections/Hero';
import AboutSection from './HomePage/sections/About';
import MenuSection from './HomePage/sections/Menu';
import MetricsSection from './HomePage/sections/Metrics';
import TestimonialsSection from './HomePage/sections/Testimonials';
import FaqSection from './HomePage/sections/Faq';
import FeaturesSection from './HomePage/sections/Features';
import ContactSection from './HomePage/sections/Contact';
export default function HomePage(): React.JSX.Element {
return (
<>
<div id="hero" data-section="hero">
<SectionErrorBoundary name="hero">
<HeroBrand
brand="Ardente"
description="Autentica Pizzeria a Perignano. Sapori della tradizione italiana cotti nel forno a legna."
primaryButton={{
text: "Prenota",
href: "tel:0587352851",
}}
secondaryButton={{
text: "Vedi Menu",
href: "#menu",
}}
imageSrc="https://storage.googleapis.com/webild/users/user_3FV2hO4NydMVCjTTuKnHHXFgwuQ/uploaded-1782146823599-2shesvik.jpg"
/>
</SectionErrorBoundary>
</div>
<>
<HeroSection />
<div id="about" data-section="about">
<SectionErrorBoundary name="about">
<AboutText
title="Passione per la Tradizione"
primaryButton={{
text: "Scopri di più",
href: "#contact",
}}
/>
</SectionErrorBoundary>
</div>
<AboutSection />
<div id="menu" data-section="menu">
<SectionErrorBoundary name="menu">
<FeaturesImageBento
tag="Il Nostro Menu"
title="Specialità Ardente"
description="Dalle pizze classiche alle nostre creazioni speciali, ingredienti freschi e passione."
items={[
{
title: "Pizze Classiche",
description: "Tradizione intramontabile",
imageSrc: "http://img.b2bpic.net/free-photo/delicious-fresh-pizza_23-2151946420.jpg",
},
{
title: "Antipasti",
description: "La scelta del gusto",
imageSrc: "http://img.b2bpic.net/free-photo/delicious-pasta-fork_23-2147749504.jpg",
},
{
title: "Pizze Speciali",
description: "Creatività al forno",
imageSrc: "http://img.b2bpic.net/free-photo/delicious-floral-feast-still-life_23-2149509065.jpg",
},
{
title: "Primi Piatti",
description: "Pasta fresca fatta a mano",
imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-dumpling-soup-with-seasonings-green-surface-food-meal-soup-dough-meat_140725-72333.jpg",
},
{
title: "Secondi",
description: "Selezione di carni",
imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-pasta-ingredients-table_23-2148361339.jpg",
},
{
title: "Contorni",
description: "Verdure fresche",
imageSrc: "http://img.b2bpic.net/free-photo/side-view-caesar-salad-with-shrimps_141793-4791.jpg",
},
{
title: "Focaccine",
description: "Fragranza pura",
imageSrc: "http://img.b2bpic.net/free-photo/italian-chef-is-putting-gourmet-freshly-made-pizza-stone-oven_613910-14667.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
<MenuSection />
<div id="metrics" data-section="metrics">
<SectionErrorBoundary name="metrics">
<MetricsMediaCards
tag="La Nostra Qualità"
title="Numeri di Eccellenza"
description="La fiducia dei nostri clienti è la nostra ricetta migliore."
metrics={[
{
value: "4.8",
title: "Valutazione Google",
description: "Basato su oltre 20 recensioni entusiastiche",
imageSrc: "http://img.b2bpic.net/free-photo/food-arrangement-wooden-background_23-2148601636.jpg",
},
{
value: "100%",
title: "Qualità",
description: "Ingredienti locali e freschi",
imageSrc: "http://img.b2bpic.net/free-photo/selective-focus-shot-fresh-tomatoes-sliced-mushroom-with-blurred-background_181624-16687.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
<MetricsSection />
<div id="testimonials" data-section="testimonials">
<SectionErrorBoundary name="testimonials">
<TestimonialRatingCards
tag="Recensioni"
title="Cosa dicono i nostri ospiti"
description="Esperienze autentiche gustate da Ardente."
testimonials={[
{
name: "Marco Rossi",
role: "Cliente",
quote: "La migliore pizza di Perignano, impasto leggero e ingredienti freschissimi.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/man-presents-girl-ring_1398-4220.jpg",
},
{
name: "Elena Verdi",
role: "Cliente",
quote: "Ambiente accogliente e personale super cordiale, torneremo sicuramente!",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-man-ready-eat_23-2148899024.jpg",
},
{
name: "Giulia Bianchi",
role: "Cliente",
quote: "Pizza bufala eccellente, un'esplosione di sapore in ogni boccone.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-waitress-holding-tray-muffins-counter_107420-12317.jpg",
},
{
name: "Luca Neri",
role: "Cliente",
quote: "Qualità prezzo ottima, servizio veloce anche di sabato sera.",
rating: 4,
imageSrc: "http://img.b2bpic.net/free-photo/my-wife-always-prepares-best-meals_329181-14709.jpg",
},
{
name: "Sara Esposito",
role: "Cliente",
quote: "I taglieri sono generosi e buonissimi, posto fantastico per amici.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/young-friends-having-laugh-together_23-2148395336.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
<TestimonialsSection />
<div id="faq" data-section="faq">
<SectionErrorBoundary name="faq">
<FaqTwoColumn
tag="Info"
title="Domande Frequenti"
items={[
{
question: "Avete opzioni per asporto?",
answer: "Certamente! Puoi ordinare telefonicamente e passare a ritirare la tua pizza calda.",
},
{
question: "Quali sono gli orari di apertura?",
answer: "Siamo aperti tutti i giorni fino alle 22:30.",
},
{
question: "Dove vi trovate esattamente?",
answer: "Siamo in Via A. Gramsci, 160, 56035 Perignano PI.",
},
{
question: "Accettate prenotazioni?",
answer: "Sì, consigliamo sempre di prenotare chiamando il numero 0587 352851.",
},
]}
description="Hai altre domande? Contattaci."
/>
</SectionErrorBoundary>
</div>
<FaqSection />
<div id="features" data-section="features">
<SectionErrorBoundary name="features">
<FeaturesMediaCards
tag="Servizi"
title="La Nostra Proposta"
description="Vieni a trovarci per una serata indimenticabile."
items={[
{
title: "Consumazione sul posto",
description: "Goditi la pizza appena sfornata",
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-italian-pizza-table_23-2148305641.jpg",
},
{
title: "Servizio Asporto",
description: "La qualità Ardente a casa tua",
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-food-arrangement_23-2149267332.jpg",
},
{
title: "Prenotazioni",
description: "Assicura il tuo tavolo",
imageSrc: "http://img.b2bpic.net/free-photo/man-standing-near-baked-pizza-dough-with-ingredients_23-2148785691.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
<FeaturesSection />
<div id="contact" data-section="contact">
<SectionErrorBoundary name="contact">
<ContactCta
tag="Contattaci"
text="Pronto a gustare una pizza Ardente? Prenota ora il tuo tavolo o ordina da asporto."
primaryButton={{
text: "Chiama Ora",
href: "tel:0587352851",
}}
secondaryButton={{
text: "Indicazioni",
href: "https://maps.google.com",
}}
/>
</SectionErrorBoundary>
</div>
<ContactSection />
</>
);
}

View File

@@ -0,0 +1,22 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "about" section.
import React from 'react';
import AboutText from '@/components/sections/about/AboutText';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function AboutSection(): React.JSX.Element {
return (
<div id="about" data-section="about">
<SectionErrorBoundary name="about">
<AboutText
title="Passione per la Tradizione"
primaryButton={{
text: "Scopri di più",
href: "#contact",
}}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,27 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "contact" section.
import React from 'react';
import ContactCta from '@/components/sections/contact/ContactCta';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function ContactSection(): React.JSX.Element {
return (
<div id="contact" data-section="contact">
<SectionErrorBoundary name="contact">
<ContactCta
tag="Contattaci"
text="Pronto a gustare una pizza Ardente? Prenota ora il tuo tavolo o ordina da asporto."
primaryButton={{
text: "Chiama Ora",
href: "tel:0587352851",
}}
secondaryButton={{
text: "Indicazioni",
href: "https://maps.google.com",
}}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,38 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "faq" section.
import React from 'react';
import FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function FaqSection(): React.JSX.Element {
return (
<div id="faq" data-section="faq">
<SectionErrorBoundary name="faq">
<FaqTwoColumn
tag="Info"
title="Domande Frequenti"
items={[
{
question: "Avete opzioni per asporto?",
answer: "Certamente! Puoi ordinare telefonicamente e passare a ritirare la tua pizza calda.",
},
{
question: "Quali sono gli orari di apertura?",
answer: "Siamo aperti tutti i giorni fino alle 22:30.",
},
{
question: "Dove vi trovate esattamente?",
answer: "Siamo in Via A. Gramsci, 160, 56035 Perignano PI.",
},
{
question: "Accettate prenotazioni?",
answer: "Sì, consigliamo sempre di prenotare chiamando il numero 0587 352851.",
},
]}
description="Hai altre domande? Contattaci."
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,37 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "features" section.
import React from 'react';
import FeaturesMediaCards from '@/components/sections/features/FeaturesMediaCards';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function FeaturesSection(): React.JSX.Element {
return (
<div id="features" data-section="features">
<SectionErrorBoundary name="features">
<FeaturesMediaCards
tag="Servizi"
title="La Nostra Proposta"
description="Vieni a trovarci per una serata indimenticabile."
items={[
{
title: "Consumazione sul posto",
description: "Goditi la pizza appena sfornata",
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-italian-pizza-table_23-2148305641.jpg",
},
{
title: "Servizio Asporto",
description: "La qualità Ardente a casa tua",
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-food-arrangement_23-2149267332.jpg",
},
{
title: "Prenotazioni",
description: "Assicura il tuo tavolo",
imageSrc: "http://img.b2bpic.net/free-photo/man-standing-near-baked-pizza-dough-with-ingredients_23-2148785691.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,28 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "hero" section.
import React from 'react';
import HeroBrand from '@/components/sections/hero/HeroBrand';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function HeroSection(): React.JSX.Element {
return (
<div id="hero" data-section="hero">
<SectionErrorBoundary name="hero">
<HeroBrand
brand="Ardente"
description="Autentica Pizzeria a Perignano. Sapori della tradizione italiana cotti nel forno a legna."
primaryButton={{
text: "Prenota",
href: "tel:0587352851",
}}
secondaryButton={{
text: "Vedi Menu",
href: "#menu",
}}
imageSrc="https://storage.googleapis.com/webild/users/user_3FV2hO4NydMVCjTTuKnHHXFgwuQ/uploaded-1782146823599-2shesvik.jpg"
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,158 @@
/* 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 TextAnimation from "@/components/ui/TextAnimation";
import ImageOrVideo from "@/components/ui/ImageOrVideo";
import ScrollReveal from "@/components/ui/ScrollReveal";
import { cls } from "@/lib/utils";
const items = [
{
title: "Pizze Classiche",
description: "Tradizione intramontabile",
imageSrc: "http://img.b2bpic.net/free-photo/delicious-fresh-pizza_23-2151946420.jpg"
},
{
title: "Antipasti",
description: "La scelta del gusto",
imageSrc: "http://img.b2bpic.net/free-photo/delicious-pasta-fork_23-2147749504.jpg"
},
{
title: "Pizze Speciali",
description: "Creatività al forno",
imageSrc: "http://img.b2bpic.net/free-photo/delicious-floral-feast-still-life_23-2149509065.jpg"
},
{
title: "Primi Piatti",
description: "Pasta fresca fatta a mano",
imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-dumpling-soup-with-seasonings-green-surface-food-meal-soup-dough-meat_140725-72333.jpg"
},
{
title: "Secondi",
description: "Selezione di carni",
imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-pasta-ingredients-table_23-2148361339.jpg"
},
{
title: "Contorni",
description: "Verdure fresche",
imageSrc: "http://img.b2bpic.net/free-photo/side-view-caesar-salad-with-shrimps_141793-4791.jpg"
},
{
title: "Focaccine",
description: "Fragranza pura",
imageSrc: "http://img.b2bpic.net/free-photo/italian-chef-is-putting-gourmet-freshly-made-pizza-stone-oven_613910-14667.jpg"
}
];
type FeatureItem = {
title: string;
description: string;
href?: string;
} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never });
interface FeaturesImageBentoProps {
tag: string;
title: string;
description: string;
primaryButton?: { text: string; href: string };
secondaryButton?: { text: string; href: string };
items: [FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem];
}
const MenuInline = () => {
const gridClasses = [
"md:col-span-2",
"md:col-span-4",
"md:col-span-3",
"md:col-span-3",
"md:col-span-2",
"md:col-span-2",
"md:col-span-2",
];
const staggerDelays = [
0,
0.1,
0,
0.1,
0,
0.1,
0.2,
];
return (
<section aria-label="Features image bento section" className="py-20 bg-black">
<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>{"Il Nostro Menu"}</p>
</div>
<TextAnimation
text={"Specialità Ardente"}
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={"Dalle pizze classiche alle nostre creazioni speciali, ingredienti freschi e passione."}
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>
<div className="w-content-width mx-auto grid grid-cols-1 md:grid-cols-6 gap-3">
{items.map((item, index) => {
const content = (
<div className="relative h-80 xl:h-100 2xl:h-120 overflow-hidden">
<ImageOrVideo
imageSrc={item.imageSrc}
videoSrc={item.videoSrc}
className="rounded group-hover:scale-105 transition-transform duration-500"
/>
<div className="absolute inset-x-5 bottom-5 xl:inset-x-6 xl:bottom-6 2xl:inset-x-7 2xl:bottom-7 flex flex-col text-background">
<span className="text-2xl font-semibold leading-snug truncate">{item.title}</span>
<span className="text-base leading-snug truncate">{item.description}</span>
</div>
</div>
);
return (
<ScrollReveal key={index} variant="slide-up" delay={staggerDelays[index]} className={cls("col-span-1 group", gridClasses[index])}>
{item.href ? (
<a href={item.href} className="block overflow-hidden rounded">
{content}
</a>
) : (
<div className="overflow-hidden rounded">
{content}
</div>
)}
</ScrollReveal>
);
})}
</div>
</div>
</section>
);
};
export default function MenuSection() {
return (
<div data-webild-section="menu" id="menu">
<MenuInline />
</div>
);
}

View File

@@ -0,0 +1,34 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "metrics" section.
import React from 'react';
import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function MetricsSection(): React.JSX.Element {
return (
<div id="metrics" data-section="metrics">
<SectionErrorBoundary name="metrics">
<MetricsMediaCards
tag="La Nostra Qualità"
title="Numeri di Eccellenza"
description="La fiducia dei nostri clienti è la nostra ricetta migliore."
metrics={[
{
value: "4.8",
title: "Valutazione Google",
description: "Basato su oltre 20 recensioni entusiastiche",
imageSrc: "http://img.b2bpic.net/free-photo/food-arrangement-wooden-background_23-2148601636.jpg",
},
{
value: "100%",
title: "Qualità",
description: "Ingredienti locali e freschi",
imageSrc: "http://img.b2bpic.net/free-photo/selective-focus-shot-fresh-tomatoes-sliced-mushroom-with-blurred-background_181624-16687.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,57 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "testimonials" section.
import React from 'react';
import TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function TestimonialsSection(): React.JSX.Element {
return (
<div id="testimonials" data-section="testimonials">
<SectionErrorBoundary name="testimonials">
<TestimonialRatingCards
tag="Recensioni"
title="Cosa dicono i nostri ospiti"
description="Esperienze autentiche gustate da Ardente."
testimonials={[
{
name: "Marco Rossi",
role: "Cliente",
quote: "La migliore pizza di Perignano, impasto leggero e ingredienti freschissimi.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/man-presents-girl-ring_1398-4220.jpg",
},
{
name: "Elena Verdi",
role: "Cliente",
quote: "Ambiente accogliente e personale super cordiale, torneremo sicuramente!",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-man-ready-eat_23-2148899024.jpg",
},
{
name: "Giulia Bianchi",
role: "Cliente",
quote: "Pizza bufala eccellente, un'esplosione di sapore in ogni boccone.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-waitress-holding-tray-muffins-counter_107420-12317.jpg",
},
{
name: "Luca Neri",
role: "Cliente",
quote: "Qualità prezzo ottima, servizio veloce anche di sabato sera.",
rating: 4,
imageSrc: "http://img.b2bpic.net/free-photo/my-wife-always-prepares-best-meals_329181-14709.jpg",
},
{
name: "Sara Esposito",
role: "Cliente",
quote: "I taglieri sono generosi e buonissimi, posto fantastico per amici.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/young-friends-having-laugh-together_23-2148395336.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
);
}