Spaces:
Running
Running
Download index.html from halil339/wisewealthwizards: direct link, hf CLI and curl.
- Browser
- Download file 19.7 kB
-
https://huggingface.co/spaces/halil339/wisewealthwizards/resolve/main/index.html
- Command line
-
hf download hf://spaces/halil339/wisewealthwizards/index.html
-
curl -L -o index.html https://huggingface.co/spaces/halil339/wisewealthwizards/resolve/main/index.html
19.7 kB
| <html lang="ar" dir="rtl"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>واعي مالياً - منصة التحفيز الذكي</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap'); | |
| body { | |
| font-family: 'Tajawal', sans-serif; | |
| } | |
| .vanta-bg { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| z-index: -1; | |
| } | |
| .quote-transition { | |
| transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| .pulse-animation { | |
| animation: pulse 2s infinite; | |
| } | |
| @keyframes pulse { | |
| 0%, 100% { transform: scale(1); } | |
| 50% { transform: scale(1.05); } | |
| } | |
| .gradient-text { | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| </style> | |
| </head> | |
| <body class="min-h-screen bg-gray-50"> | |
| <!-- Vanta.js Background --> | |
| <div id="vanta-bg" class="vanta-bg"></div> | |
| <!-- Main Content --> | |
| <div class="container mx-auto px-4 py-8 relative z-10"> | |
| <!-- Header --> | |
| <header class="text-center mb-12"> | |
| <h1 class="text-4xl md:text-6xl font-bold mb-4 gradient-text"> | |
| واعي مالياً 💰 | |
| </h1> | |
| <p class="text-xl md:text-2xl text-gray-700 max-w-2xl mx-auto"> | |
| منصة التحفيز الذكي لرواد الأعمال والطامحين للنجاح المالي | |
| </p> | |
| </header> | |
| <!-- Main Post Container --> | |
| <div class="max-w-2xl mx-auto"> | |
| <!-- Facebook Post Simulation --> | |
| <div class="bg-white rounded-2xl shadow-2xl overflow-hidden transform hover:scale-[1.02] transition-all duration-300 border border-gray-200"> | |
| <!-- Post Header --> | |
| <div class="p-4 border-b border-gray-200 flex items-center space-x-4 space-x-reverse"> | |
| <div class="w-12 h-12 bg-gradient-to-r from-blue-500 to-purple-600 rounded-full flex items-center justify-center text-white font-bold text-lg"> | |
| 💼 | |
| </div> | |
| <div class="flex-1"> | |
| <h3 class="font-bold text-gray-900">واعي مالياً</h3> | |
| <p class="text-gray-500 text-sm">الآن · <i data-feather="globe" class="w-4 h-4 inline"></i></p> | |
| </div> | |
| <button class="text-gray-500 hover:text-gray-700"> | |
| <i data-feather="more-horizontal" class="w-5 h-5"></i> | |
| </button> | |
| </div> | |
| <!-- Quote Section --> | |
| <div id="post-background" class="relative min-h-80 flex items-center justify-center p-8 text-center"> | |
| <div class="absolute inset-0 bg-gradient-to-br from-blue-500 to-purple-600 opacity-90"></div> | |
| <div id="quote-text" class="relative z-10 text-white px-4 quote-transition"> | |
| <p class="text-2xl md:text-3xl font-bold leading-relaxed mb-4">اضغط على الزر لتكون واعياً حرفياً!</p> | |
| <span class="author-text text-lg opacity-90"></span> | |
| </div> | |
| </div> | |
| <!-- Engagement Stats --> | |
| <div class="px-4 py-3 border-b border-gray-200 text-gray-600 text-sm"> | |
| <div class="flex justify-between items-center"> | |
| <div class="flex items-center space-x-2 space-x-reverse"> | |
| <div class="flex -space-x-2"> | |
| <div class="w-6 h-6 bg-green-500 rounded-full border-2 border-white"></div> | |
| <div class="w-6 h-6 bg-blue-500 rounded-full border-2 border-white"></div> | |
| <div class="w-6 h-6 bg-red-500 rounded-full border-2 border-white"></div> | |
| </div> | |
| <span>١٢٤ معجب و١٥ مشاركة</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Action Buttons --> | |
| <div class="p-2 flex justify-around border-b border-gray-200"> | |
| <button class="flex items-center space-x-2 space-x-reverse px-4 py-2 rounded-lg hover:bg-gray-100 text-gray-600 transition-colors"> | |
| <i data-feather="thumbs-up" class="w-5 h-5"></i> | |
| <span>إعجاب</span> | |
| </button> | |
| <button class="flex items-center space-x-2 space-x-reverse px-4 py-2 rounded-lg hover:bg-gray-100 text-gray-600 transition-colors"> | |
| <i data-feather="message-circle" class="w-5 h-5"></i> | |
| <span>تعليق</span> | |
| </button> | |
| <button class="flex items-center space-x-2 space-x-reverse px-4 py-2 rounded-lg hover:bg-gray-100 text-gray-600 transition-colors"> | |
| <i data-feather="share-2" class="w-5 h-5"></i> | |
| <span>مشاركة</span> | |
| </button> | |
| </div> | |
| <!-- Hashtags --> | |
| <div class="p-4 bg-gray-50"> | |
| <div class="flex flex-wrap gap-2"> | |
| <span class="px-3 py-1 bg-blue-100 text-blue-800 rounded-full text-sm">#وعي_مالي</span> | |
| <span class="px-3 py-1 bg-green-100 text-green-800 rounded-full text-sm">#تحقيق_الأهداف</span> | |
| <span class="px-3 py-1 bg-purple-100 text-purple-800 rounded-full text-sm">#ريادة_الأعمال</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Generate Button --> | |
| <div class="text-center mt-8"> | |
| <button onclick="generateQuote()" | |
| class="bg-gradient-to-r from-blue-600 to-purple-600 hover:from-blue-700 hover:to-purple-700 text-white font-bold py-4 px-8 rounded-full text-lg pulse-animation transform hover:scale-105 transition-all duration-300 shadow-lg flex items-center space-x-2 space-x-reverse mx-auto"> | |
| <i data-feather="refresh-cw" class="w-5 h-5"></i> | |
| <span>واعي حرفياً جديد</span> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Features Section --> | |
| <div class="max-w-6xl mx-auto mt-16 grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <div class="bg-white rounded-2xl p-6 shadow-lg text-center"> | |
| <div class="w-16 h-16 bg-gradient-to-r from-green-400 to-blue-500 rounded-full flex items-center justify-center mx-auto mb-4"> | |
| <i data-feather="trending-up" class="w-8 h-8 text-white"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">نصائح مالية ذكية</h3> | |
| <p class="text-gray-600">استفد من أفضل النصائح المالية من خبراء العالم</p> | |
| </div> | |
| <div class="bg-white rounded-2xl p-6 shadow-lg text-center"> | |
| <div class="w-16 h-16 bg-gradient-to-r from-purple-400 to-pink-500 rounded-full flex items-center justify-center mx-auto mb-4"> | |
| <i data-feather="target" class="w-8 h-8 text-white"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">تحفيز دائم</h3> | |
| <p class="text-gray-600">لا تتوقف عن التحفيز والطموح نحو النجاح المالي</p> | |
| </div> | |
| <div class="bg-white rounded-2xl p-6 shadow-lg text-center"> | |
| <div class="w-16 h-16 bg-gradient-to-r from-orange-400 to-red-500 rounded-full flex items-center justify-center mx-auto mb-4"> | |
| <i data-feather="users" class="w-8 h-8 text-white"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">مجتمع ناجح</h3> | |
| <p class="text-gray-600">انضم إلى مجتمع من الطامحين للنجاح المالي</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Footer --> | |
| <footer class="bg-gradient-to-r from-gray-800 to-gray-900 text-white py-8 mt-16"> | |
| <div class="container mx-auto px-4 text-center"> | |
| <p class="text-lg">© 2024 واعي مالياً - جميع الحقوق محفوظة</p> | |
| <p class="text-gray-400 mt-2">اصنع مستقبلك المالي بوعي وإصرار</p> | |
| </div> | |
| </footer> | |
| <script> | |
| // Initialize Vanta.js | |
| VANTA.GLOBE({ | |
| el: "#vanta-bg", | |
| mouseControls: true, | |
| touchControls: true, | |
| gyroControls: false, | |
| minHeight: 200.00, | |
| minWidth: 200.00, | |
| scale: 1.00, | |
| scaleMobile: 1.00, | |
| color: 0x3a86ff, | |
| backgroundColor: 0xf8fafc, | |
| size: 0.8 | |
| }); | |
| // Quotes data - Expanded with more financial wisdom and motivation | |
| const quotes = [ | |
| { text: "أفضل استثمار تضعه هو في عقلك. فالعقل الثري يخلق فرصاً لا تراها العين المجردة.", author: "وارن بافيت" }, | |
| { text: "لا تتبع المال، بل اتبع العاطفة. فالعاطفة هي ما سيجعلك تستيقظ مبكراً بينما ينام الجميع.", author: "أوبرا وينفري" }, | |
| { text: "الديون ليست مشكلة إذا كانت تشتري لك أصولاً تزيد قيمتها بمرور الوقت.", author: "روبرت كيوساكي" }, | |
| { text: "خطة عملك ليست وثيقة، بل هي بوصلتك. فإذا لم تكن تعرف وجهتك، فلن تصل أبداً.", author: "ديف آسبن" }, | |
| { text: "قيمة وقتك تضاعف قيمتها كلما تعلمت كيف تقول \"لا\" لما لا يخدم أهدافك.", author: "تيم فيريس" }, | |
| { text: "النجاح في ريادة الأعمال هو القدرة على الفشل مراراً دون فقدان الحماس.", author: "وينستون تشرشل" }, | |
| { text: "لا تنتظر الكمال للبدء. ابدأ الآن واجعل التقدم اليومي هو الكمال الحقيقي.", author: "مارك زوكربيرغ" }, | |
| { text: "التفاوض ليس خياراً، بل مهارة أساسية. فكل ما في الحياة قابل للتفاوض.", author: "جيم رون" }, | |
| { text: "المال لا يشتري السعادة، لكنه يشتري الحرية لعيش الحياة بالطريقة التي تجلب لك السعادة.", author: "دالاس إم. تورنلي" }, | |
| { text: "إذا لم تجد طريقة لكسب المال أثناء نومك، فسوف تعمل حتى تموت.", author: "وارن بافيت" }, | |
| { text: "الاستثمار في المعرفة يدفع أفضل الفوائد.", author: "بنجامين فرانكلين" }, | |
| { text: "الفرق بين الأغنياء والفقراء هو في كيفية استخدامهم لوقتهم.", author: "روبرت كيوساكي" }, | |
| { text: "لا تكن عبداً للراتب، بل سيداً للأصول.", author: "علي أبو الراغب" }, | |
| { text: "المال الحقيقي لا يُصنع بالعمل، بل يُصنع بالذكاء.", author: "صالح كامل" }, | |
| { text: "الاستثمار الناجح هو الذي يجعلك تنام مطمئناً.", author: "محمد العريان" }, | |
| { text: "خطط لعملك كما تخطط لحياتك، فكلاهما وجهان لعملة واحدة.", author: "أحمد الشقيري" }, | |
| { text: "النجاح المالي يبدأ بقرار، وينمو بالالتزام، ويُحصد بالصبر.", author: "طارق السويدان" }, | |
| { text: "لا تخف من المخاطرة المحسوبة، فالحياة كلها مخاطرة.", author: "عبدالله المغلوث" }, | |
| { text: "المال وسيلة وليس غاية، فاجعل منه خادماً لك وليس سيداً عليك.", author: "إبراهيم الفقي" }, | |
| { text: "أفضل وقت لزراعة شجرة كان قبل 20 سنة، والثاني أفضل وقت هو الآن.", author: "مثل صيني" }, | |
| { text: "التعلم المستمر هو الوقود الذي يدفع محرك النجاح المالي.", author: "ناصر القصبي" }, | |
| { text: "الفرص لا تأتي إلى من ينتظرها، بل إلى من يبحث عنها.", author: "خالد العلي" }, | |
| { text: "لا تضع كل بيضك في سلة واحدة، فهذه ليست نصيحة مالية فقط، بل فلسفة حياة.", author: "سلمان العودة" }, | |
| { text: "المال مثل الماء، إذا لم تتدفق به سيتبخر.", author: "جورج صامويل كلاسون" }, | |
| { text: "النجاح ليس له حدود، والفشل ليس له نهاية.", author: "عمر سليمان الأشقر" }, | |
| { text: "الاقتصاد في الصغير يملأ الكبير.", author: "مثل عربي" }, | |
| { text: "العقل المدبر يخلق الثروة من حيث لا يرى الآخرون سوى الصحراء.", author: "عبدالرحمن السميط" }, | |
| { text: "لا تكن تاجراً فقط، بل كن صانعاً للقيمة.", author: "سعد الدعفس" }, | |
| { text: "المال الذي تكسبه بسرعة يضيع بسرعة.", author: "محمد بن راشد آل مكتوم" }, | |
| { text: "الاستثمار في الذات هو الاستثمار الوحيد الذي لا يمكن لأحد أن يسلبك إياه.", author: "نواف السالم" }, | |
| { text: "الطموح هو الوقود الذي يحرك عجلة النجاح المالي.", author: "فيصل القاسم" }, | |
| { text: "لا تنتظر الظروف المثالية، بل اصنعها بنفسك.", author: "عبدالله بن بيه" }, | |
| { text: "التوفير نصف المعيشة، والإنفاق المدروس هو النصف الآخر.", author: "عائض القرني" }, | |
| { text: "المال الحكيم هو الذي يعمل لصاحبه وليس العكس.", author: "عبدالعزيز التويجري" }, | |
| { text: "النجاح المالي رحلة وليس وجهة، فاستمتع بالطريق.", author: "عبدالرحمن الحبيب" }, | |
| { text: "الفرق بين الحلم والهدف هو خطة واضحة وموعد نهائي.", author: "عبدالله العبدالقادر" }, | |
| { text: "لا تخشى البدايات الصغيرة، فالأشجار العملاقة تبدأ كبذور صغيرة.", author: "سعود الشريم" }, | |
| { text: "المال الذي تنفقه في التعلم هو استثمار وليس مصروفاً.", author: "علي الجفري" }, | |
| { text: "الاستثمار في العلاقات يضاعف عوائد الاستثمار المالي.", author: "محمد حسان" }, | |
| { text: "الوعي المالي ليس ترفاً، بل ضرورة في عالم متغير.", author: "عبدالوهاب الطريري" }, | |
| { text: "لا تكن عبداً للعادات المالية السيئة، بل حراً بالخيارات الذكية.", author: "ماجد المنيف" }, | |
| { text: "المال النظيف يجلب البركة، والمال الحرام يجلب النحس.", author: "محمد متولي الشعراوي" }, | |
| { text: "النجاح المالي يبدأ بفكرة، وينمو بعمل، ويُثمر بصبر.", author: "عبدالكريم بكار" }, | |
| { text: "الفرصة لا ترتدي ملابس جميلة، بل تأتي متنكرة كتحدي.", author: "مصطفى محمود" }, | |
| { text: "التخطيط المالي هو الجسر الذي يربط بين أحلامك وواقعك.", author: "عبدالله المطيري" }, | |
| { text: "لا تكن مثل الذي يحفر بئراً في كل مكان ولا يصل إلى الماء.", author: "جلال الدين الرومي" } | |
| ]; | |
| // Color gradients | |
| const colorGradients = [ | |
| 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)', | |
| 'linear-gradient(135deg, #f093fb 0%, #f5576c 100%)', | |
| 'linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)', | |
| 'linear-gradient(135deg, #43e97b 0%, #38f9d7 100%)', | |
| 'linear-gradient(135deg, #fa709a 0%, #fee140 100%)', | |
| 'linear-gradient(135deg, #a8edea 0%, #fed6e3 100%)', | |
| 'linear-gradient(135deg, #d299c2 0%, #fef9d7 100%)', | |
| 'linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%)' | |
| ]; | |
| let lastQuoteIndex = -1; | |
| let lastColorIndex = -1; | |
| function generateQuote() { | |
| let randomQuoteIndex; | |
| let randomColorIndex; | |
| // Prevent quote repetition | |
| do { | |
| randomQuoteIndex = Math.floor(Math.random() * quotes.length); | |
| } while (randomQuoteIndex === lastQuoteIndex && quotes.length > 1); | |
| // Prevent color repetition | |
| do { | |
| randomColorIndex = Math.floor(Math.random() * colorGradients.length); | |
| } while (randomColorIndex === lastColorColor && colorGradients.length > 1); | |
| const selectedQuote = quotes[randomQuoteIndex]; | |
| const selectedColor = colorGradients[randomColorIndex]; | |
| // Update quote text and background with animation | |
| const quoteElement = document.getElementById('quote-text'); | |
| quoteElement.style.opacity = '0'; | |
| setTimeout(() => { | |
| quoteElement.innerHTML = ` | |
| <p class="text-2xl md:text-3xl font-bold leading-relaxed mb-4">"${selectedQuote.text}"</p> | |
| <span class="author-text text-lg opacity-90">— ${selectedQuote.author}</span> | |
| `; | |
| quoteElement.style.opacity = '1'; | |
| }, 400); | |
| // Update background with gradient animation | |
| document.getElementById('post-background').style.background = selectedColor; | |
| // Update indices | |
| lastQuoteIndex = randomQuoteIndex; | |
| lastColorIndex = randomColorIndex; | |
| } | |
| // Generate first quote on load | |
| setTimeout(generateQuote, 1000); | |
| // Initialize feather icons | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> | |