Skip to content

Commit 667941b

Browse files
authored
Add files via upload
Signed-off-by: الأيقونة للعطور <147558813+talalye1@users.noreply.github.com>
1 parent 73e4bf6 commit 667941b

5 files changed

Lines changed: 152 additions & 32 deletions

File tree

female.html

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -368,10 +368,14 @@
368368
<img class="thumb" src="female5.jpg" alt="منتج 5" data-high="female5.png" style="width:60px;height:60px;border:2px solid var(--gold);border-radius:2px;cursor:pointer;object-fit:cover;">
369369
</div>
370370
</div>
371+
<div class="container">
372+
<p>عدد الزوار: <span id="visitorCount" style="color: gold;"></span></p>
373+
</div>
371374
<div class="container">
372375
<h1>عطور نسائية فاخرة</h1>
373376
<p>اكتشف مجموعة العطور النسائية التي تعكس الذوق والأناقة. ثبات يدوم طويلاً ورائحة تأسر الحواس.</p>
374-
377+
</div>
378+
<div class="container">
375379
<button id="downloadBtn">
376380
<i class="fab fa-android"></i> تحميل تطبيق الأندرويد
377381
</button>
@@ -380,8 +384,7 @@ <h1>عطور نسائية فاخرة</h1>
380384
</div>
381385
</div>
382386

383-
<hr style="border-color: var(--gold); opacity: 0.2; margin: 40px 0;">
384-
387+
385388
<div class="container">
386389
<h2>لماذا تختار الأيقونة للعطور؟</h2>
387390
<div class="why-us">
@@ -403,8 +406,6 @@ <h3>ضمان الرضا</h3>
403406
</div>
404407
</div>
405408

406-
<hr style="border-color: var(--gold); opacity: 0.2; margin: 40px 0;">
407-
408409
<div class="container">
409410
<h2>منتجاتنا النسائية المميزة</h2>
410411
<div id="products-grid" class="products-grid">
@@ -423,7 +424,6 @@ <h3>تأكيد الطلب</h3>
423424
</div>
424425
</div>
425426

426-
<hr style="border-color: var(--gold); opacity: 0.2; margin: 40px 0;">
427427

428428
<div class="container">
429429
<div id="comments-section">
@@ -964,6 +964,29 @@ <h3>${product.name}</h3>
964964
spacing:"3px"
965965
});
966966
});
967+
968+
// Check for localStorage support
969+
if (typeof(Storage) !== "undefined") {
970+
// Get the current visitor count from localStorage
971+
let count = localStorage.getItem("visitorCount");
972+
973+
// If it's the first visit, set the count to 1
974+
if (count === null) {
975+
count = 1;
976+
} else {
977+
// Otherwise, increment the count by 1
978+
count = parseInt(count) + 1;
979+
}
980+
981+
// Store the new count in localStorage
982+
localStorage.setItem("visitorCount", count);
983+
984+
// Display the count on the page
985+
document.getElementById("visitorCount").innerHTML = count;
986+
} else {
987+
// Fallback for browsers that don't support localStorage
988+
document.getElementById("visitorCount").innerHTML = "متصفحك لا يدعم localStorage";
989+
}
967990
</script>
968991

969992
</body>

index.html

Lines changed: 33 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,11 @@
7373
h1, h2, h3 { color: var(--gold); }
7474
h2 { text-align: center; margin-bottom: 25px; font-size: 2.2rem; }
7575

76+
7677
/* --- Navigation Bar --- */
7778
.top-bar {
7879
position: fixed;
79-
top: 0;
80+
top: 10;
8081
left: 0;
8182
width: 100%;
8283
display: flex;
@@ -149,7 +150,7 @@
149150
padding: 15px;
150151
text-align: center;
151152
transition: all 0.3s ease;
152-
display: flex;
153+
display: none;
153154
flex-direction: column;
154155
justify-content: space-between;
155156
}
@@ -360,18 +361,15 @@
360361
</div>
361362
<!-- صف الصور المصغرة -->
362363
</div>
363-
<div class="thumbs-row" style="display:flex;justify-content:center;gap:12px;margin-bottom:5px;">
364-
<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;">
365-
<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;">
366-
<img class="thumb" src="men3.jpg" alt="منتج 3" data-high="men3.png" style="width:60px;height:60px;border:2px solid var(--gold);border-radius:2px;cursor:pointer;object-fit:cover;">
367-
<img class="thumb" src="men4.jpg" alt="منتج 4" data-high="men4.png" style="width:60px;height:60px;border:2px solid var(--gold);border-radius:2px;cursor:pointer;object-fit:cover;">
368-
<img class="thumb" src="men5.jpg" alt="منتج 5" data-high="men5.png" style="width:60px;height:60px;border:2px solid var(--gold);border-radius:2px;cursor:pointer;object-fit:cover;">
369-
</div>
370364
</div>
365+
<div class="container">
366+
<p>عدد الزوار: <span id="visitorCount" style="color: gold;"></span></p>
367+
</div>
371368
<div class="container">
372369
<h1>الأيقونة للعطور - اناقة واصالة</h1>
373370
<p>اكتشف مجموعة من العطور الرجالية والنسائية والبخور تمتع بالقوة والأناقة. ثبات يدوم طويلاً ورائحة تأسر الحواس.</p>
374-
371+
</div>
372+
<div class="container">
375373
<button id="downloadBtn">
376374
<i class="fab fa-android"></i> تحميل تطبيق الأندرويد
377375
</button>
@@ -400,7 +398,7 @@ <h3>ضمان الرضا</h3>
400398
</div>
401399
</div>
402400
<div class="container">
403-
<h2>منتجاتنا الرجالية المميزة</h2>
401+
404402
<div id="products-grid" class="products-grid">
405403
</div>
406404
</div>
@@ -909,7 +907,7 @@ <h3>${product.name}</h3>
909907

