From f7170443aef548ed21acbe64bfa45f238a024c42 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sat, 20 Jun 2026 23:17:27 +0000 Subject: [PATCH 1/2] Bob AI: fix build error in src/pages/HomePage.tsx --- src/pages/HomePage.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 2e48d16..c4b61a1 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -46,8 +46,6 @@ export default function HomePage() { }, { videoSrc: "http://img.b2bpic.net/free-photo/view-coffee-machine-making-coffee-home_23-2151699736.jpg", - imageSrc: "http://img.b2bpic.net/free-photo/homemade-fruit-berry-tea-with-mint_114579-11295.jpg?_wi=1", - imageAlt: "barista brewing coffee bookstore atmosphere", }, ]} /> @@ -64,7 +62,6 @@ export default function HomePage() { { title: "کاپوچینو ویژه", description: "۱۲۰ هزار تومان - طعم کلاسیک با هنر لاته", - videoSrc: "http://img.b2bpic.net/free-photo/tea-book_23-2147776704.jpg?_wi=2", imageSrc: "http://img.b2bpic.net/free-photo/tea-book_23-2147776704.jpg?_wi=3", imageAlt: "cappuccino latte art steam close up", }, -- 2.49.1 From d3f56cd97d8771bbe56905fc92c28bb157910ad2 Mon Sep 17 00:00:00 2001 From: bender Date: Sat, 20 Jun 2026 23:17:33 +0000 Subject: [PATCH 2/2] Update src/pages/HomePage.tsx --- src/pages/HomePage.tsx | 259 ++++++++++++----------------------------- 1 file changed, 76 insertions(+), 183 deletions(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index c4b61a1..437dce8 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -9,200 +9,93 @@ import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; export default function HomePage() { return ( <> -
- +
+ - -
+ tag="کافه کتاب لیبریا" + title="تجربه‌ای متفاوت از منو" + description="اولین منوی ویدیویی هوشمند؛ تماشا کنید، انتخاب کنید و لذت ببرید." + primaryButton={{ text: "مشاهده منو", href: "#menu" }} + secondaryButton={{ text: "درباره ما", href: "#about" }} + items={[ + { videoSrc: "http://img.b2bpic.net/free-photo/woman-pouring-sugar-into-coffee_23-2147765328.jpg" }, + { videoSrc: "http://img.b2bpic.net/free-photo/young-girl-works-cafe-bar_1321-4330.jpg" }, + { videoSrc: "http://img.b2bpic.net/free-photo/close-up-girl-pouring-coffee-mug_23-2148350191.jpg" }, + { videoSrc: "http://img.b2bpic.net/free-photo/tool-used-coffee-machine-coffee-making-process_23-2150187556.jpg" }, + { videoSrc: "http://img.b2bpic.net/free-photo/view-coffee-machine-making-coffee-home_23-2151699736.jpg" } + ]} + /> +
+
- -
- +
+ - -
+ title="درباره کافه کتاب لیبریا" + primaryButton={{ text: "تماس با ما", href: "#contact" }} + /> +
+
-
- +
+ - -
+ tag="تجربه ما" + title="چگونه منوی ویدیویی کار می‌کند؟" + description="ساده، سریع و بسیار جذاب." + steps={[ + { tag: "۱", title: "تماشا کنید", subtitle: "ویدیوهای محصولات", description: "بدون خواندن متن‌های طولانی، محصول را به صورت واقعی ببینید.", videoSrc: "http://img.b2bpic.net/free-photo/book-near-cup-woolen-plaid-table_23-2147952643.jpg" }, + { tag: "۲", title: "انتخاب کنید", subtitle: "سفارش راحت", description: "با تماشای ویدیو، طعم و کیفیت را حس کنید.", videoSrc: "http://img.b2bpic.net/free-photo/hot-green-tea-glass-with-cream-topped-with-green-tea-decorated-with-green-tea-powder_1150-23335.jpg" }, + { tag: "۳", title: "لذت ببرید", subtitle: "سرو گرم", description: "سفارش شما در کوتاه‌ترین زمان آماده می‌شود.", videoSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-cheesecake-with-strawberry-chocolate-plate-bowls_140725-105622.jpg" } + ]} + /> +
+
-
- +
+ - -
+ tag="پرسش‌های متداول" + title="آیا سوالی دارید؟" + description="ما اینجا هستیم تا پاسخگوی شما باشیم." + items={[ + { question: "چرا منوی ویدیویی?", answer: "چون دیدن واقعی محصول، اعتماد و جذابیت بیشتری دارد." }, + { question: "آیا ویدیوها در موبایل روان هستند?", answer: "بله، سیستم ما برای بهترین عملکرد در تمام دستگاه‌ها بهینه شده است." }, + { question: "آیا سفارش آنلاین ممکن است?", answer: "بله، می‌توانید از طریق منو سفارش خود را ثبت کنید." } + ]} + /> +
+
-
- +
+ - -
+ tag="ارتباط با ما" + text="برای رزرو و سوالات با ما در تماس باشید." + primaryButton={{ text: "تماس تلفنی", href: "tel:+982100000000" }} + secondaryButton={{ text: "اینستاگرام", href: "#" }} + /> +
+
); } -- 2.49.1