Spaces:
Running
Running
File size: 18,208 Bytes
be45d2a 06ea832 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 | <!DOCTYPE html>
<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>
|