910908
});
911909

912-
const sliderImgs = ["men1.jpg","men2.jpg","men3.jpg","men4.jpg","men5.jpg"];
910+
const sliderImgs = ["men1.jpg","female1.jpg","moan1.jpg","men2.jpg","female2.jpg","moan2.jpg","men3.jpg","female3.jpg","moan3.jpg","men4.jpg","female4.jpg","moan4.jpg","men5.jpg","female1.jpg","moan1.jpg"];
913911
const highImgs = ["men1.png","men2.png","men3.png","men4.png","men5.png"];
914912
let mainImg = document.getElementById('mainImg');
915913
let thumbs = document.querySelectorAll('.thumb');
@@ -955,6 +953,29 @@ <h3>${product.name}</h3>
955953
spacing:"3px"
956954
});
957955
});
956+
957+
// Check for localStorage support
958+
if (typeof(Storage) !== "undefined") {
959+
// Get the current visitor count from localStorage
960+
let count = localStorage.getItem("visitorCount");
961+
962+
// If it's the first visit, set the count to 1
963+
if (count === null) {
964+
count = 1;
965+
} else {
966+
// Otherwise, increment the count by 1
967+
count = parseInt(count) + 1;
968+
}
969+
970+
// Store the new count in localStorage
971+
localStorage.setItem("visitorCount", count);
972+
973+
// Display the count on the page
974+
document.getElementById("visitorCount").innerHTML = count;
975+
} else {
976+
// Fallback for browsers that don't support localStorage
977+
document.getElementById("visitorCount").innerHTML = "متصفحك لا يدعم localStorage";
978+
}
958979
</script>
959980

960981
</body>

makeup.html

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,39 @@
122122
<!-- الصورة الكبرى المتغيرة -->
123123
<img id="mainImg" src="moant4.jpg" alt="منتج مختار" style="width:100%;max-width:100%;height:100%;object-fit:contain;transition:.4s;">
124124
</div>
125-
125+
<div class="container">
126+
<p>عدد الزوار: <span id="visitorCount" style="color: gold;"></span></p>
127+
</div>
126128
<div class="container">
127129
<h1>مستحضرات التجميل - قيد الإنشاء</h1>
128130
<p>قريباً سيتم انشاء قسم مستحضرات التجميل</p>
129131
</div>
132+
133+
<script>
134+
135+
// Check for localStorage support
136+
if (typeof(Storage) !== "undefined") {
137+
// Get the current visitor count from localStorage
138+
let count = localStorage.getItem("visitorCount");
139+
140+
// If it's the first visit, set the count to 1
141+
if (count === null) {
142+
count = 1;
143+
} else {
144+
// Otherwise, increment the count by 1
145+
count = parseInt(count) + 1;
146+
}
147+
148+
// Store the new count in localStorage
149+
localStorage.setItem("visitorCount", count);
150+
151+
// Display the count on the page
152+
document.getElementById("visitorCount").innerHTML = count;
153+
} else {
154+
// Fallback for browsers that don't support localStorage
155+
document.getElementById("visitorCount").innerHTML = "متصفحك لا يدعم localStorage";
156+
}
157+
158+
</script>
130159
</body>
131160
</html>

