I will explore the project structure to see the available files and setup.
I will read package.json to check existing libraries and dependencies.
I will install lucide-react for premium icons to complement our minimalist quantum computing aesthetic.
I will examine index.html to add beautiful Arabic Google Fonts and set up the page title and RTL attributes.
I will update index.html to configure right-to-left (RTL) Arabic layout, set an elegant Arabic page title, and load premium Google Fonts ('Cairo' and 'Alexandria').
I will inspect src/index.css to review current styling and ensure font families and utility animations are configured correctly.
I will update src/index.css to include custom keyframe animations, styling for smooth transitions, and premium minimalist Arabic typography presets.
I will create src/types.ts to define the TypeScript interfaces for our questions, poll results, three-color probability distributions, analytical reasons, and what-if simulation variables.
I will create src/data/questionsData.ts with professionally written mock data containing highly detailed analysis, reasons, and interactive simulation modifiers for featured questions.
I will create src/components/QuantumHeaderVisual.tsx to provide the premium Quantum Computer illustration and interactive simulation controls at the top of the website.
I will create src/components/Navbar.tsx for an elegant premium header with a clean logo, category filtering links, and an interactive question submission button.
I will create src/components/ReasonDrawer.tsx to display the analytical breakdown and AI explanations when a user clicks on any percentage segment.
I will clean up the unused variable in src/components/ReasonDrawer.tsx.
I will create src/components/QuestionCard.tsx to showcase the predictive questions, the interactive three-color percentage bar (Green, Red, Yellow), voting controls with confetti animations, and scenario simulations.
I will create src/components/AddQuestionModal.tsx allowing users to formulate custom prediction questions and instantly generate probabilistic AI results and analytical reasons.
I will clean up unused imports in AddQuestionModal.tsx.
I will create src/components/Footer.tsx to provide a premium minimalist footer with authoritative simulation notices and navigation links.
I will update src/components/Footer.tsx to use universal Lucide icons.
I will fix the icon JSX elements in Footer.tsx.
I will rewrite src/App.tsx to integrate our components, mock data, search & sorting controls, interactive modals, and probability drawers in an elegant Arabic layout.
I will add export default App; to src/App.tsx and clean up unused React imports.
I will add export default App; to src/App.tsx.
I will examine src/main.tsx to confirm correct setup.
I will run build_project to test for any build or compilation errors.
تم الانتهاء من بناء الموقع بنجاح وفقاً لجميع متطلباتك وتصاميمك المحددة بدقة:
✨ ميزات وتصميم المنصة (كُمُوم - Quantum Predict):
-
التصميم الأنيق والبسيط (أبيض وأسود):
- واجهة عصرية ومريحة للعين تعتمد على الخلفية البيضاء النقية والنصوص السوداء الكلاسيكية، مع استخدام خطوط عربية حديثة وراقية ("Alexandria" و "Cairo") وحواف منحنية ناعمة.
-
رسمة وشعار الحاسوب الكمومي في أعلى الصفحة:
- تم تصميم قسم تفاعلي ومتحرك في أعلى الصفحة يمثل نواة حاسوب كمومي (Quantum Core) بحلقات مدارية دوارة وكيوبتات نبضية، ترمز للذكاء الاصطناعي، قوة الحوسبة، والتوقعات الدقيقة.
- يحتوي القسم على أزرار تفاعلية تتيح للمستخدم تحديث ومحاكاة الحسابات الاحتمالية لحظياً.
-
شريط النتيجة الملون بثلاثة ألوان:
- يعرض الموقع تساؤلات مستقبلية مشوقة (مثل: "من سيفوز بالانتخابات الرئاسية القادمة؟") مرفقة بشريط توزيع احتمالي تفاعلي ينقسم إلى 3 ألوان رئيسية:
- 🟢 الأخضر: (نعم / أؤيد / فوز)
- 🔴 الأحمر: (لا / أستبعد / خسارة)
- 🟡 الأصفر: (غير محسوم / احتمالية تعادل أو تأجيل)
-
عرض الأسباب والدوافع التحليلية بالتفصيل:
- عند الضغط على أي نسبة مئوية أو لون (سواء الأخضر، الأحمر، أو الأصفر)، تظهر فوراً نافذة تحليلية راقية توضح للمستخدم ملخص الذكاء الاصطناعي التوليدي والأسباب المفصلة التي دفعت الخوارزمية لترجيح تلك النسبة، مع توضيح مستوى التأثير (حاسم/متوسط) ونسبة الثقة الخوارزمية.
-
المشاركة والتفاعل التنبؤي:
- إمكانية التصويت المباشر من قبل المستخدم؛ حيث تتغير النسب المئوية وتتحدث أعداد الأصوات لحظياً مع احتفال بصري أنيق (قصاصات ورقية ملونة - Confetti).
- إمكانية محاكاة سيناريوهات "ماذا لو..." (مثلاً: ماذا لو زادت نسبة مشاركة الشباب؟) لمعرفة كيف تتغير النسب فوراً.
- إمكانية إضافة سؤال كمومي جديد من المستخدم للذكاء الاصطناعي لبناء الاحتمالات والأسباب له على الفور.
-
أدوات البحث والفلترة:
- شريط بحث ذكي للبحث في التساؤلات والأسباب.
- تصنيفات متعددة (السياسة والانتخابات، الذكاء الاصطناعي، الاقتصاد والأسواق، المستقبل والعلوم).
- أدوات ترتيب (حسب الأكثر تفاعلاً، الأعلى دقة، أو الأحدث).
Files built: index.html, src/index.css, src/types.ts, src/data/questionsData.ts, src/components/QuantumHeaderVisual.tsx, src/components/Navbar.tsx, src/components/ReasonDrawer.tsx, src/components/QuestionCard.tsx, src/components/AddQuestionModal.tsx, src/components/Footer.tsx, src/App.tsx