From e20f8df3dd82a4ca0d98633821c63f242e7c2787 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sat, 20 Jun 2026 22:23:11 +0000 Subject: [PATCH 1/3] Bob AI: fix build error in src/components/Layout.tsx --- src/components/Layout.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index f7e986f..926b9c8 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -43,6 +43,7 @@ export default function Layout() { Date: Sat, 20 Jun 2026 22:23:21 +0000 Subject: [PATCH 2/3] Update src/components/Layout.tsx --- src/components/Layout.tsx | 61 ++++++++++++--------------------------- 1 file changed, 19 insertions(+), 42 deletions(-) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 926b9c8..e631f25 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider"; export default function Layout() { const navItems = [ { - "name": "الرئيسية", - "href": "#hero" + "name": "الرئيسية", "href": "#hero" }, { - "name": "المنتجات", - "href": "#products" + "name": "المنتجات", "href": "#products" }, { - "name": "من نحن", - "href": "#about" + "name": "من نحن", "href": "#about" }, { - "name": "تواصل معنا", - "href": "#contact" + "name": "تواصل معنا", "href": "#contact" }, { - "name": "Features", - "href": "#features" + "name": "Features", "href": "#features" }, { - "name": "Metrics", - "href": "#metrics" + "name": "Metrics", "href": "#metrics" }, { - "name": "Testimonials", - "href": "#testimonials" + "name": "Testimonials", "href": "#testimonials" } ]; @@ -43,11 +36,9 @@ export default function Layout() {
@@ -58,43 +49,29 @@ export default function Layout() { brand="الكابتن للمنتجات الرياضية" columns={[ { - title: "روابط سريعة", - items: [ + title: "روابط سريعة", items: [ { - label: "الرئيسية", - href: "#hero", - }, + label: "الرئيسية", href: "#hero"}, { - label: "المنتجات", - href: "#products", - }, + label: "المنتجات", href: "#products"}, ], }, { - title: "خدماتنا", - items: [ + title: "خدماتنا", items: [ { - label: "توصيل سريع", - href: "#", - }, + label: "توصيل سريع", href: "#"}, { - label: "ضمان الجودة", - href: "#", - }, + label: "ضمان الجودة", href: "#"}, ], }, - ]} + ], copyright="© 2024 الكابتن للمنتجات الرياضية. جميع الحقوق محفوظة." links={[ { - label: "سياسة الخصوصية", - href: "#", - }, + label: "سياسة الخصوصية", href: "#"}, { - label: "شروط الاستخدام", - href: "#", - }, - ]} + label: "شروط الاستخدام", href: "#"}, + ], imageSrc="http://img.b2bpic.net/free-vector/basketball-logo-template_23-2149588968.jpg" /> -- 2.49.1 From de21a35aafbb7f0276858e649c414c82d5133b76 Mon Sep 17 00:00:00 2001 From: bender Date: Sat, 20 Jun 2026 22:23:22 +0000 Subject: [PATCH 3/3] Update src/pages/HomePage.tsx --- src/pages/HomePage.tsx | 133 +++++++++-------------------------------- 1 file changed, 27 insertions(+), 106 deletions(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index a6913b4..25683af 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -18,20 +18,14 @@ export default function HomePage() { title="ارتقِ بأدائك الرياضي إلى المستوى التالي" description="نقدم أفضل التجهيزات الرياضية للرياضيين المحترفين والهواة في الوطن العربي." primaryButton={{ - text: "تسوق المنتجات", - href: "#products", - }} + text: "تسوق المنتجات", href: "#products"}} secondaryButton={{ - text: "من نحن", - href: "#about", - }} + text: "من نحن", href: "#about"}} items={[ { - imageSrc: "http://img.b2bpic.net/free-photo/fitness-equipment_53876-30407.jpg", - }, + imageSrc: "http://img.b2bpic.net/free-photo/fitness-equipment_53876-30407.jpg"}, { - imageSrc: "http://img.b2bpic.net/free-photo/half-naked-young-african-sportsman-resting_171337-9436.jpg", - }, + imageSrc: "http://img.b2bpic.net/free-photo/half-naked-young-african-sportsman-resting_171337-9436.jpg"}, ]} /> @@ -53,25 +47,13 @@ export default function HomePage() { description="نختار بعناية فائقة أفضل التجهيزات الرياضية من كبرى العلامات التجارية العالمية." features={[ { - title: "معدات متينة", - description: "منتجات مصممة لتحمل أصعب ظروف التدريب.", - imageSrc: "http://img.b2bpic.net/free-photo/dumbbells-floor-gym-ai-generative_123827-23745.jpg", - }, + title: "معدات متينة", description: "منتجات مصممة لتحمل أصعب ظروف التدريب.", imageSrc: "http://img.b2bpic.net/free-photo/dumbbells-floor-gym-ai-generative_123827-23745.jpg"}, { - title: "تقنيات متطورة", - description: "أحدث الأدوات المساعدة لتحسين الأداء.", - imageSrc: "http://img.b2bpic.net/free-photo/full-shot-woman-training-with-elastic-band_23-2150405141.jpg", - }, + title: "تقنيات متطورة", description: "أحدث الأدوات المساعدة لتحسين الأداء.", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-woman-training-with-elastic-band_23-2150405141.jpg"}, { - title: "راحة مطلقة", - description: "تصاميم تضمن لك الراحة والتركيز التام.", - imageSrc: "http://img.b2bpic.net/free-photo/close-up-rolled-exercise-mat-grass_1262-3470.jpg", - }, + title: "راحة مطلقة", description: "تصاميم تضمن لك الراحة والتركيز التام.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-rolled-exercise-mat-grass_1262-3470.jpg"}, { - title: "توصيل سريع", - description: "نوفر خدمات شحن سريعة لجميع أنحاء المنطقة.", - imageSrc: "http://img.b2bpic.net/free-photo/purple-yoga-mat-water-bottle-black-dumbbell-green-grass_8353-8177.jpg", - }, + title: "توصيل سريع", description: "نوفر خدمات شحن سريعة لجميع أنحاء المنطقة.", imageSrc: "http://img.b2bpic.net/free-photo/purple-yoga-mat-water-bottle-black-dumbbell-green-grass_8353-8177.jpg"}, ]} /> @@ -85,47 +67,19 @@ export default function HomePage() { description="كل ما تحتاجه للتميز في رياضتك المفضلة." items={[ { - title: "كرة قدم", - description: "احترافية للمباريات التنافسية.", - href: "#", - imageSrc: "http://img.b2bpic.net/free-photo/view-soccer-shoes-field-grass_23-2150887529.jpg", - }, + title: "كرة قدم", description: "احترافية للمباريات التنافسية.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/view-soccer-shoes-field-grass_23-2150887529.jpg"}, { - title: "مضرب تنس", - description: "خفيف الوزن وقوة دفع عالية.", - href: "#", - imageSrc: "http://img.b2bpic.net/free-photo/tennis-equipment-playing_23-2147829467.jpg", - }, + title: "مضرب تنس", description: "خفيف الوزن وقوة دفع عالية.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/tennis-equipment-playing_23-2147829467.jpg"}, { - title: "كرة سلة", - description: "قبضة مثالية للتحكم التام.", - href: "#", - imageSrc: "http://img.b2bpic.net/free-photo/fit-basketball-athlete-training-outdoors_23-2148393842.jpg", - }, + title: "كرة سلة", description: "قبضة مثالية للتحكم التام.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/fit-basketball-athlete-training-outdoors_23-2148393842.jpg"}, { - title: "نظارات سباحة", - description: "رؤية واضحة ومريحة للعين.", - href: "#", - imageSrc: "http://img.b2bpic.net/free-photo/summer-concept-with-beach-objects_23-2147646894.jpg", - }, + title: "نظارات سباحة", description: "رؤية واضحة ومريحة للعين.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/summer-concept-with-beach-objects_23-2147646894.jpg"}, { - title: "قفازات ملاكمة", - description: "حماية فائقة وراحة لليد.", - href: "#", - imageSrc: "http://img.b2bpic.net/free-photo/cheeky-handsome-man-white-shirt-with-golden-boxing-glove-is-standing-dark-studio_613910-13158.jpg", - }, + title: "قفازات ملاكمة", description: "حماية فائقة وراحة لليد.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/cheeky-handsome-man-white-shirt-with-golden-boxing-glove-is-standing-dark-studio_613910-13158.jpg"}, { - title: "خوذة دراجات", - description: "أمان وتهوية ممتازة.", - href: "#", - imageSrc: "http://img.b2bpic.net/free-photo/close-up-bicycle-gears_1232-2197.jpg", - }, + title: "خوذة دراجات", description: "أمان وتهوية ممتازة.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/close-up-bicycle-gears_1232-2197.jpg"}, { - title: "ساعة رياضية", - description: "تتبع دقيق لأدائك الحيوي.", - href: "#", - imageSrc: "http://img.b2bpic.net/free-photo/active-sportsman-catches-breath-after-covering-long-distance-running-outdoor_273609-43694.jpg", - }, + title: "ساعة رياضية", description: "تتبع دقيق لأدائك الحيوي.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/active-sportsman-catches-breath-after-covering-long-distance-running-outdoor_273609-43694.jpg"}, ]} /> @@ -139,11 +93,7 @@ export default function HomePage() { description="أكثر من عقد في خدمة قطاع الرياضة." metrics={[ { - value: "10k+", - title: "منتج تم بيعه", - description: "جودة مضمونه لكل عميل.", - imageSrc: "http://img.b2bpic.net/free-photo/man-weightlifter-doing-leg-presses-with-his-trainer-sports-couple-is-working-out-gym_613910-2604.jpg", - }, + value: "10k+", title: "منتج تم بيعه", description: "جودة مضمونه لكل عميل.", imageSrc: "http://img.b2bpic.net/free-photo/man-weightlifter-doing-leg-presses-with-his-trainer-sports-couple-is-working-out-gym_613910-2604.jpg"}, ]} /> @@ -154,37 +104,18 @@ export default function HomePage() { @@ -198,17 +129,11 @@ export default function HomePage() { description="إليك الإجابات على أكثر الأسئلة شيوعاً." items={[ { - question: "كيف يمكنني إرجاع المنتج؟", - answer: "يمكنك التواصل معنا خلال 14 يوماً من الاستلام.", - }, + question: "كيف يمكنني إرجاع المنتج؟", answer: "يمكنك التواصل معنا خلال 14 يوماً من الاستلام."}, { - question: "هل الشحن متاح عالمياً؟", - answer: "نحن نشحن حالياً لجميع دول الخليج العربي.", - }, + question: "هل الشحن متاح عالمياً؟", answer: "نحن نشحن حالياً لجميع دول الخليج العربي."}, { - question: "هل يوجد ضمان على المعدات؟", - answer: "نعم، نقدم ضماناً لمدة عام على كافة المعدات.", - }, + question: "هل يوجد ضمان على المعدات؟", answer: "نعم، نقدم ضماناً لمدة عام على كافة المعدات."}, ]} imageSrc="http://img.b2bpic.net/free-photo/necessary-set-training_23-2147829435.jpg" /> @@ -221,13 +146,9 @@ export default function HomePage() { tag="اتصل بنا" text="جاهز للبدء؟ تواصل معنا اليوم لاستفساراتكم." primaryButton={{ - text: "إرسال رسالة", - href: "#", - }} + text: "إرسال رسالة", href: "#"}} secondaryButton={{ - text: "اتصل الآن", - href: "#", - }} + text: "اتصل الآن", href: "#"}} /> -- 2.49.1