men.html

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,9 @@
368368
<img class="thumb" src="men5.jpg" alt="منتج 5" data-high="men5.png" style="width:60px;height:60px;border:2px solid var(--gold);border-radius:2px;cursor:pointer;object-fit:cover;">
369369
</div>
370370
</div>
371+
<div class="container">
372+
<p>عدد الزوار: <span id="visitorCount" style="color: gold;"></span></p>
373+
</div>
371374
<div class="container">
372375
<h1>عطور رجالية فاخرة</h1>
373376
<p>اكتشف مجموعة العطور الرجالية التي تعكس القوة والأناقة. ثبات يدوم طويلاً ورائحة تأسر الحواس.</p>
@@ -955,6 +958,29 @@ <h3>${product.name}</h3>
955958
spacing:"3px"
956959
});
957960
});
961+
962+
// Check for localStorage support
963+
if (typeof(Storage) !== "undefined") {
964+
// Get the current visitor count from localStorage
965+
let count = localStorage.getItem("visitorCount");
966+
967+
// If it's the first visit, set the count to 1
968+
if (count === null) {
969+
count = 1;
970+
} else {
971+
// Otherwise, increment the count by 1
972+
count = parseInt(count) + 1;
973+
}
974+
975+
// Store the new count in localStorage
976+
localStorage.setItem("visitorCount", count);
977+
978+
// Display the count on the page
979+
document.getElementById("visitorCount").innerHTML = count;
980+
} else {
981+
// Fallback for browsers that don't support localStorage
982+
document.getElementById("visitorCount").innerHTML = "متصفحك لا يدعم localStorage";
983+
}
958984
</script>
959985

960986
</body>

moan.html

Lines changed: 34 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -368,20 +368,22 @@
368368
<img class="thumb" src="moan5.jpg" alt="منتج 5" data-high="moan5.png" style="width:60px;height:60px;border:2px solid var(--gold);border-radius:2px;cursor:pointer;object-fit:cover;">
369369
</div>
370370
</div>
371+
371372
<div class="container">
372-
<h1>بخور وعود فاخرة</h1>
373-
<p>اكتشف مجموعة من البخور والوعود التي تعكس القوة والأناقة. رائحة تأسر الحواس.</p>
374-
373+
<p>عدد الزوار: <span id="visitorCount" style="color: gold;"></span></p>
374+
</div>
375+
<div class="container">
376+
<h1>بخور وعود فاخرة</h1>
377+
<p>اكتشف مجموعة من البخور والوعود التي تعكس القوة والأناقة. رائحة تأسر الحواس.</p>
378+
</div>
379+
</div>
380+
<div class="container">
375381
<button id="downloadBtn">
376382
<i class="fab fa-android"></i> تحميل تطبيق الأندرويد
377383
</button>
378384
<div id="progressBar"></div>
379-
<div id="downloadStatus" style="margin-top: 5px; color: var(--light-gold);"></div>
380-
</div>
381-
</div>
382-
383-
<hr style="border-color: var(--gold); opacity: 0.2; margin: 40px 0;">
384-
385+
<div id="downloadStatus" style="margin-top: 5px; color: var(--light-gold);">
386+
385387
<div class="container">
386388
<h2>لماذا تختار الأيقونة للعطور؟</h2>
387389
<div class="why-us">
@@ -403,8 +405,6 @@ <h3>ضمان الرضا</h3>
403405
</div>
404406
</div>
405407

406-
<hr style="border-color: var(--gold); opacity: 0.2; margin: 40px 0;">
407-
408408
<div class="container">
409409
<h2>منتجاتنا الرجالية المميزة</h2>
410410
<div id="products-grid" class="products-grid">
@@ -423,8 +423,6 @@ <h3>تأكيد الطلب</h3>
423423
</div>
424424
</div>
425425

426-
<hr style="border-color: var(--gold); opacity: 0.2; margin: 40px 0;">
427-
428426
<div class="container">
429427
<div id="comments-section">
430428
<h2>آراء العملاء</h2>
@@ -964,6 +962,29 @@ <h3>${product.name}</h3>
964962
spacing:"3px"
965963
});
966964
});
965+
966+
// Check for localStorage support
967+
if (typeof(Storage) !== "undefined") {
968+
// Get the current visitor count from localStorage
969+
let count = localStorage.getItem("visitorCount");
970+
971+
// If it's the first visit, set the count to 1
972+
if (count === null) {
973+
count = 1;
974+
} else {
975+
// Otherwise, increment the count by 1
976+
count = parseInt(count) + 1;
977+
}
978+
979+
// Store the new count in localStorage
980+
localStorage.setItem("visitorCount", count);
981+
982+
// Display the count on the page
983+
document.getElementById("visitorCount").innerHTML = count;
984+
} else {
985+
// Fallback for browsers that don't support localStorage
986+
document.getElementById("visitorCount").innerHTML = "متصفحك لا يدعم localStorage";
987+
}
967988
</script>
968989

969990
</body>

0 commit comments

Comments
 (0)