File size: 39,581 Bytes
e122023 |
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 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 |
<!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 rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&display=swap');
body {
font-family: 'Tajawal', sans-serif;
background-color: #f5f5f5;
}
.book-card {
transition: all 0.3s ease;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.book-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.auction-timer {
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}
.bid-btn {
background: linear-gradient(to right, #8e2de2, #4a00e0);
}
.arabic-input {
text-align: right;
direction: rtl;
}
.scrollbar-hide::-webkit-scrollbar {
display: none;
}
.scrollbar-hide {
-ms-overflow-style: none;
scrollbar-width: none;
}
.flickity-prev-next-button {
width: 30px;
height: 30px;
border-radius: 50%;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
.pulse-animation {
animation: pulse 2s infinite;
}
</style>
</head>
<body class="bg-gray-100">
<!-- Header -->
<header class="bg-gradient-to-r from-indigo-900 to-purple-800 text-white shadow-lg">
<div class="container mx-auto px-4 py-6">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-4">
<i class="fas fa-book-open text-3xl"></i>
<h1 class="text-2xl font-bold">مزاد الكتب التراثية</h1>
</div>
<div class="flex items-center space-x-6">
<a href="#" class="hover:text-yellow-300 transition"><i class="fas fa-home"></i> الرئيسية</a>
<a href="#" class="hover:text-yellow-300 transition"><i class="fas fa-gavel"></i> المزادات</a>
<a href="#" class="hover:text-yellow-300 transition"><i class="fas fa-info-circle"></i> عن الموقع</a>
<button class="bg-yellow-500 hover:bg-yellow-600 text-gray-900 font-bold px-4 py-2 rounded-full transition">
<i class="fas fa-user mr-2"></i>تسجيل الدخول
</button>
</div>
</div>
</div>
</header>
<!-- Hero Section -->
<section class="bg-gradient-to-r from-blue-900 to-indigo-800 text-white py-16">
<div class="container mx-auto px-4 flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-8 md:mb-0">
<h2 class="text-4xl font-bold mb-4">اكتشف كنوز المعرفة التراثية</h2>
<p class="text-xl mb-6">شارك في المزادات الحصرية لأندر الكتب والمخطوطات التراثية من مختلف العصور والحضارات</p>
<div class="flex space-x-4">
<button class="bg-yellow-500 hover:bg-yellow-600 text-gray-900 font-bold px-6 py-3 rounded-full transition">
<i class="fas fa-gavel mr-2"></i>المزادات الحالية
</button>
<button class="bg-transparent border-2 border-white hover:bg-white hover:text-indigo-900 font-bold px-6 py-3 rounded-full transition">
<i class="fas fa-book mr-2"></i>تصفح الكتالوج
</button>
</div>
</div>
<div class="md:w-1/2 flex justify-center">
<div class="relative w-64 h-80 bg-white bg-opacity-20 rounded-lg shadow-2xl flex items-center justify-center">
<div class="absolute inset-0 bg-gradient-to-br from-transparent via-white to-transparent opacity-20"></div>
<i class="fas fa-book-quran text-8xl text-white opacity-70"></i>
<div class="absolute -bottom-4 -right-4 bg-yellow-500 text-gray-900 font-bold px-4 py-2 rounded-full">
مخطوطة نادرة
</div>
</div>
</div>
</div>
</section>
<!-- Featured Auctions -->
<section class="py-12 bg-white">
<div class="container mx-auto px-4">
<div class="flex justify-between items-center mb-8">
<h2 class="text-3xl font-bold text-gray-800">المزادات المميزة</h2>
<a href="#" class="text-indigo-700 hover:text-indigo-900 font-medium flex items-center">
عرض الكل <i class="fas fa-arrow-left mr-2"></i>
</a>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Auction Item 1 -->
<div class="book-card bg-white rounded-xl overflow-hidden shadow-lg relative">
<div class="relative h-48 overflow-hidden">
<img src="https://images.unsplash.com/photo-1544947950-2a1eec1b6a3a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80"
alt="كتاب تراثي" class="w-full h-full object-cover">
<div class="absolute top-4 right-4 bg-red-600 text-white px-3 py-1 rounded-full text-sm font-bold">
<i class="fas fa-fire mr-1"></i> ساخن
</div>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-800 mb-2">مخطوطة الأزهرية في النحو</h3>
<p class="text-gray-600 mb-4">مخطوطة نادرة تعود للقرن 12 الهجري بخط اليد، بحالة ممتازة</p>
<div class="auction-timer p-4 rounded-lg mb-4">
<p class="text-gray-700 font-medium mb-2">ينتهي المزاد خلال:</p>
<div class="flex justify-between text-center">
<div>
<div class="text-2xl font-bold text-indigo-800">02</div>
<div class="text-xs text-gray-600">أيام</div>
</div>
<div>
<div class="text-2xl font-bold text-indigo-800">14</div>
<div class="text-xs text-gray-600">ساعات</div>
</div>
<div>
<div class="text-2xl font-bold text-indigo-800">32</div>
<div class="text-xs text-gray-600">دقائق</div>
</div>
<div>
<div class="text-2xl font-bold text-indigo-800">15</div>
<div class="text-xs text-gray-600">ثواني</div>
</div>
</div>
</div>
<div class="flex justify-between items-center mb-4">
<div>
<p class="text-gray-600 text-sm">السعر الحالي</p>
<p class="text-2xl font-bold text-indigo-800">1,250 ر.س</p>
</div>
<div>
<p class="text-gray-600 text-sm">عدد المزايدات</p>
<p class="text-xl font-bold text-center">14</p>
</div>
</div>
<button class="bid-btn w-full text-white font-bold py-3 rounded-lg hover:opacity-90 transition">
<i class="fas fa-gavel mr-2"></i>قدم مزايدة
</button>
</div>
</div>
<!-- Auction Item 2 -->
<div class="book-card bg-white rounded-xl overflow-hidden shadow-lg relative">
<div class="relative h-48 overflow-hidden">
<img src="https://images.unsplash.com/photo-1589998059171-988d322b03dd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80"
alt="كتاب تراثي" class="w-full h-full object-cover">
<div class="absolute top-4 right-4 bg-blue-600 text-white px-3 py-1 rounded-full text-sm font-bold">
<i class="fas fa-star mr-1"></i> مميز
</div>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-800 mb-2">ديوان المتنبي بخط اليد</h3>
<p class="text-gray-600 mb-4">نسخة أصلية نادرة من ديوان المتنبي تعود للقرن 10 الهجري</p>
<div class="auction-timer p-4 rounded-lg mb-4">
<p class="text-gray-700 font-medium mb-2">ينتهي المزاد خلال:</p>
<div class="flex justify-between text-center">
<div>
<div class="text-2xl font-bold text-indigo-800">05</div>
<div class="text-xs text-gray-600">أيام</div>
</div>
<div>
<div class="text-2xl font-bold text-indigo-800">08</div>
<div class="text-xs text-gray-600">ساعات</div>
</div>
<div>
<div class="text-2xl font-bold text-indigo-800">45</div>
<div class="text-xs text-gray-600">دقائق</div>
</div>
<div>
<div class="text-2xl font-bold text-indigo-800">22</div>
<div class="text-xs text-gray-600">ثواني</div>
</div>
</div>
</div>
<div class="flex justify-between items-center mb-4">
<div>
<p class="text-gray-600 text-sm">السعر الحالي</p>
<p class="text-2xl font-bold text-indigo-800">3,750 ر.س</p>
</div>
<div>
<p class="text-gray-600 text-sm">عدد المزايدات</p>
<p class="text-xl font-bold text-center">27</p>
</div>
</div>
<button class="bid-btn w-full text-white font-bold py-3 rounded-lg hover:opacity-90 transition">
<i class="fas fa-gavel mr-2"></i>قدم مزايدة
</button>
</div>
</div>
<!-- Auction Item 3 -->
<div class="book-card bg-white rounded-xl overflow-hidden shadow-lg relative">
<div class="relative h-48 overflow-hidden">
<img src="https://images.unsplash.com/photo-1541963463532-d68292c34b19?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80"
alt="كتاب تراثي" class="w-full h-full object-cover">
<div class="absolute top-4 right-4 bg-green-600 text-white px-3 py-1 rounded-full text-sm font-bold">
<i class="fas fa-certificate mr-1"></i> جديد
</div>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-800 mb-2">كتاب كليلة ودمنة</h3>
<p class="text-gray-600 mb-4">طبعة نادرة من كتاب كليلة ودمنة تعود لعام 1893م مع رسوم أصلية</p>
<div class="auction-timer p-4 rounded-lg mb-4">
<p class="text-gray-700 font-medium mb-2">ينتهي المزاد خلال:</p>
<div class="flex justify-between text-center">
<div>
<div class="text-2xl font-bold text-indigo-800">01</div>
<div class="text-xs text-gray-600">يوم</div>
</div>
<div>
<div class="text-2xl font-bold text-indigo-800">06</div>
<div class="text-xs text-gray-600">ساعات</div>
</div>
<div>
<div class="text-2xl font-bold text-indigo-800">12</div>
<div class="text-xs text-gray-600">دقائق</div>
</div>
<div>
<div class="text-2xl font-bold text-indigo-800">45</div>
<div class="text-xs text-gray-600">ثواني</div>
</div>
</div>
</div>
<div class="flex justify-between items-center mb-4">
<div>
<p class="text-gray-600 text-sm">السعر الحالي</p>
<p class="text-2xl font-bold text-indigo-800">2,150 ر.س</p>
</div>
<div>
<p class="text-gray-600 text-sm">عدد المزايدات</p>
<p class="text-xl font-bold text-center">19</p>
</div>
</div>
<button class="bid-btn w-full text-white font-bold py-3 rounded-lg hover:opacity-90 transition">
<i class="fas fa-gavel mr-2"></i>قدم مزايدة
</button>
</div>
</div>
</div>
</div>
</section>
<!-- Categories Section -->
<section class="py-12 bg-gray-100">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-gray-800 mb-8 text-center">تصفح حسب التصنيفات</h2>
<div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-6">
<a href="#" class="category-card bg-white rounded-lg shadow-md p-6 text-center hover:shadow-lg transition">
<div class="bg-blue-100 w-16 h-16 mx-auto rounded-full flex items-center justify-center mb-3">
<i class="fas fa-quran text-blue-600 text-2xl"></i>
</div>
<h3 class="font-bold text-gray-800">القرآن وعلومه</h3>
<p class="text-sm text-gray-600 mt-1">(42 كتاب)</p>
</a>
<a href="#" class="category-card bg-white rounded-lg shadow-md p-6 text-center hover:shadow-lg transition">
<div class="bg-purple-100 w-16 h-16 mx-auto rounded-full flex items-center justify-center mb-3">
<i class="fas fa-book-open text-purple-600 text-2xl"></i>
</div>
<h3 class="font-bold text-gray-800">اللغة العربية</h3>
<p class="text-sm text-gray-600 mt-1">(76 كتاب)</p>
</a>
<a href="#" class="category-card bg-white rounded-lg shadow-md p-6 text-center hover:shadow-lg transition">
<div class="bg-green-100 w-16 h-16 mx-auto rounded-full flex items-center justify-center mb-3">
<i class="fas fa-scroll text-green-600 text-2xl"></i>
</div>
<h3 class="font-bold text-gray-800">المخطوطات</h3>
<p class="text-sm text-gray-600 mt-1">(28 مخطوطة)</p>
</a>
<a href="#" class="category-card bg-white rounded-lg shadow-md p-6 text-center hover:shadow-lg transition">
<div class="bg-yellow-100 w-16 h-16 mx-auto rounded-full flex items-center justify-center mb-3">
<i class="fas fa-history text-yellow-600 text-2xl"></i>
</div>
<h3 class="font-bold text-gray-800">التاريخ</h3>
<p class="text-sm text-gray-600 mt-1">(53 كتاب)</p>
</a>
<a href="#" class="category-card bg-white rounded-lg shadow-md p-6 text-center hover:shadow-lg transition">
<div class="bg-red-100 w-16 h-16 mx-auto rounded-full flex items-center justify-center mb-3">
<i class="fas fa-heart text-red-600 text-2xl"></i>
</div>
<h3 class="font-bold text-gray-800">الأدب والشعر</h3>
<p class="text-sm text-gray-600 mt-1">(89 كتاب)</p>
</a>
<a href="#" class="category-card bg-white rounded-lg shadow-md p-6 text-center hover:shadow-lg transition">
<div class="bg-indigo-100 w-16 h-16 mx-auto rounded-full flex items-center justify-center mb-3">
<i class="fas fa-atom text-indigo-600 text-2xl"></i>
</div>
<h3 class="font-bold text-gray-800">العلوم</h3>
<p class="text-sm text-gray-600 mt-1">(31 كتاب)</p>
</a>
</div>
</div>
</section>
<!-- How It Works -->
<section class="py-12 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-gray-800 mb-12 text-center">كيف يعمل المزاد؟</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="flex flex-col items-center text-center p-6">
<div class="bg-blue-100 w-20 h-20 rounded-full flex items-center justify-center mb-4 text-blue-600 text-3xl font-bold">1</div>
<h3 class="text-xl font-bold text-gray-800 mb-2">سجل حسابك</h3>
<p class="text-gray-600">قم بإنشاء حسابك في الموقع بخطوات بسيطة لتتمكن من المشاركة في المزادات</p>
</div>
<div class="flex flex-col items-center text-center p-6">
<div class="bg-purple-100 w-20 h-20 rounded-full flex items-center justify-center mb-4 text-purple-600 text-3xl font-bold">2</div>
<h3 class="text-xl font-bold text-gray-800 mb-2">قدم مزايدتك</h3>
<p class="text-gray-600">اختر الكتاب الذي يعجبك وقدم مزايدة أعلى من السعر الحالي</p>
</div>
<div class="flex flex-col items-center text-center p-6">
<div class="bg-green-100 w-20 h-20 rounded-full flex items-center justify-center mb-4 text-green-600 text-3xl font-bold">3</div>
<h3 class="text-xl font-bold text-gray-800 mb-2">احصل على الكتاب</h3>
<p class="text-gray-600">إذا كنت الفائز بالمزاد، سيتم التواصل معك لإتمام عملية الشراء والشحن</p>
</div>
</div>
</div>
</section>
<!-- Testimonials -->
<section class="py-12 bg-gray-100">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-gray-800 mb-12 text-center">آراء عملائنا</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-white p-6 rounded-lg shadow-md">
<div class="flex items-center mb-4">
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="عميل" class="w-12 h-12 rounded-full mr-4">
<div>
<h4 class="font-bold text-gray-800">أحمد السيد</h4>
<div class="flex text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
</div>
<p class="text-gray-600">"حصلت على مخطوطة نادرة من القرن التاسع الهجري بحالة ممتازة، شكرًا لكم على هذا الموقع الرائع!"</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md">
<div class="flex items-center mb-4">
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="عميل" class="w-12 h-12 rounded-full mr-4">
<div>
<h4 class="font-bold text-gray-800">فاطمة محمد</h4>
<div class="flex text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
</div>
</div>
<p class="text-gray-600">"تجربة رائعة، الموقع سهل الاستخدام والكتب المقدمة أصلية ونادرة كما هو موصوف"</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md">
<div class="flex items-center mb-4">
<img src="https://randomuser.me/api/portraits/men/75.jpg" alt="عميل" class="w-12 h-12 rounded-full mr-4">
<div>
<h4 class="font-bold text-gray-800">خالد عبدالله</h4>
<div class="flex text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
</div>
<p class="text-gray-600">"أضفت إلى مكتبتي عدة كتب نادرة لم أكن أظن أني سأجدها، شكرًا لفريق العمل على الاحترافية"</p>
</div>
</div>
</div>
</section>
<!-- Newsletter -->
<section class="py-12 bg-gradient-to-r from-indigo-900 to-purple-800 text-white">
<div class="container mx-auto px-4 text-center">
<h2 class="text-3xl font-bold mb-4">اشترك في نشرتنا البريدية</h2>
<p class="text-xl mb-8 opacity-90">احصل على آخر المزادات والعروض مباشرة إلى بريدك الإلكتروني</p>
<div class="max-w-md mx-auto flex">
<input type="email" placeholder="بريدك الإلكتروني" class="arabic-input flex-grow px-4 py-3 rounded-r-lg focus:outline-none text-gray-900">
<button class="bg-yellow-500 hover:bg-yellow-600 text-gray-900 font-bold px-6 py-3 rounded-l-lg transition">
اشترك الآن
</button>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-white py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<div class="flex items-center mb-4">
<i class="fas fa-book-open text-2xl mr-2"></i>
<h3 class="text-xl font-bold">مزاد الكتب التراثية</h3>
</div>
<p class="text-gray-400">منصة متخصصة في بيع الكتب والمخطوطات التراثية النادرة عبر المزادات الإلكترونية</p>
<div class="flex space-x-4 mt-6">
<a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-twitter text-xl"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-facebook text-xl"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-instagram text-xl"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-youtube text-xl"></i></a>
</div>
</div>
<div>
<h4 class="text-lg font-bold mb-4">روابط سريعة</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">المزادات الحالية</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">المزادات القادمة</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">المزادات المنتهية</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">كيفية المشاركة</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">الشروط والأحكام</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-bold mb-4">تصنيفات</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">القرآن وعلومه</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">اللغة العربية</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">المخطوطات</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">التاريخ</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">الأدب والشعر</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-bold mb-4">تواصل معنا</h4>
<ul class="space-y-2">
<li class="flex items-center">
<i class="fas fa-map-marker-alt mr-2 text-gray-400"></i>
<span class="text-gray-400">الرياض، المملكة العربية السعودية</span>
</li>
<li class="flex items-center">
<i class="fas fa-phone-alt mr-2 text-gray-400"></i>
<span class="text-gray-400">+966 12 345 6789</span>
</li>
<li class="flex items-center">
<i class="fas fa-envelope mr-2 text-gray-400"></i>
<span class="text-gray-400">info@heritage-auction.com</span>
</li>
</ul>
</div>
</div>
<div class="border-t border-gray-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-400 mb-4 md:mb-0">© 2023 مزاد الكتب التراثية. جميع الحقوق محفوظة.</p>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white transition">سياسة الخصوصية</a>
<a href="#" class="text-gray-400 hover:text-white transition">الشروط والأحكام</a>
<a href="#" class="text-gray-400 hover:text-white transition">الأسئلة الشائعة</a>
</div>
</div>
</div>
</footer>
<!-- Bid Modal -->
<div id="bidModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
<div class="bg-white rounded-lg w-full max-w-md mx-4">
<div class="p-6">
<div class="flex justify-between items-center mb-4">
<h3 class="text-xl font-bold text-gray-800">تقديم مزايدة</h3>
<button id="closeModal" class="text-gray-500 hover:text-gray-700">
<i class="fas fa-times"></i>
</button>
</div>
<div class="mb-6">
<h4 class="font-bold text-gray-800 mb-2">مخطوطة الأزهرية في النحو</h4>
<p class="text-gray-600 mb-4">السعر الحالي: <span class="font-bold text-indigo-800">1,250 ر.س</span></p>
<div class="mb-4">
<label for="bidAmount" class="block text-gray-700 mb-2">المبلغ (ر.س)</label>
<input type="number" id="bidAmount" class="arabic-input w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500" placeholder="أدخل المبلغ">
</div>
<div class="mb-4">
<label for="bidIncrement" class="block text-gray-700 mb-2">زيادة المزاد</label>
<select id="bidIncrement" class="arabic-input w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500">
<option value="50">50 ر.س</option>
<option value="100">100 ر.س</option>
<option value="250">250 ر.س</option>
<option value="500">500 ر.س</option>
<option value="custom">مخصص</option>
</select>
</div>
<div class="bg-gray-100 p-4 rounded-lg mb-4">
<p class="text-gray-700">المبلغ الإجمالي: <span id="totalBid" class="font-bold text-indigo-800">1,300 ر.س</span></p>
</div>
</div>
<div class="flex space-x-4">
<button id="submitBid" class="bid-btn flex-grow text-white font-bold py-3 rounded-lg hover:opacity-90 transition">
<i class="fas fa-gavel mr-2"></i>تأكيد المزايدة
</button>
<button id="cancelBid" class="bg-gray-300 hover:bg-gray-400 text-gray-800 font-bold py-3 px-6 rounded-lg transition">
إلغاء
</button>
</div>
</div>
</div>
</div>
<!-- Success Toast -->
<div id="successToast" class="fixed bottom-4 right-4 bg-green-500 text-white px-6 py-3 rounded-lg shadow-lg flex items-center hidden">
<i class="fas fa-check-circle mr-2"></i>
<span>تم تقديم مزايدتك بنجاح!</span>
</div>
<script>
// Bid Modal Functionality
const bidButtons = document.querySelectorAll('.bid-btn');
const bidModal = document.getElementById('bidModal');
const closeModal = document.getElementById('closeModal');
const cancelBid = document.getElementById('cancelBid');
const submitBid = document.getElementById('submitBid');
const bidAmount = document.getElementById('bidAmount');
const bidIncrement = document.getElementById('bidIncrement');
const totalBid = document.getElementById('totalBid');
const successToast = document.getElementById('successToast');
// Current bid amount (for demo purposes)
let currentBid = 1250;
// Open modal when any bid button is clicked
bidButtons.forEach(button => {
button.addEventListener('click', () => {
bidModal.classList.remove('hidden');
document.body.style.overflow = 'hidden';
// Set initial bid amount
bidAmount.value = currentBid + 50;
updateTotalBid();
});
});
// Close modal
function closeBidModal() {
bidModal.classList.add('hidden');
document.body.style.overflow = 'auto';
}
closeModal.addEventListener('click', closeBidModal);
cancelBid.addEventListener('click', closeBidModal);
// Update total bid when amount or increment changes
function updateTotalBid() {
const amount = parseInt(bidAmount.value) || 0;
totalBid.textContent = amount.toLocaleString() + ' ر.س';
}
bidAmount.addEventListener('input', updateTotalBid);
bidIncrement.addEventListener('change', function() {
if (this.value !== 'custom') {
bidAmount.value = currentBid + parseInt(this.value);
updateTotalBid();
}
});
// Submit bid
submitBid.addEventListener('click', function() {
const amount = parseInt(bidAmount.value);
if (isNaN(amount) || amount <= currentBid) {
alert('يجب أن يكون المبلغ أكبر من السعر الحالي');
return;
}
// In a real app, you would send this to your backend
console.log('New bid submitted:', amount);
// Show success message
closeBidModal();
successToast.classList.remove('hidden');
// Hide success message after 3 seconds
setTimeout(() => {
successToast.classList.add('hidden');
}, 3000);
});
// Countdown timer for auctions (demo)
function updateCountdowns() {
const countdowns = document.querySelectorAll('.auction-timer');
countdowns.forEach(timer => {
const daysElement = timer.querySelector('div:nth-child(1) div:first-child');
const hoursElement = timer.querySelector('div:nth-child(2) div:first-child');
const minutesElement = timer.querySelector('div:nth-child(3) div:first-child');
const secondsElement = timer.querySelector('div:nth-child(4) div:first-child');
let days = parseInt(daysElement.textContent);
let hours = parseInt(hoursElement.textContent);
let minutes = parseInt(minutesElement.textContent);
let seconds = parseInt(secondsElement.textContent);
// Decrease seconds
seconds--;
if (seconds < 0) {
seconds = 59;
minutes--;
if (minutes < 0) {
minutes = 59;
hours--;
if (hours < 0) {
hours = 23;
days--;
}
}
}
// Update elements
daysElement.textContent = days.toString().padStart(2, '0');
hoursElement.textContent = hours.toString().padStart(2, '0');
minutesElement.textContent = minutes.toString().padStart(2, '0');
secondsElement.textContent = seconds.toString().padStart(2, '0');
});
}
// Update countdown every second
setInterval(updateCountdowns, 1000);
// Pulse animation for featured items
const featuredItems = document.querySelectorAll('.book-card');
featuredItems.forEach((item, index) => {
// Add delay to each item
setTimeout(() => {
item.classList.add('pulse-animation');
// Remove animation after first pulse
setTimeout(() => {
item.classList.remove('pulse-animation');
}, 2000);
}, index * 300);
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=methodya/test" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |