|
3 | 3 | <head> |
4 | 4 | <meta charset="UTF-8"> |
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
6 | | - <meta property="og:title" content="الأيقونة للعطور - جودة وأصالة"> |
7 | | - <meta property="og:description" content="تقدم لكم الأيقونة للعطور مجموعة مميزة من العطور الرجالية والنسائية وأجود أنواع البخور. جربوا منتجاتنا واختبروا الفرق"> |
8 | | - <meta property="og:image" content="https://talalye1.github.io/Icon-perfumes/moan4.jpg"> |
| 6 | + <meta property="og:title" content="الأيقونة للعطور - قسم العطور الرجالية"> |
| 7 | + <meta property="og:description" content="اكتشف مجموعة من العطور الرجالية التي تعكس القوة والأناقة. ثبات يدوم طويلاً ورائحة تأسر الحواس."> |
| 8 | + <meta property="og:image" content="https://talalye1.github.io/Icon-perfumes/men.jpg"> |
9 | 9 | <meta property="og:url" content="https://talalye1.github.io/Icon-perfumes/"> |
10 | 10 | <meta property="og:type" content="website"> |
11 | | - <meta property="og:site_name" content="الأيقونة للعطور"> |
12 | | - <title>الأيقونة للعطور - جودة وأصالة</title> |
| 11 | + <meta property="og:site_name" content="الأيقونة للعطور - قسم العطور الجالية"> |
| 12 | + <title>الأيقونة للعطور - قسم العطور الرجالية</title> |
13 | 13 | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> |
14 | 14 | <link rel="manifest" href="/manifest.json"> |
| 15 | + <link rel="icon" href="icon.png" type="image/png"> |
| 16 | + <link rel="apple-touch-icon" href="icon-192x192.png"> |
15 | 17 | <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet"> |
16 | 18 | <style> |
17 | 19 | :root { |
|
91 | 93 |
|
92 | 94 | main { padding-top: 80px; /* Space for fixed nav */ } |
93 | 95 |
|
| 96 | + /* --- Navigation Bar2 --- */ |
| 97 | + .top-bar2 { |
| 98 | + position: fixed; |
| 99 | + bottom: 520px; |
| 100 | + left: 0px; |
| 101 | + width: 100%; |
| 102 | + display: flex; |
| 103 | + justify-content: center; |
| 104 | + background: rgba(5, 15, 15, 0.8); |
| 105 | + backdrop-filter: blur(10px); |
| 106 | + padding: 3px 0; |
| 107 | + gap: 1px; |
| 108 | + border-bottom: 3px solid var(--gold); |
| 109 | + z-index: 995; |
| 110 | + } |
| 111 | + |
94 | 112 | /* --- Header Section --- */ |
95 | 113 | .header-content { text-align: center; margin-top: 20px; } |
96 | 114 | .header-content .logo img { |
|
358 | 376 | </style> |
359 | 377 | </head> |
360 | 378 | <body> |
361 | | - |
362 | 379 | <div class="top-bar"> |
363 | 380 | <div class="nav-buttons"> |
364 | 381 | <a href="index.html" class="nav-btn">الرئيسية</a> |
365 | | - <a href="female.html" class="nav-btn">عطور نسائي</a> |
| 382 | + <a href="index.html" class="nav-btn active">الرجالية</a> |
| 383 | + <a href="female.html" class="nav-btn">النسائية</a> |
366 | 384 | <a href="moan.html" class="nav-btn">بخـور وعود</a> |
367 | 385 | <a href="makeup.html" class="nav-btn">مستحضرات</a> |
368 | 386 | </div> |
369 | | - </div> |
| 387 | + </div> |
| 388 | + <div class="top-bar2"> |
| 389 | + <h1>قسم العطور الرجالية</h1> |
| 390 | + </div> |
| 391 | + </div> |
| 392 | + </div> |
370 | 393 |
|
371 | 394 | <main> |
372 | 395 | <div class="container"> |
373 | 396 | <div class="header-content"> |
374 | 397 | <div class="logo"> |
375 | 398 | <!-- (4/8) مربع الصور المتحركة وصور المنتجات المصغرة --> |
376 | | -<div class="products-section" style="padding:0px 0;"> |
| 399 | + |
| 400 | + <div class="products-section" style="padding:0px 0;"> |
377 | 401 | <div id="mainSlider" style="width:100%;max-width:100%;margin:0 auto 5px;position:relative;border:4px solid var(--gold);border-radius:10px;overflow:hidden;background:var(--black);display:flex;justify-content:center;align-items:center;min-height:100%;"> |
378 | 402 | <!-- الصورة الكبرى المتغيرة --> |
379 | 403 | <img id="mainImg" src="men.jpg" alt="منتج مختار" style="width:100%;max-width:100%;height:100%;object-fit:contain;transition:.4s;"> |
380 | 404 | </div> |
381 | 405 | <!-- صف الصور المصغرة --> |
382 | 406 | </div> |
| 407 | +<div class="container"> |
383 | 408 | <div class="thumbs-row" style="display:flex;justify-content:center;gap:12px;margin-bottom:5px;"> |
384 | 409 | <img class="thumb" src="men1.jpg" alt="منتج 1" data-high="men1.png" style="width:60px;height:60px;border:2px solid var(--gold);border-radius:2px;cursor:pointer;object-fit:cover;"> |
385 | 410 | <img class="thumb" src="men2.jpg" alt="منتج 2" data-high="men2.png" style="width:60px;height:60px;border:2px solid var(--gold);border-radius:2px;cursor:pointer;object-fit:cover;"> |
@@ -428,8 +453,6 @@ <h3>ضمان الرضا</h3> |
428 | 453 | </div> |
429 | 454 | <div class="container"> |
430 | 455 | <h2>منتجاتنا الرجالية المميزة</h2> |
431 | | - <p>عدد زياراتك لهذا القسم: <span id="visitorCount" style="color: gold;"></span></p> |
432 | | - </div> |
433 | 456 |
|
434 | 457 | <div id="products-grid" class="products-grid"> |
435 | 458 | </div> |
@@ -589,7 +612,7 @@ <h2>تواصل معنا</h2> |
589 | 612 | { id: 'p2', name: 'عطر نسيم البحر', price: 4900, image: 'men2.jpg', rating: 4.5 }, |
590 | 613 | { id: 'p3', name: 'عطر روح الصحراء', price: 5500, image: 'men3.jpg', rating: 4.9 }, |
591 | 614 | { id: 'p4', name: 'عطر ليالي الشرق', price: 5200, image: 'men4.jpg', rating: 4.7 }, |
592 | | - { id: 'p5', name: 'غطر خرير الماء', price: 4200, image: 'men5.jpg', rating: 4.6 } |
| 615 | + { id: 'p5', name: 'عطر خرير الماء', price: 4200, image: 'men5.jpg', rating: 4.6 } |
593 | 616 | ]; |
594 | 617 |
|
595 | 618 | const productsGrid = document.getElementById('products-grid'); |
@@ -780,7 +803,7 @@ <h3>${product.name}</h3> |
780 | 803 | if (productName.includes(searchTerm)) { |
781 | 804 | product.style.display = 'flex'; |
782 | 805 | } else { |
783 | | - product.style.display = 'none'; |
| 806 | + product.style.display = 'flex'; |
784 | 807 | } |
785 | 808 | }); |
786 | 809 | }); |
@@ -1043,7 +1066,7 @@ <h3>${product.name}</h3> |
1043 | 1066 | chatIcon.onclick = () => { chatPopup.style.display = 'flex'; chatIcon.style.display = 'none'; }; |
1044 | 1067 | closeChatBtn.onclick = () => { chatPopup.style.display = 'none'; chatIcon.style.display = 'block'; }; |
1045 | 1068 | if (userName) { namePrompt.style.display = 'none'; chatInputArea.style.display = 'flex'; const welcomeBackMsg = `أهلاً بعودتك يا ${userName}! كيف أقدر أساعدك اليوم؟ يمكنك طلب تشغيل الموسيقى اكتب كلمة "تشغيل".`; addMessage(welcomeBackMsg, 'bot'); speak(welcomeBackMsg); } else { const welcomeMsg = "أهلاً بك في متجر الأيقونة! أنا مؤظف خدمة العملاء الذكي. لطفاً، أدخل اسمك للبدء."; addMessage(welcomeMsg, 'bot'); speak(welcomeMsg); } |
1046 | | - sendNameBtn.onclick = () => { const name = nameInput.value.trim(); if (name) { userName = name; localStorage.setItem('perfume_userName', userName); namePrompt.style.display = 'none'; chatInputArea.style.display = 'flex'; addMessage(`رائع يا ${userName}! كيف أقدر أساعدك؟`, 'bot'); } }; |
| 1069 | + sendNameBtn.onclick = () => { const name = nameInput.value.trim(); if (name) { userName = name; localStorage.setItem('perfume_userName', userName); namePrompt.style.display = 'none'; chatInputArea.style.display = 'flex'; addMessage(`رائع يا ${userName}! كيف أقدر أساعدك؟ يمكنك سماع الموسيقى ارسل كلمة "تشغيل"`, 'bot'); } }; |
1047 | 1070 | sendBtn.onclick = handleUserInput; |
1048 | 1071 | chatInput.onkeypress = e => { if (e.key === 'Enter') handleUserInput(); }; |
1049 | 1072 | function handleUserInput() { const query = chatInput.value.trim(); if (!query) return; addMessage(query, 'user'); processQuery(query); chatInput.value = ''; } |
@@ -1101,28 +1124,6 @@ <h3>${product.name}</h3> |
1101 | 1124 | }); |
1102 | 1125 | }); |
1103 | 1126 |
|
1104 | | -// Check for localStorage support |
1105 | | - if (typeof(Storage) !== "undefined") { |
1106 | | - // Get the current visitor count from localStorage |
1107 | | - let count = localStorage.getItem("visitorCount"); |
1108 | | - |
1109 | | - // If it's the first visit, set the count to 1 |
1110 | | - if (count === null) { |
1111 | | - count = 1; |
1112 | | - } else { |
1113 | | - // Otherwise, increment the count by 1 |
1114 | | - count = parseInt(count) + 1; |
1115 | | - } |
1116 | | - |
1117 | | - // Store the new count in localStorage |
1118 | | - localStorage.setItem("visitorCount", count); |
1119 | | - |
1120 | | - // Display the count on the page |
1121 | | - document.getElementById("visitorCount").innerHTML = count; |
1122 | | - } else { |
1123 | | - // Fallback for browsers that don't support localStorage |
1124 | | - document.getElementById("visitorCount").innerHTML = "متصفحك لا يدعم localStorage"; |
1125 | | - } |
1126 | 1127 | </script> |
1127 | 1128 |
|
1128 | 1129 | </body> |
|
0 commit comments