Spaces:
Running
Running
we ant to include the mens grooming on the front page as well. - Follow Up Deployment
Browse files- index.html +23 -14
index.html
CHANGED
|
@@ -183,6 +183,7 @@
|
|
| 183 |
}
|
| 184 |
|
| 185 |
.fade-in {
|
|
|
|
| 186 |
animation: fadeIn 0.8s ease-out forwards;
|
| 187 |
}
|
| 188 |
|
|
@@ -252,7 +253,7 @@
|
|
| 252 |
</div>
|
| 253 |
|
| 254 |
<!-- Mobile Menu -->
|
| 255 |
-
<div id="mobile-menu" class="hidden md:hidden bg-white border-t border-soft-sage">
|
| 256 |
<div class="container mx-auto px-4 py-3">
|
| 257 |
<ul class="space-y-3">
|
| 258 |
<li><a href="#" class="block text-deep-sage hover:text-sage font-medium transition">Home</a></li>
|
|
@@ -767,7 +768,7 @@
|
|
| 767 |
<script src="https://assets.calendly.com/assets/external/widget.js" type="text/javascript" async></script>
|
| 768 |
|
| 769 |
<!-- Promotion Popup Modal -->
|
| 770 |
-
<div id="promo-modal" class="modal hidden" aria-hidden="true" role="dialog" aria-labelledby="modal-title">
|
| 771 |
<div class="modal-content bg-white rounded-lg p-8 max-w-md mx-auto my-12 relative">
|
| 772 |
<button id="close-modal" class="absolute top-4 right-4 text-warm-gray hover:text-sage">
|
| 773 |
<i class="fas fa-times text-2xl"></i>
|
|
@@ -788,7 +789,11 @@
|
|
| 788 |
// Mobile menu toggle
|
| 789 |
document.getElementById('mobile-menu-button').addEventListener('click', function() {
|
| 790 |
const menu = document.getElementById('mobile-menu');
|
|
|
|
|
|
|
| 791 |
menu.classList.toggle('hidden');
|
|
|
|
|
|
|
| 792 |
});
|
| 793 |
|
| 794 |
// Set current year in footer
|
|
@@ -811,22 +816,26 @@
|
|
| 811 |
}
|
| 812 |
});
|
| 813 |
|
| 814 |
-
//
|
| 815 |
document.addEventListener('DOMContentLoaded', function() {
|
| 816 |
const fadeElements = document.querySelectorAll('.fade-in');
|
| 817 |
|
| 818 |
-
|
| 819 |
-
|
| 820 |
-
|
| 821 |
-
entry.
|
| 822 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 823 |
});
|
| 824 |
-
|
| 825 |
-
|
| 826 |
-
|
| 827 |
-
|
| 828 |
-
|
| 829 |
-
});
|
| 830 |
});
|
| 831 |
</script>
|
| 832 |
<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=Bearbeardog/smoothlex" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
|
|
|
| 183 |
}
|
| 184 |
|
| 185 |
.fade-in {
|
| 186 |
+
opacity: 0;
|
| 187 |
animation: fadeIn 0.8s ease-out forwards;
|
| 188 |
}
|
| 189 |
|
|
|
|
| 253 |
</div>
|
| 254 |
|
| 255 |
<!-- Mobile Menu -->
|
| 256 |
+
<div id="mobile-menu" class="hidden md:hidden bg-white border-t border-soft-sage" aria-hidden="true">
|
| 257 |
<div class="container mx-auto px-4 py-3">
|
| 258 |
<ul class="space-y-3">
|
| 259 |
<li><a href="#" class="block text-deep-sage hover:text-sage font-medium transition">Home</a></li>
|
|
|
|
| 768 |
<script src="https://assets.calendly.com/assets/external/widget.js" type="text/javascript" async></script>
|
| 769 |
|
| 770 |
<!-- Promotion Popup Modal -->
|
| 771 |
+
<div id="promo-modal" class="modal hidden" aria-hidden="true" role="dialog" aria-modal="true" aria-labelledby="promo-modal-title">
|
| 772 |
<div class="modal-content bg-white rounded-lg p-8 max-w-md mx-auto my-12 relative">
|
| 773 |
<button id="close-modal" class="absolute top-4 right-4 text-warm-gray hover:text-sage">
|
| 774 |
<i class="fas fa-times text-2xl"></i>
|
|
|
|
| 789 |
// Mobile menu toggle
|
| 790 |
document.getElementById('mobile-menu-button').addEventListener('click', function() {
|
| 791 |
const menu = document.getElementById('mobile-menu');
|
| 792 |
+
const isExpanded = this.getAttribute('aria-expanded') === 'true';
|
| 793 |
+
|
| 794 |
menu.classList.toggle('hidden');
|
| 795 |
+
menu.setAttribute('aria-hidden', isExpanded);
|
| 796 |
+
this.setAttribute('aria-expanded', !isExpanded);
|
| 797 |
});
|
| 798 |
|
| 799 |
// Set current year in footer
|
|
|
|
| 816 |
}
|
| 817 |
});
|
| 818 |
|
| 819 |
+
// Intersection Observer for animations
|
| 820 |
document.addEventListener('DOMContentLoaded', function() {
|
| 821 |
const fadeElements = document.querySelectorAll('.fade-in');
|
| 822 |
|
| 823 |
+
if (fadeElements.length > 0) {
|
| 824 |
+
const fadeInObserver = new IntersectionObserver((entries) => {
|
| 825 |
+
entries.forEach(entry => {
|
| 826 |
+
if (entry.isIntersecting) {
|
| 827 |
+
entry.target.style.opacity = 1;
|
| 828 |
+
}
|
| 829 |
+
});
|
| 830 |
+
}, {
|
| 831 |
+
threshold: 0.1,
|
| 832 |
+
rootMargin: '0px 0px -50px 0px'
|
| 833 |
});
|
| 834 |
+
|
| 835 |
+
fadeElements.forEach(element => {
|
| 836 |
+
fadeInObserver.observe(element);
|
| 837 |
+
});
|
| 838 |
+
}
|
|
|
|
| 839 |
});
|
| 840 |
</script>
|
| 841 |
<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=Bearbeardog/smoothlex" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|