Spaces:
Running
Running
Download index.html from Amaermando/mandotreding: direct link, hf CLI and curl.
- Browser
- Download file 18.2 kB
-
https://huggingface.co/spaces/Amaermando/mandotreding/resolve/main/index.html
- Command line
-
hf download hf://spaces/Amaermando/mandotreding/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Amaermando/mandotreding/resolve/main/index.html
18.2 kB
| <html lang="ar" dir="rtl"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>متجر الإلكترونيات</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet"> | |
| <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap'); | |
| body { | |
| font-family: 'Tajawal', sans-serif; | |
| } | |
| .category-card { | |
| transition: all 0.3s ease; | |
| } | |
| .category-card:hover { | |
| transform: translateY(-5px); | |
| } | |
| .product-card { | |
| transition: all 0.3s ease; | |
| } | |
| .product-card:hover { | |
| transform: scale(1.03); | |
| box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <!-- App Bar --> | |
| <header class="bg-purple-600 text-white shadow-lg"> | |
| <div class="container mx-auto px-4 py-3 flex items-center justify-between"> | |
| <div class="flex items-center space-x-4"> | |
| <button class="p-2 rounded-full hover:bg-purple-700"> | |
| <i data-feather="menu"></i> | |
| </button> | |
| <h1 class="text-xl font-bold">متجر الإلكترونيات</h1> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <button class="p-2 rounded-full hover:bg-purple-700"> | |
| <i data-feather="shopping-cart"></i> | |
| </button> | |
| <button class="p-2 rounded-full hover:bg-purple-700"> | |
| <i data-feather="user"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <main class="container mx-auto px-4 py-6"> | |
| <!-- Search Bar --> | |
| <div class="bg-white rounded-xl shadow-md p-3 mb-6" data-aos="fade-up"> | |
| <div class="flex items-center"> | |
| <input type="text" placeholder="ابحث عن منتج..." class="flex-grow px-4 py-2 text-right focus:outline-none"> | |
| <button class="p-2 text-purple-600"> | |
| <i data-feather="search"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Categories Section --> | |
| <h2 class="text-2xl font-bold mb-4 text-gray-800" data-aos="fade-up">أقسام المنتجات</h2> | |
| <div class="grid grid-cols-2 md:grid-cols-4 gap-4 mb-8"> | |
| <!-- Electrical Tools --> | |
| <div class="category-card bg-gradient-to-br from-blue-500 to-blue-600 rounded-xl shadow-lg overflow-hidden text-white text-center" data-aos="fade-up" data-aos-delay="100"> | |
| <div class="p-6 flex flex-col items-center justify-center h-full"> | |
| <div class="bg-white bg-opacity-20 p-3 rounded-full mb-3"> | |
| <i data-feather="tool" class="w-8 h-8"></i> | |
| </div> | |
| <h3 class="font-bold">أدوات كهربائية</h3> | |
| </div> | |
| </div> | |
| <!-- Lighting --> | |
| <div class="category-card bg-gradient-to-br from-yellow-500 to-yellow-600 rounded-xl shadow-lg overflow-hidden text-white text-center" data-aos="fade-up" data-aos-delay="200"> | |
| <div class="p-6 flex flex-col items-center justify-center h-full"> | |
| <div class="bg-white bg-opacity-20 p-3 rounded-full mb-3"> | |
| <i data-feather="sun" class="w-8 h-8"></i> | |
| </div> | |
| <h3 class="font-bold">إضاءة منازل</h3> | |
| </div> | |
| </div> | |
| <!-- TVs --> | |
| <div class="category-card bg-gradient-to-br from-purple-500 to-purple-600 rounded-xl shadow-lg overflow-hidden text-white text-center" data-aos="fade-up" data-aos-delay="300"> | |
| <div class="p-6 flex flex-col items-center justify-center h-full"> | |
| <div class="bg-white bg-opacity-20 p-3 rounded-full mb-3"> | |
| <i data-feather="tv" class="w-8 h-8"></i> | |
| </div> | |
| <h3 class="font-bold">شاشات بلازما</h3> | |
| </div> | |
| </div> | |
| <!-- Accessories --> | |
| <div class="category-card bg-gradient-to-br from-green-500 to-green-600 rounded-xl shadow-lg overflow-hidden text-white text-center" data-aos="fade-up" data-aos-delay="400"> | |
| <div class="p-6 flex flex-col items-center justify-center h-full"> | |
| <div class="bg-white bg-opacity-20 p-3 rounded-full mb-3"> | |
| <i data-feather="cpu" class="w-8 h-8"></i> | |
| </div> | |
| <h3 class="font-bold">ملحقات</h3> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Featured Products --> | |
| <h2 class="text-2xl font-bold mb-4 text-gray-800" data-aos="fade-up">منتجات مميزة</h2> | |
| <div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-6 mb-8"> | |
| <!-- Product 1 --> | |
| <div class="product-card bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="100"> | |
| <div class="relative"> | |
| <img src="http://static.photos/technology/640x360/1" alt="Product" class="w-full h-48 object-cover"> | |
| <div class="absolute top-2 left-2 bg-red-500 text-white text-xs px-2 py-1 rounded">خصم 20%</div> | |
| </div> | |
| <div class="p-4"> | |
| <h3 class="font-bold text-gray-800 mb-1">سماعات لاسلكية</h3> | |
| <div class="flex items-center mb-2"> | |
| <div class="flex text-yellow-400"> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4"></i> | |
| </div> | |
| <span class="text-gray-500 text-xs mr-1">(42)</span> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <span class="font-bold text-purple-600">199 ر.س</span> | |
| <span class="text-gray-500 text-sm line-through">249 ر.س</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Product 2 --> | |
| <div class="product-card bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="200"> | |
| <img src="http://static.photos/technology/640x360/2" alt="Product" class="w-full h-48 object-cover"> | |
| <div class="p-4"> | |
| <h3 class="font-bold text-gray-800 mb-1">هاتف ذكي</h3> | |
| <div class="flex items-center mb-2"> | |
| <div class="flex text-yellow-400"> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| </div> | |
| <span class="text-gray-500 text-xs mr-1">(128)</span> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <span class="font-bold text-purple-600">2,499 ر.س</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Product 3 --> | |
| <div class="product-card bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="300"> | |
| <img src="http://static.photos/technology/640x360/3" alt="Product" class="w-full h-48 object-cover"> | |
| <div class="p-4"> | |
| <h3 class="font-bold text-gray-800 mb-1">ساعة ذكية</h3> | |
| <div class="flex items-center mb-2"> | |
| <div class="flex text-yellow-400"> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4"></i> | |
| </div> | |
| <span class="text-gray-500 text-xs mr-1">(76)</span> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <span class="font-bold text-purple-600">599 ر.س</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Product 4 --> | |
| <div class="product-card bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="400"> | |
| <div class="relative"> | |
| <img src="http://static.photos/technology/640x360/4" alt="Product" class="w-full h-48 object-cover"> | |
| <div class="absolute top-2 left-2 bg-green-500 text-white text-xs px-2 py-1 rounded">جديد</div> | |
| </div> | |
| <div class="p-4"> | |
| <h3 class="font-bold text-gray-800 mb-1">كاميرا مراقبة</h3> | |
| <div class="flex items-center mb-2"> | |
| <div class="flex text-yellow-400"> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4"></i> | |
| <i data-feather="star" class="w-4 h-4"></i> | |
| </div> | |
| <span class="text-gray-500 text-xs mr-1">(23)</span> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <span class="font-bold text-purple-600">349 ر.س</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Latest Products --> | |
| <h2 class="text-2xl font-bold mb-4 text-gray-800" data-aos="fade-up">أحدث المنتجات</h2> | |
| <div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-6"> | |
| <!-- Product 5 --> | |
| <div class="product-card bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="100"> | |
| <img src="http://static.photos/technology/640x360/5" alt="Product" class="w-full h-48 object-cover"> | |
| <div class="p-4"> | |
| <h3 class="font-bold text-gray-800 mb-1">لوحة مفاتيح لاسلكية</h3> | |
| <div class="flex items-center mb-2"> | |
| <div class="flex text-yellow-400"> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4"></i> | |
| <i data-feather="star" class="w-4 h-4"></i> | |
| </div> | |
| <span class="text-gray-500 text-xs mr-1">(18)</span> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <span class="font-bold text-purple-600">159 ر.س</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Product 6 --> | |
| <div class="product-card bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="200"> | |
| <img src="http://static.photos/technology/640x360/6" alt="Product" class="w-full h-48 object-cover"> | |
| <div class="p-4"> | |
| <h3 class="font-bold text-gray-800 mb-1">ماوس ألعاب</h3> | |
| <div class="flex items-center mb-2"> | |
| <div class="flex text-yellow-400"> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4"></i> | |
| </div> | |
| <span class="text-gray-500 text-xs mr-1">(42)</span> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <span class="font-bold text-purple-600">229 ر.س</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Product 7 --> | |
| <div class="product-card bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="300"> | |
| <div class="relative"> | |
| <img src="http://static.photos/technology/640x360/7" alt="Product" class="w-full h-48 object-cover"> | |
| <div class="absolute top-2 left-2 bg-red-500 text-white text-xs px-2 py-1 rounded">خصم 15%</div> | |
| </div> | |
| <div class="p-4"> | |
| <h3 class="font-bold text-gray-800 mb-1">شاحن متنقل</h3> | |
| <div class="flex items-center mb-2"> | |
| <div class="flex text-yellow-400"> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| </div> | |
| <span class="text-gray-500 text-xs mr-1">(94)</span> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <span class="font-bold text-purple-600">129 ر.س</span> | |
| <span class="text-gray-500 text-sm line-through">149 ر.س</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Product 8 --> | |
| <div class="product-card bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="400"> | |
| <img src="http://static.photos/technology/640x360/8" alt="Product" class="w-full h-48 object-cover"> | |
| <div class="p-4"> | |
| <h3 class="font-bold text-gray-800 mb-1">حامل لابتوب</h3> | |
| <div class="flex items-center mb-2"> | |
| <div class="flex text-yellow-400"> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4"></i> | |
| <i data-feather="star" class="w-4 h-4"></i> | |
| </div> | |
| <span class="text-gray-500 text-xs mr-1">(31)</span> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <span class="font-bold text-purple-600">89 ر.س</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Update Bar --> | |
| <div id="updateBar" class="bg-purple-800 text-white py-3 px-4 fixed bottom-0 left-0 right-0 hidden"> | |
| <div class="container mx-auto flex items-center"> | |
| <div class="animate-spin mr-3"> | |
| <i data-feather="refresh-cw" class="w-5 h-5"></i> | |
| </div> | |
| <span>جاري تحديث المحتوى...</span> | |
| </div> | |
| </div> | |
| <!-- Bottom Navigation --> | |
| <nav class="bg-white border-t border-gray-200 fixed bottom-0 left-0 right-0 md:hidden"> | |
| <div class="flex justify-around"> | |
| <a href="#" class="p-4 text-purple-600"> | |
| <i data-feather="home" class="w-6 h-6"></i> | |
| </a> | |
| <a href="#" class="p-4 text-gray-500"> | |
| <i data-feather="grid" class="w-6 h-6"></i> | |
| </a> | |
| <a href="#" class="p-4 text-gray-500"> | |
| <i data-feather="heart" class="w-6 h-6"></i> | |
| </a> | |
| <a href="#" class="p-4 text-gray-500"> | |
| <i data-feather="shopping-cart" class="w-6 h-6"></i> | |
| </a> | |
| <a href="#" class="p-4 text-gray-500"> | |
| <i data-feather="user" class="w-6 h-6"></i> | |
| </a> | |
| </div> | |
| </nav> | |
| <script> | |
| AOS.init(); | |
| feather.replace(); | |
| // Simulate update bar | |
| setTimeout(() => { | |
| document.getElementById('updateBar').classList.remove('hidden'); | |
| setTimeout(() => { | |
| document.getElementById('updateBar').classList.add('hidden'); | |
| }, 3000); | |
| }, 5000); | |
| </script> | |
| </body> | |
| </html> | |