Spaces:
Running
Running
for the mobile version instead of a horizantal navigation bar make it horizantal
Browse files- index.html +48 -12
index.html
CHANGED
|
@@ -60,17 +60,24 @@
|
|
| 60 |
<i data-feather="zap" class="text-yellow-500"></i>
|
| 61 |
<span class="text-2xl font-bold font-['Bebas+Neue'] tracking-wider text-yellow-500">AMPLIFY</span>
|
| 62 |
</div>
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
<
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
</
|
| 73 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
<div class="relative">
|
| 75 |
<button id="cart-button" class="flex items-center space-x-1 bg-black bg-opacity-50 px-3 py-2 rounded-lg border border-yellow-500 hover:bg-yellow-500 hover:text-black transition">
|
| 76 |
<i data-feather="shopping-cart" class="text-yellow-500 hover:text-black"></i>
|
|
@@ -599,10 +606,39 @@
|
|
| 599 |
</div>
|
| 600 |
</div>
|
| 601 |
</footer>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 602 |
|
| 603 |
<script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 604 |
// Performance Dashboard Animation
|
| 605 |
-
|
| 606 |
const metrics = ['confidence-level', 'stress-level', 'focus-level'];
|
| 607 |
const performanceBar = document.getElementById('performance-bar');
|
| 608 |
function updateMetrics() {
|
|
|
|
| 60 |
<i data-feather="zap" class="text-yellow-500"></i>
|
| 61 |
<span class="text-2xl font-bold font-['Bebas+Neue'] tracking-wider text-yellow-500">AMPLIFY</span>
|
| 62 |
</div>
|
| 63 |
+
<!-- Mobile menu button -->
|
| 64 |
+
<div class="md:hidden">
|
| 65 |
+
<button id="mobile-menu-button" class="text-white focus:outline-none">
|
| 66 |
+
<i data-feather="menu"></i>
|
| 67 |
+
</button>
|
| 68 |
+
</div>
|
| 69 |
+
|
| 70 |
+
<!-- Desktop Navigation -->
|
| 71 |
+
<div class="hidden md:flex items-center space-x-8">
|
| 72 |
+
<a href="index.html" class="text-white hover:text-yellow-500 transition">Home</a>
|
| 73 |
+
<a href="index.html#features" class="text-white hover:text-yellow-500 transition">Features</a>
|
| 74 |
+
<a href="index.html#pricing" class="text-white hover:text-yellow-500 transition">Pricing</a>
|
| 75 |
+
<a href="about.html" class="text-white hover:text-yellow-500 transition">About</a>
|
| 76 |
+
<a href="currency.html" class="text-white hover:text-yellow-500 transition">Currency</a>
|
| 77 |
+
<a href="events.html" class="text-white hover:text-yellow-500 transition">Events</a>
|
| 78 |
+
<a href="results.html" class="text-white hover:text-yellow-500 transition">Results</a>
|
| 79 |
+
</div>
|
| 80 |
+
<div class="flex items-center space-x-4">
|
| 81 |
<div class="relative">
|
| 82 |
<button id="cart-button" class="flex items-center space-x-1 bg-black bg-opacity-50 px-3 py-2 rounded-lg border border-yellow-500 hover:bg-yellow-500 hover:text-black transition">
|
| 83 |
<i data-feather="shopping-cart" class="text-yellow-500 hover:text-black"></i>
|
|
|
|
| 606 |
</div>
|
| 607 |
</div>
|
| 608 |
</footer>
|
| 609 |
+
<!-- Mobile Menu -->
|
| 610 |
+
<div id="mobile-menu" class="hidden fixed inset-0 bg-black bg-opacity-90 z-50 flex flex-col items-center justify-center">
|
| 611 |
+
<button id="mobile-menu-close" class="absolute top-4 right-4 text-white text-2xl">
|
| 612 |
+
<i data-feather="x"></i>
|
| 613 |
+
</button>
|
| 614 |
+
<div class="flex flex-col space-y-6 text-center">
|
| 615 |
+
<a href="index.html" class="text-2xl text-white hover:text-yellow-500 transition">Home</a>
|
| 616 |
+
<a href="index.html#features" class="text-2xl text-white hover:text-yellow-500 transition">Features</a>
|
| 617 |
+
<a href="index.html#pricing" class="text-2xl text-white hover:text-yellow-500 transition">Pricing</a>
|
| 618 |
+
<a href="about.html" class="text-2xl text-white hover:text-yellow-500 transition">About</a>
|
| 619 |
+
<a href="currency.html" class="text-2xl text-white hover:text-yellow-500 transition">Currency</a>
|
| 620 |
+
<a href="events.html" class="text-2xl text-white hover:text-yellow-500 transition">Events</a>
|
| 621 |
+
<a href="results.html" class="text-2xl text-white hover:text-yellow-500 transition">Results</a>
|
| 622 |
+
</div>
|
| 623 |
+
</div>
|
| 624 |
|
| 625 |
<script>
|
| 626 |
+
// Mobile menu toggle
|
| 627 |
+
const mobileMenuButton = document.getElementById('mobile-menu-button');
|
| 628 |
+
const mobileMenu = document.getElementById('mobile-menu');
|
| 629 |
+
const mobileMenuClose = document.getElementById('mobile-menu-close');
|
| 630 |
+
|
| 631 |
+
mobileMenuButton.addEventListener('click', () => {
|
| 632 |
+
mobileMenu.classList.remove('hidden');
|
| 633 |
+
feather.replace();
|
| 634 |
+
});
|
| 635 |
+
|
| 636 |
+
mobileMenuClose.addEventListener('click', () => {
|
| 637 |
+
mobileMenu.classList.add('hidden');
|
| 638 |
+
});
|
| 639 |
+
|
| 640 |
// Performance Dashboard Animation
|
| 641 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 642 |
const metrics = ['confidence-level', 'stress-level', 'focus-level'];
|
| 643 |
const performanceBar = document.getElementById('performance-bar');
|
| 644 |
function updateMetrics() {
|