Merge version_2_1781528111769 into main #1
@@ -1,258 +1,36 @@
|
||||
import AboutTextSplit from '@/components/sections/about/AboutTextSplit';
|
||||
import ContactCta from '@/components/sections/contact/ContactCta';
|
||||
import FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn';
|
||||
import FeaturesBentoGrid from '@/components/sections/features/FeaturesBentoGrid';
|
||||
import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento';
|
||||
import HeroSplitMediaGrid from '@/components/sections/hero/HeroSplitMediaGrid';
|
||||
import MetricsFeatureCards from '@/components/sections/metrics/MetricsFeatureCards';
|
||||
import TestimonialQuoteCards from '@/components/sections/testimonial/TestimonialQuoteCards';
|
||||
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 FeaturesSection from './HomePage/sections/Features';
|
||||
import TestimonialsSection from './HomePage/sections/Testimonials';
|
||||
import MetricsSection from './HomePage/sections/Metrics';
|
||||
import FaqSection from './HomePage/sections/Faq';
|
||||
import ContactSection from './HomePage/sections/Contact';
|
||||
|
||||
export default function HomePage(): React.JSX.Element {
|
||||
return (
|
||||
<>
|
||||
<div id="hero" data-section="hero">
|
||||
<SectionErrorBoundary name="hero">
|
||||
<HeroSplitMediaGrid
|
||||
tag="Smaki Pasji"
|
||||
title="Restauracja, do której chce się wracać"
|
||||
description="Odkryj wyśmienite dania w sercu Ostrołęki. Nasza pasja to Twoje zadowolenie."
|
||||
primaryButton={{
|
||||
text: "Zobacz Menu",
|
||||
href: "#menu",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "Rezerwuj Stolik",
|
||||
href: "#contact",
|
||||
}}
|
||||
items={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/luxury-dining-room-illuminated-by-candlelight-glow-generated-by-ai_188544-24152.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-little-delicious-cake-with-confitures-lemon-slices-inside-plate-dark-background-fruit-citrus-cookie-biscuit-sweet_140725-110249.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<>
|
||||
<HeroSection />
|
||||
|
||||
<div id="about" data-section="about">
|
||||
<SectionErrorBoundary name="about">
|
||||
<AboutTextSplit
|
||||
title="Nasza Historia"
|
||||
descriptions={[
|
||||
"Restauracja PASJA w Ostrołęce powstała z miłości do dobrego jedzenia i dbałości o każdy szczegół na talerzu.",
|
||||
"Nasza filozofia to świeże składniki, niebanalne połączenia smaków i atmosfera, dzięki której każdy nasz gość czuje się jak w domu.",
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<AboutSection />
|
||||
|
||||
<div id="menu" data-section="menu">
|
||||
<SectionErrorBoundary name="menu">
|
||||
<FeaturesImageBento
|
||||
tag="Nasze Specjały"
|
||||
title="Menu, które zachwyca"
|
||||
description="Sprawdź nasze najpopularniejsze dania przygotowywane z najwyższą dbałością."
|
||||
items={[
|
||||
{
|
||||
title: "Tatar z Łososia",
|
||||
description: "Delikatny łosoś z autorskimi dodatkami",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/raw-fresh-tuna-fish-meat-salad-with-avocado-mango_1203-9045.jpg",
|
||||
},
|
||||
{
|
||||
title: "Pancake z Owocami",
|
||||
description: "Puszyste naleśniki ze świeżymi owocami sezonowymi",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-yummy-chocolate-cookies-with-jam-cup-tea-blue-rustic-desk-cake-cocoa-tea-sweet-biscuit-cookie_140725-85719.jpg",
|
||||
},
|
||||
{
|
||||
title: "Domowa Lemoniada",
|
||||
description: "Świeżo wyciskana z malinowym musem",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/side-view-cornel-juice-with-drinking-tube-glass-jar-cornel-berries-wooden-surface-gray-background_141793-49472.jpg",
|
||||
},
|
||||
{
|
||||
title: "Sałatka Szefa",
|
||||
description: "Selekcja świeżych warzyw z chrupiącymi dodatkami",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/salad-put-jelly-roll-served-white-plate_1304-4656.jpg",
|
||||
},
|
||||
{
|
||||
title: "Krem Serowy",
|
||||
description: "Aksamitna zupa według tradycyjnej receptury",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/tomato-soup-with-onion-green-herbs_114579-3264.jpg",
|
||||
},
|
||||
{
|
||||
title: "Stek Klasyk",
|
||||
description: "Soczyste mięso sezonowane na miejscu",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-woman-dipping-steak-piece-into-sour-sauce_140725-5004.jpg",
|
||||
},
|
||||
{
|
||||
title: "Makaron z Pesto",
|
||||
description: "Włoska klasyka w nowoczesnym wydaniu",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-sliced-raw-dough-with-different-seasonings-dark-desk-meal-dinner-pasta-dough_140725-80292.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<MenuSection />
|
||||
|
||||
<div id="features" data-section="features">
|
||||
<SectionErrorBoundary name="features">
|
||||
<FeaturesBentoGrid
|
||||
tag="Dlaczego Pasja?"
|
||||
title="Co nas wyróżnia"
|
||||
description="Dbamy o to, by każda wizyta była wyjątkowym doświadczeniem."
|
||||
features={[
|
||||
{
|
||||
title: "Profesjonalna Obsługa",
|
||||
description: "Nasz zespół kelnerski zadba o każdy detal Twojego wieczoru.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/elegant-dining-table-setting-with-candles-decorations_23-2152009915.jpg",
|
||||
},
|
||||
{
|
||||
title: "Świeże Składniki",
|
||||
description: "Współpracujemy tylko z zaufanymi dostawcami produktów.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-chef-cooking-restaurant-kitchen_329181-16148.jpg",
|
||||
},
|
||||
{
|
||||
title: "Piękna Prezentacja",
|
||||
description: "Każde danie to małe dzieło sztuki kulinarnej.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-little-yummy-pancakes-with-fruits-dark-grey-surface-pie-cake-fruit_140725-82528.jpg",
|
||||
},
|
||||
{
|
||||
title: "Przytulne Wnętrze",
|
||||
description: "Galeria Alius oferuje przestrzeń, gdzie odpoczniesz od zgiełku.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/antique-ceiling-lamp_1203-804.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<FeaturesSection />
|
||||
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<SectionErrorBoundary name="testimonials">
|
||||
<TestimonialQuoteCards
|
||||
tag="Opinie Gości"
|
||||
title="Co mówią nasi klienci"
|
||||
description="Dziękujemy za każde miłe słowo i chęć powrotu do Pasji."
|
||||
testimonials={[
|
||||
{
|
||||
name: "Beata Waszczak",
|
||||
role: "Stały Gość",
|
||||
quote: "Jedzenie jest naprawdę pyszne, czas oczekiwania krótki, a obsługa kelnerska stoi na doskonałym poziomie.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-beautiful-brunette-woman-wearing-casual-sweater-standing-red-background-pointing-fingers-camera-with-happy-funny-face-good-energy-vibes_839833-6469.jpg",
|
||||
},
|
||||
{
|
||||
name: "Sara Nowińska",
|
||||
role: "Lokalna Smakoszka",
|
||||
quote: "Najlepsza restauracja w Ostrołęce! Idealnie doprawione, pięknie ozdobione duże porcje.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-pretty-female-office-worker-holding-phone-her-thumb-up-isolated-olive-green-wall_141793-78690.jpg",
|
||||
},
|
||||
{
|
||||
name: "Szafl",
|
||||
role: "Stały Gość",
|
||||
quote: "Bardzo smacznie i przyjemnie. Pięknie ozdobione dania i zbalansowane ceny.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-man-restaurant_23-2148395381.jpg",
|
||||
},
|
||||
{
|
||||
name: "Anna Kowalska",
|
||||
role: "Gość Restauracji",
|
||||
quote: "Idealne miejsce na obiad z rodziną, jedzenie zawsze na najwyższym poziomie.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/supportive-cute-blond-girlfriend-cheering-liking-interesting-concept-cool-idea-thumbsup-smiling_1258-229592.jpg",
|
||||
},
|
||||
{
|
||||
name: "Marek Nowak",
|
||||
role: "Gość Restauracji",
|
||||
quote: "Nie jadłem tak wyśmienitego naleśnika jak tutaj. Gorąco polecam każdemu!",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-couple-talking-while-eating-lunch-restaurant_637285-9017.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<TestimonialsSection />
|
||||
|
||||
<div id="metrics" data-section="metrics">
|
||||
<SectionErrorBoundary name="metrics">
|
||||
<MetricsFeatureCards
|
||||
tag="W Liczbach"
|
||||
title="Nasze Osiągnięcia"
|
||||
description="Jesteśmy dumni z zaufania, jakim obdarzają nas nasi goście."
|
||||
metrics={[
|
||||
{
|
||||
value: "4.8",
|
||||
title: "Ocena w Google",
|
||||
features: [
|
||||
"354 opinie",
|
||||
"Wysoka jakość",
|
||||
"Zadowoleni goście",
|
||||
],
|
||||
},
|
||||
{
|
||||
value: "100%",
|
||||
title: "Świeżość produktów",
|
||||
features: [
|
||||
"Dostawy codzienne",
|
||||
"Lokalni dostawcy",
|
||||
"Domowe receptury",
|
||||
],
|
||||
},
|
||||
{
|
||||
value: "10+",
|
||||
title: "Lat tradycji",
|
||||
features: [
|
||||
"Doświadczeni szefowie",
|
||||
"Zgrany zespół",
|
||||
"Pasja do gotowania",
|
||||
],
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<MetricsSection />
|
||||
|
||||
<div id="faq" data-section="faq">
|
||||
<SectionErrorBoundary name="faq">
|
||||
<FaqTwoColumn
|
||||
tag="Pytania"
|
||||
title="Często zadawane pytania"
|
||||
items={[
|
||||
{
|
||||
question: "Czy muszę dokonać rezerwacji?",
|
||||
answer: "Warto zarezerwować stolik, szczególnie w weekendy.",
|
||||
},
|
||||
{
|
||||
question: "Czy oferujecie dania na wynos?",
|
||||
answer: "Tak, większość dań z naszego menu jest dostępna na wynos.",
|
||||
},
|
||||
{
|
||||
question: "Gdzie was znaleźć?",
|
||||
answer: "Znajdujemy się w galerii Alius, ul. Fieldorfa 'Nila' 13a.",
|
||||
},
|
||||
{
|
||||
question: "Czy są dania wegetariańskie?",
|
||||
answer: "Tak, nasze menu zawiera wiele opcji wegetariańskich.",
|
||||
},
|
||||
]}
|
||||
description="Masz pytania? Sprawdź odpowiedzi poniżej."
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<FaqSection />
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<SectionErrorBoundary name="contact">
|
||||
<ContactCta
|
||||
tag="Kontakt"
|
||||
text="Zapraszamy do rezerwacji stolika i kontaktu w każdej sprawie."
|
||||
primaryButton={{
|
||||
text: "Zadzwoń: 601 799 990",
|
||||
href: "tel:601799990",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "Odwiedź Facebooka",
|
||||
href: "https://facebook.com",
|
||||
}}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<ContactSection />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
22
src/pages/HomePage/sections/About.tsx
Normal file
22
src/pages/HomePage/sections/About.tsx
Normal 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 AboutTextSplit from '@/components/sections/about/AboutTextSplit';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function AboutSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="about" data-section="about">
|
||||
<SectionErrorBoundary name="about">
|
||||
<AboutTextSplit
|
||||
title="Nasza Historia"
|
||||
descriptions={[
|
||||
"Restauracja PASJA w Ostrołęce powstała z miłości do dobrego jedzenia i dbałości o każdy szczegół na talerzu.",
|
||||
"Nasza filozofia to świeże składniki, niebanalne połączenia smaków i atmosfera, dzięki której każdy nasz gość czuje się jak w domu.",
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
27
src/pages/HomePage/sections/Contact.tsx
Normal file
27
src/pages/HomePage/sections/Contact.tsx
Normal 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="Kontakt"
|
||||
text="Zapraszamy do rezerwacji stolika i kontaktu w każdej sprawie."
|
||||
primaryButton={{
|
||||
text: "Zadzwoń: 601 799 990",
|
||||
href: "tel:601799990",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "Odwiedź Facebooka",
|
||||
href: "https://facebook.com",
|
||||
}}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
38
src/pages/HomePage/sections/Faq.tsx
Normal file
38
src/pages/HomePage/sections/Faq.tsx
Normal 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="Pytania"
|
||||
title="Często zadawane pytania"
|
||||
items={[
|
||||
{
|
||||
question: "Czy muszę dokonać rezerwacji?",
|
||||
answer: "Warto zarezerwować stolik, szczególnie w weekendy.",
|
||||
},
|
||||
{
|
||||
question: "Czy oferujecie dania na wynos?",
|
||||
answer: "Tak, większość dań z naszego menu jest dostępna na wynos.",
|
||||
},
|
||||
{
|
||||
question: "Gdzie was znaleźć?",
|
||||
answer: "Znajdujemy się w galerii Alius, ul. Fieldorfa 'Nila' 13a.",
|
||||
},
|
||||
{
|
||||
question: "Czy są dania wegetariańskie?",
|
||||
answer: "Tak, nasze menu zawiera wiele opcji wegetariańskich.",
|
||||
},
|
||||
]}
|
||||
description="Masz pytania? Sprawdź odpowiedzi poniżej."
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
42
src/pages/HomePage/sections/Features.tsx
Normal file
42
src/pages/HomePage/sections/Features.tsx
Normal file
@@ -0,0 +1,42 @@
|
||||
// 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 FeaturesBentoGrid from '@/components/sections/features/FeaturesBentoGrid';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function FeaturesSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="features" data-section="features">
|
||||
<SectionErrorBoundary name="features">
|
||||
<FeaturesBentoGrid
|
||||
tag="Dlaczego Pasja?"
|
||||
title="Co nas wyróżnia"
|
||||
description="Dbamy o to, by każda wizyta była wyjątkowym doświadczeniem."
|
||||
features={[
|
||||
{
|
||||
title: "Profesjonalna Obsługa",
|
||||
description: "Nasz zespół kelnerski zadba o każdy detal Twojego wieczoru.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/elegant-dining-table-setting-with-candles-decorations_23-2152009915.jpg",
|
||||
},
|
||||
{
|
||||
title: "Świeże Składniki",
|
||||
description: "Współpracujemy tylko z zaufanymi dostawcami produktów.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-chef-cooking-restaurant-kitchen_329181-16148.jpg",
|
||||
},
|
||||
{
|
||||
title: "Piękna Prezentacja",
|
||||
description: "Każde danie to małe dzieło sztuki kulinarnej.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-little-yummy-pancakes-with-fruits-dark-grey-surface-pie-cake-fruit_140725-82528.jpg",
|
||||
},
|
||||
{
|
||||
title: "Przytulne Wnętrze",
|
||||
description: "Galeria Alius oferuje przestrzeń, gdzie odpoczniesz od zgiełku.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/antique-ceiling-lamp_1203-804.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
36
src/pages/HomePage/sections/Hero.tsx
Normal file
36
src/pages/HomePage/sections/Hero.tsx
Normal file
@@ -0,0 +1,36 @@
|
||||
// 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 HeroSplitMediaGrid from '@/components/sections/hero/HeroSplitMediaGrid';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function HeroSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="hero" data-section="hero">
|
||||
<SectionErrorBoundary name="hero">
|
||||
<HeroSplitMediaGrid
|
||||
tag="Smaki Pasji"
|
||||
title="Restauracja, do której chce się wracać"
|
||||
description="Odkryj wyśmienite dania w sercu Ostrołęki. Nasza pasja to Twoje zadowolenie."
|
||||
primaryButton={{
|
||||
text: "Zobacz Menu",
|
||||
href: "#menu",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "Rezerwuj Stolik",
|
||||
href: "#contact",
|
||||
}}
|
||||
items={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/luxury-dining-room-illuminated-by-candlelight-glow-generated-by-ai_188544-24152.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-little-delicious-cake-with-confitures-lemon-slices-inside-plate-dark-background-fruit-citrus-cookie-biscuit-sweet_140725-110249.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
158
src/pages/HomePage/sections/Menu.tsx
Normal file
158
src/pages/HomePage/sections/Menu.tsx
Normal 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: "Tatar Z Łososia",
|
||||
description: "Warte uwagi - Delikatny łosoś z autorskimi dodatkami",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/raw-fresh-tuna-fish-meat-salad-with-avocado-mango_1203-9045.jpg"
|
||||
},
|
||||
{
|
||||
title: "Pancake Z Owocami",
|
||||
description: "Warte uwagi - Puszyste naleśniki ze świeżymi owocami",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-yummy-chocolate-cookies-with-jam-cup-tea-blue-rustic-desk-cake-cocoa-tea-sweet-biscuit-cookie_140725-85719.jpg"
|
||||
},
|
||||
{
|
||||
title: "Placki Ziemniaczane z Wędzonym Łososiem",
|
||||
description: "Popularne - Chrupiące placki z delikatnym łososiem",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/side-view-cornel-juice-with-drinking-tube-glass-jar-cornel-berries-wooden-surface-gray-background_141793-49472.jpg"
|
||||
},
|
||||
{
|
||||
title: "Dorsz W Pomarańczach",
|
||||
description: "Popularne - Świeży dorsz w cytrusowym sosie",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/salad-put-jelly-roll-served-white-plate_1304-4656.jpg"
|
||||
},
|
||||
{
|
||||
title: "Pancake Z Camembertem",
|
||||
description: "Popularne - Wytrawne naleśniki z serem camembert",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/tomato-soup-with-onion-green-herbs_114579-3264.jpg"
|
||||
},
|
||||
{
|
||||
title: "Krem Z Białych Warzyw 250ml",
|
||||
description: "Popularne - Aksamitny krem z sezonowych warzyw",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-woman-dipping-steak-piece-into-sour-sauce_140725-5004.jpg"
|
||||
},
|
||||
{
|
||||
title: "Makaron z Pesto",
|
||||
description: "Włoska klasyka w nowoczesnym wydaniu",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-sliced-raw-dough-with-different-seasonings-dark-desk-meal-dinner-pasta-dough_140725-80292.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">
|
||||
<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>{"Nasze Specjały"}</p>
|
||||
</div>
|
||||
|
||||
<TextAnimation
|
||||
text={"Menu, które zachwyca"}
|
||||
variant="fade-blur"
|
||||
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={"Sprawdź nasze najpopularniejsze dania przygotowywane z najwyższą dbałością."}
|
||||
variant="fade-blur"
|
||||
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>
|
||||
);
|
||||
}
|
||||
49
src/pages/HomePage/sections/Metrics.tsx
Normal file
49
src/pages/HomePage/sections/Metrics.tsx
Normal file
@@ -0,0 +1,49 @@
|
||||
// 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 MetricsFeatureCards from '@/components/sections/metrics/MetricsFeatureCards';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function MetricsSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="metrics" data-section="metrics">
|
||||
<SectionErrorBoundary name="metrics">
|
||||
<MetricsFeatureCards
|
||||
tag="W Liczbach"
|
||||
title="Nasze Osiągnięcia"
|
||||
description="Jesteśmy dumni z zaufania, jakim obdarzają nas nasi goście."
|
||||
metrics={[
|
||||
{
|
||||
value: "4.8",
|
||||
title: "Ocena w Google",
|
||||
features: [
|
||||
"354 opinie",
|
||||
"Wysoka jakość",
|
||||
"Zadowoleni goście",
|
||||
],
|
||||
},
|
||||
{
|
||||
value: "100%",
|
||||
title: "Świeżość produktów",
|
||||
features: [
|
||||
"Dostawy codzienne",
|
||||
"Lokalni dostawcy",
|
||||
"Domowe receptury",
|
||||
],
|
||||
},
|
||||
{
|
||||
value: "10+",
|
||||
title: "Lat tradycji",
|
||||
features: [
|
||||
"Doświadczeni szefowie",
|
||||
"Zgrany zespół",
|
||||
"Pasja do gotowania",
|
||||
],
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
52
src/pages/HomePage/sections/Testimonials.tsx
Normal file
52
src/pages/HomePage/sections/Testimonials.tsx
Normal file
@@ -0,0 +1,52 @@
|
||||
// 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 TestimonialQuoteCards from '@/components/sections/testimonial/TestimonialQuoteCards';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function TestimonialsSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<SectionErrorBoundary name="testimonials">
|
||||
<TestimonialQuoteCards
|
||||
tag="Opinie Gości"
|
||||
title="Co mówią nasi klienci"
|
||||
description="Dziękujemy za każde miłe słowo i chęć powrotu do Pasji."
|
||||
testimonials={[
|
||||
{
|
||||
name: "Beata Waszczak",
|
||||
role: "Stały Gość",
|
||||
quote: "Jedzenie jest naprawdę pyszne, czas oczekiwania krótki, a obsługa kelnerska stoi na doskonałym poziomie.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-beautiful-brunette-woman-wearing-casual-sweater-standing-red-background-pointing-fingers-camera-with-happy-funny-face-good-energy-vibes_839833-6469.jpg",
|
||||
},
|
||||
{
|
||||
name: "Sara Nowińska",
|
||||
role: "Lokalna Smakoszka",
|
||||
quote: "Najlepsza restauracja w Ostrołęce! Idealnie doprawione, pięknie ozdobione duże porcje.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-pretty-female-office-worker-holding-phone-her-thumb-up-isolated-olive-green-wall_141793-78690.jpg",
|
||||
},
|
||||
{
|
||||
name: "Szafl",
|
||||
role: "Stały Gość",
|
||||
quote: "Bardzo smacznie i przyjemnie. Pięknie ozdobione dania i zbalansowane ceny.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-man-restaurant_23-2148395381.jpg",
|
||||
},
|
||||
{
|
||||
name: "Anna Kowalska",
|
||||
role: "Gość Restauracji",
|
||||
quote: "Idealne miejsce na obiad z rodziną, jedzenie zawsze na najwyższym poziomie.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/supportive-cute-blond-girlfriend-cheering-liking-interesting-concept-cool-idea-thumbsup-smiling_1258-229592.jpg",
|
||||
},
|
||||
{
|
||||
name: "Marek Nowak",
|
||||
role: "Gość Restauracji",
|
||||
quote: "Nie jadłem tak wyśmienitego naleśnika jak tutaj. Gorąco polecam każdemu!",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-couple-talking-while-eating-lunch-restaurant_637285-9017.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user