Merge version_2_1781452420817 into main #2

Merged
bender merged 1 commits from version_2_1781452420817 into main 2026-06-14 15:55:50 +00:00
10 changed files with 357 additions and 256 deletions

View File

@@ -1,19 +1,19 @@
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lalezar&display=swap');
@import "tailwindcss";
@import "./styles/masks.css";
@import "./styles/animations.css";
:root {
/* @colorThemes/lightTheme/grayNavyBlue */
--background: #f5faff;
--card: #ffffff;
--foreground: #001122;
--primary-cta: #15479c;
--primary-cta-text: #f5faff;
--background: #ffffff;
--card: #fff9fb;
--foreground: #2d1b24;
--primary-cta: #FF4FA3;
--primary-cta-text: #ffffff;
--secondary-cta: #ffffff;
--secondary-cta-text: #001122;
--accent: #a8cce8;
--background-accent: #7ba3cf;
--secondary-cta-text: #2d1b24;
--accent: #ffcce2;
--background-accent: #fdf2f7;
/* @layout/border-radius/rounded */
--radius: 0.5rem;
@@ -88,7 +88,7 @@
--color-background-accent: var(--background-accent);
/* Fonts */
--font-sans: 'Nunito Sans', sans-serif;
--font-sans: 'Lalezar', system-ui;
--font-tight: "Inter Tight", sans-serif;
--font-mono: monospace;

View File

@@ -1,258 +1,36 @@
import AboutTestimonial from '@/components/sections/about/AboutTestimonial';
import ContactCta from '@/components/sections/contact/ContactCta';
import FaqTabbedAccordion from '@/components/sections/faq/FaqTabbedAccordion';
import FeaturesComparison from '@/components/sections/features/FeaturesComparison';
import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento';
import HeroBrand from '@/components/sections/hero/HeroBrand';
import MetricsFeatureCards from '@/components/sections/metrics/MetricsFeatureCards';
import TestimonialMarqueeOverlayCards from '@/components/sections/testimonial/TestimonialMarqueeOverlayCards';
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 MetricsSection from './HomePage/sections/Metrics';
import TestimonialsSection from './HomePage/sections/Testimonials';
import OrderSection from './HomePage/sections/Order';
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="صورتی"
description="تازه، خوشمزه، متفاوت"
primaryButton={{
text: "مشاهده منو",
href: "#menu",
}}
secondaryButton={{
text: "ثبت سفارش",
href: "#order",
}}
imageSrc="http://img.b2bpic.net/free-photo/close-up-toast-sandwich-wooden-board_23-2148454706.jpg"
/>
</SectionErrorBoundary>
</div>
<>
<HeroSection />
<div id="about" data-section="about">
<SectionErrorBoundary name="about">
<AboutTestimonial
tag="درباره ما"
quote="ما در صورتی به کیفیت مواد اولیه اهمیت می‌دهیم تا هر ساندویچ، تجربه‌ای باشد از طعم و سلامت. با استفاده از تازه‌ترین نان‌ها و سبزیجات، تجربه‌ای متفاوت برای شما خلق می‌کنیم."
author="تیم صورتی"
role="اصالت ما در تازگی است"
imageSrc="http://img.b2bpic.net/free-photo/happy-couple-talking-each-other-lunch-time-restaurant-focus-is-woman-eating-sandwich_637285-1962.jpg"
/>
</SectionErrorBoundary>
</div>
<AboutSection />
<div id="menu" data-section="menu">
<SectionErrorBoundary name="menu">
<FeaturesImageBento
tag="منوی ما"
title="ساندویچ‌های سرد صورتی"
description="انتخابی از بهترین مواد اولیه برای یک تجربه متفاوت."
items={[
{
title: "ساندویچ مرغ ویژه",
description: "سینه مرغ تازه، سس مخصوص، کاهو فرانسوی",
imageSrc: "http://img.b2bpic.net/free-photo/small-snacks-sandwiches-with-salty-salmon_2829-19743.jpg?_wi=1",
},
{
title: "روست بیف سرد",
description: "گوشت گوساله تازه، پنیر گودا، سبزیجات معطر",
imageSrc: "http://img.b2bpic.net/free-photo/philly-cheesesteak-sandwich_123827-22045.jpg",
},
{
title: "وجی لاور",
description: "آووکادو، گوجه گیلاسی، پنیر فتا، گردو",
imageSrc: "http://img.b2bpic.net/free-photo/sandwich-with-ham-fresh-vegetables_2829-14219.jpg",
},
{
title: "ساندویچ ژامبون کلاسیک",
description: "ژامبون مرغ درجه یک، خیارشور، سس خردل",
imageSrc: "http://img.b2bpic.net/free-photo/club-sandwich-panini-with-ham-cheese-wooden-table-picnic-food_2829-7090.jpg",
},
{
title: "ساندویچ تن و زیتون",
description: "ماهی تن تازه، زیتون سیاه، روغن زیتون",
imageSrc: "http://img.b2bpic.net/free-photo/tuna-charcoal-sandwich_1339-8042.jpg",
},
{
title: "بوقلمون دودی",
description: "بوقلمون دودی تازه، کاهو، پنیر خامه‌ای",
imageSrc: "http://img.b2bpic.net/free-photo/turkey-sandwich-with-cranberry-sauce-thanksgiving_123827-34870.jpg",
},
{
title: "سالاد فصل صورتی",
description: "ترکیبی از سبزیجات ارگانیک با سس مخصوص",
imageSrc: "http://img.b2bpic.net/free-photo/top-view-fresh-vegetables-glass-bowl-bottle-oil_114579-68647.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
<MenuSection />
<div id="features" data-section="features">
<SectionErrorBoundary name="features">
<FeaturesComparison
tag="چرا ما؟"
title="تفاوت در کیفیت"
description="صورتی، انتخابی متفاوت برای کسانی که به سلامت خود اهمیت می‌دهند."
negativeItems={[
"مواد اولیه صنعتی",
"غذاهای مانده",
"ارسال کند",
"بسته‌بندی غیراستاندارد",
"طعم‌های تکراری",
]}
positiveItems={[
"مواد اولیه تازه و ارگانیک",
"پخت روزانه",
"ارسال سریع در کمترین زمان",
"بسته‌بندی دوستدار محیط زیست",
"طعم‌های خلاقانه و خاص",
]}
/>
</SectionErrorBoundary>
</div>
<FeaturesSection />
<div id="metrics" data-section="metrics">
<SectionErrorBoundary name="metrics">
<MetricsFeatureCards
tag="آمار ما"
title="اعتماد شما، سرمایه ما"
metrics={[
{
value: "۱۰۰۰+",
title: "مشتری راضی",
features: [
"طعم تضمین‌شده",
"کیفیت بالا",
],
},
{
value: "۳۰",
title: "دقیقه تحویل",
features: [
"ارسال سریع",
"بسته‌بندی حرفه‌ای",
],
},
{
value: "۵۰+",
title: "آیتم در منو",
features: [
"تنوع بالا",
"مواد اولیه تازه",
],
},
]}
description="ارائه بهترین کیفیت در تمام روزهای هفته."
/>
</SectionErrorBoundary>
</div>
<MetricsSection />
<div id="testimonials" data-section="testimonials">
<SectionErrorBoundary name="testimonials">
<TestimonialMarqueeOverlayCards
tag="نظرات مشتریان"
title="مشتریان ما چه می‌گویند؟"
testimonials={[
{
name: "سارا رضایی",
role: "دانشجو",
company: "تهران",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/low-angle-friends-shaking-hands_23-2148395404.jpg",
},
{
name: "علی حسینی",
role: "مهندس",
company: "کرج",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/side-view-female-chef-smelling-cut-grapefruit_23-2148491304.jpg",
},
{
name: "مریم احمدی",
role: "طراح",
company: "تهران",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/successful-young-man-stylish-hat-relaxing-alone-cozy-cafeteria-lunch-break-looking-with-happy-expression_273609-1935.jpg",
},
{
name: "رضا محمدی",
role: "برنامه‌نویس",
company: "اصفهان",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/afro-woman-joying-holds-two-peppers_8353-10029.jpg",
},
{
name: "مینا کریمی",
role: "هنرمند",
company: "تهران",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/woman-looking-goodies-local-producer_23-2149110825.jpg",
},
]}
description="شنیدن تجربیات مشتریان برای ما ارزشمند است."
/>
</SectionErrorBoundary>
</div>
<TestimonialsSection />
<div id="order" data-section="order">
<SectionErrorBoundary name="order">
<ContactCta
tag="ثبت سفارش"
text="همین حالا ساندویچ محبوب خود را انتخاب کرده و ثبت سفارش کنید."
primaryButton={{
text: "مشاهده اپلیکیشن",
href: "#",
}}
secondaryButton={{
text: "تماس مستقیم",
href: "tel:0210000000",
}}
/>
</SectionErrorBoundary>
</div>
<OrderSection />
<div id="contact" data-section="contact">
<SectionErrorBoundary name="contact">
<FaqTabbedAccordion
tag="سوالات متداول"
title="هر آنچه باید بدانید"
categories={[
{
name: "خدمات",
items: [
{
question: "زمان تحویل چقدر است؟",
answer: "در سریع‌ترین زمان ممکن، حداکثر ۳۰ دقیقه.",
},
{
question: "آیا ارسال دارید؟",
answer: "بله، به تمام نقاط شهر.",
},
{
question: "ساعات کاری شما چطور است؟",
answer: "همه روزه از ساعت ۱۰ صبح تا ۱۰ شب.",
},
],
},
{
name: "سفارش",
items: [
{
question: "چگونه سفارش بدهیم؟",
answer: "از طریق سایت یا اپلیکیشن صورتی.",
},
{
question: "امکان تغییر محتویات ساندویچ هست؟",
answer: "بله، در مرحله سفارش می‌توانید تغییرات دلخواه را ثبت کنید.",
},
],
},
]}
description="پاسخ به سوالات رایج شما درباره خدمات و محصولات صورتی."
/>
</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 AboutTestimonial from '@/components/sections/about/AboutTestimonial';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function AboutSection(): React.JSX.Element {
return (
<div id="about" data-section="about">
<SectionErrorBoundary name="about">
<AboutTestimonial
tag="درباره ما"
quote="ما در صورتی به کیفیت مواد اولیه اهمیت می‌دهیم تا هر ساندویچ، تجربه‌ای باشد از طعم و سلامت. با استفاده از تازه‌ترین نان‌ها و سبزیجات، تجربه‌ای متفاوت برای شما خلق می‌کنیم."
author="تیم صورتی"
role="اصالت ما در تازگی است"
imageSrc="http://img.b2bpic.net/free-photo/happy-couple-talking-each-other-lunch-time-restaurant-focus-is-woman-eating-sandwich_637285-1962.jpg"
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,52 @@
// 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 FaqTabbedAccordion from '@/components/sections/faq/FaqTabbedAccordion';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function ContactSection(): React.JSX.Element {
return (
<div id="contact" data-section="contact">
<SectionErrorBoundary name="contact">
<FaqTabbedAccordion
tag="سوالات متداول"
title="هر آنچه باید بدانید"
categories={[
{
name: "خدمات",
items: [
{
question: "زمان تحویل چقدر است؟",
answer: "در سریع‌ترین زمان ممکن، حداکثر ۳۰ دقیقه.",
},
{
question: "آیا ارسال دارید؟",
answer: "بله، به تمام نقاط شهر.",
},
{
question: "ساعات کاری شما چطور است؟",
answer: "همه روزه از ساعت ۱۰ صبح تا ۱۰ شب.",
},
],
},
{
name: "سفارش",
items: [
{
question: "چگونه سفارش بدهیم؟",
answer: "از طریق سایت یا اپلیکیشن صورتی.",
},
{
question: "امکان تغییر محتویات ساندویچ هست؟",
answer: "بله، در مرحله سفارش می‌توانید تغییرات دلخواه را ثبت کنید.",
},
],
},
]}
description="پاسخ به سوالات رایج شما درباره خدمات و محصولات صورتی."
/>
</SectionErrorBoundary>
</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 "features" section.
import React from 'react';
import FeaturesComparison from '@/components/sections/features/FeaturesComparison';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function FeaturesSection(): React.JSX.Element {
return (
<div id="features" data-section="features">
<SectionErrorBoundary name="features">
<FeaturesComparison
tag="چرا ما؟"
title="تفاوت در کیفیت"
description="صورتی، انتخابی متفاوت برای کسانی که به سلامت خود اهمیت می‌دهند."
negativeItems={[
"مواد اولیه صنعتی",
"غذاهای مانده",
"ارسال کند",
"بسته‌بندی غیراستاندارد",
"طعم‌های تکراری",
]}
positiveItems={[
"مواد اولیه تازه و ارگانیک",
"پخت روزانه",
"ارسال سریع در کمترین زمان",
"بسته‌بندی دوستدار محیط زیست",
"طعم‌های خلاقانه و خاص",
]}
/>
</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="صورتی"
description="تازه، خوشمزه، متفاوت"
primaryButton={{
text: "مشاهده منو",
href: "#menu",
}}
secondaryButton={{
text: "ثبت سفارش",
href: "#order",
}}
imageSrc="http://img.b2bpic.net/free-photo/close-up-toast-sandwich-wooden-board_23-2148454706.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 "menu" section.
import React from 'react';
import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function MenuSection(): React.JSX.Element {
return (
<div id="menu" data-section="menu">
<SectionErrorBoundary name="menu">
<FeaturesImageBento
tag="منوی ما"
title="ساندویچ‌های سرد صورتی"
description="انتخابی از بهترین مواد اولیه برای یک تجربه متفاوت."
items={[
{
title: "ساندویچ مرغ ویژه",
description: "سینه مرغ تازه، سس مخصوص، کاهو فرانسوی",
imageSrc: "http://img.b2bpic.net/free-photo/small-snacks-sandwiches-with-salty-salmon_2829-19743.jpg?_wi=1",
},
{
title: "روست بیف سرد",
description: "گوشت گوساله تازه، پنیر گودا، سبزیجات معطر",
imageSrc: "http://img.b2bpic.net/free-photo/philly-cheesesteak-sandwich_123827-22045.jpg",
},
{
title: "وجی لاور",
description: "آووکادو، گوجه گیلاسی، پنیر فتا، گردو",
imageSrc: "http://img.b2bpic.net/free-photo/sandwich-with-ham-fresh-vegetables_2829-14219.jpg",
},
{
title: "ساندویچ ژامبون کلاسیک",
description: "ژامبون مرغ درجه یک، خیارشور، سس خردل",
imageSrc: "http://img.b2bpic.net/free-photo/club-sandwich-panini-with-ham-cheese-wooden-table-picnic-food_2829-7090.jpg",
},
{
title: "ساندویچ تن و زیتون",
description: "ماهی تن تازه، زیتون سیاه، روغن زیتون",
imageSrc: "http://img.b2bpic.net/free-photo/tuna-charcoal-sandwich_1339-8042.jpg",
},
{
title: "بوقلمون دودی",
description: "بوقلمون دودی تازه، کاهو، پنیر خامه‌ای",
imageSrc: "http://img.b2bpic.net/free-photo/turkey-sandwich-with-cranberry-sauce-thanksgiving_123827-34870.jpg",
},
{
title: "سالاد فصل صورتی",
description: "ترکیبی از سبزیجات ارگانیک با سس مخصوص",
imageSrc: "http://img.b2bpic.net/free-photo/top-view-fresh-vegetables-glass-bowl-bottle-oil_114579-68647.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,46 @@
// 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="آمار ما"
title="اعتماد شما، سرمایه ما"
metrics={[
{
value: "۱۰۰۰+",
title: "مشتری راضی",
features: [
"طعم تضمین‌شده",
"کیفیت بالا",
],
},
{
value: "۳۰",
title: "دقیقه تحویل",
features: [
"ارسال سریع",
"بسته‌بندی حرفه‌ای",
],
},
{
value: "۵۰+",
title: "آیتم در منو",
features: [
"تنوع بالا",
"مواد اولیه تازه",
],
},
]}
description="ارائه بهترین کیفیت در تمام روزهای هفته."
/>
</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 "order" section.
import React from 'react';
import ContactCta from '@/components/sections/contact/ContactCta';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function OrderSection(): React.JSX.Element {
return (
<div id="order" data-section="order">
<SectionErrorBoundary name="order">
<ContactCta
tag="ثبت سفارش"
text="همین حالا ساندویچ محبوب خود را انتخاب کرده و ثبت سفارش کنید."
primaryButton={{
text: "مشاهده اپلیکیشن",
href: "#",
}}
secondaryButton={{
text: "تماس مستقیم",
href: "tel:0210000000",
}}
/>
</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 TestimonialMarqueeOverlayCards from '@/components/sections/testimonial/TestimonialMarqueeOverlayCards';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function TestimonialsSection(): React.JSX.Element {
return (
<div id="testimonials" data-section="testimonials">
<SectionErrorBoundary name="testimonials">
<TestimonialMarqueeOverlayCards
tag="نظرات مشتریان"
title="مشتریان ما چه می‌گویند؟"
testimonials={[
{
name: "سارا رضایی",
role: "دانشجو",
company: "تهران",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/low-angle-friends-shaking-hands_23-2148395404.jpg",
},
{
name: "علی حسینی",
role: "مهندس",
company: "کرج",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/side-view-female-chef-smelling-cut-grapefruit_23-2148491304.jpg",
},
{
name: "مریم احمدی",
role: "طراح",
company: "تهران",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/successful-young-man-stylish-hat-relaxing-alone-cozy-cafeteria-lunch-break-looking-with-happy-expression_273609-1935.jpg",
},
{
name: "رضا محمدی",
role: "برنامه‌نویس",
company: "اصفهان",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/afro-woman-joying-holds-two-peppers_8353-10029.jpg",
},
{
name: "مینا کریمی",
role: "هنرمند",
company: "تهران",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/woman-looking-goodies-local-producer_23-2149110825.jpg",
},
]}
description="شنیدن تجربیات مشتریان برای ما ارزشمند است."
/>
</SectionErrorBoundary>
</div>
);
}