Spaces:
Running
Running
Manual changes saved
Browse files- index.html +169 -148
index.html
CHANGED
|
@@ -31,166 +31,180 @@
|
|
| 31 |
@apply transition-all duration-300 hover:scale-105 hover:shadow-xl;
|
| 32 |
}
|
| 33 |
.hamburger-line {
|
| 34 |
-
@apply w-6 h-0.5 bg-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
}
|
| 36 |
</style>
|
| 37 |
</head>
|
| 38 |
<body class="bg-purple-900 dark:bg-purple-900 text-blue-900 dark:text-blue-900 min-h-screen flex flex-col relative" style="background-image: radial-gradient(circle at 25% 25%, rgba(59, 7, 100, 0.4) 0%, rgba(59, 7, 100, 0) 50%), radial-gradient(circle at 75% 75%, rgba(76, 29, 149, 0.4) 0%, rgba(76, 29, 149, 0) 50%);">
|
|
|
|
| 39 |
<header class="sticky top-0 z-50 bg-purple-800/80 dark:bg-purple-800/80 backdrop-blur-md shadow-sm">
|
| 40 |
-
<div class="container mx-auto px-4 py-3">
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
<nav class="hidden md:flex space-x-8">
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
</nav>
|
| 51 |
-
<div class="flex items-center space-x-4">
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
</div>
|
| 63 |
</div>
|
|
|
|
|
|
|
|
|
|
| 64 |
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
<a href="strategy.html" class="nav-link
|
| 71 |
-
|
| 72 |
</div>
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
<
|
| 76 |
-
<div class="
|
| 77 |
-
<div class="
|
| 78 |
-
<
|
| 79 |
-
<
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
<
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
</a>
|
| 89 |
-
</div>
|
| 90 |
</div>
|
| 91 |
-
<div class="md:w-1/2"></div>
|
| 92 |
</div>
|
|
|
|
| 93 |
</div>
|
| 94 |
-
</
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 98 |
|
| 99 |
-
<
|
| 100 |
-
<
|
| 101 |
-
<
|
| 102 |
-
<i data-feather="map" class="text-primary"></i>
|
| 103 |
-
</div>
|
| 104 |
-
<h3 class="text-xl font-semibold mb-2">Value Mapper</h3>
|
| 105 |
-
<p class="text-gray-600 dark:text-gray-300">Qualify leads effectively by mapping their values to your solutions.</p>
|
| 106 |
-
</a>
|
| 107 |
-
|
| 108 |
-
<a href="about.html" class="bg-white dark:bg-gray-700 rounded-xl p-6 shadow-md card-hover">
|
| 109 |
-
<div class="w-12 h-12 rounded-lg bg-secondary/10 flex items-center justify-center mb-4">
|
| 110 |
-
<i data-feather="users" class="text-secondary"></i>
|
| 111 |
-
</div>
|
| 112 |
-
<h3 class="text-xl font-semibold mb-2">Deal Scoring</h3>
|
| 113 |
-
<p class="text-gray-600 dark:text-gray-300">Utilise our MEDDICC Scorecard to drive deals and improve forecasting accuracy.</p>
|
| 114 |
-
</a>
|
| 115 |
-
|
| 116 |
-
<a href="strategy.html" class="bg-white dark:bg-gray-700 rounded-xl p-6 shadow-md card-hover">
|
| 117 |
-
<div class="w-12 h-12 rounded-lg bg-primary/10 flex items-center justify-center mb-4">
|
| 118 |
-
<i data-feather="trending-up" class="text-primary"></i>
|
| 119 |
-
</div>
|
| 120 |
-
<h3 class="text-xl font-semibold mb-2">Sales Strategy</h3>
|
| 121 |
-
<p class="text-gray-600 dark:text-gray-300">Implement our proven value-centric sales methodology.</p>
|
| 122 |
-
</a>
|
| 123 |
-
|
| 124 |
-
<div class="bg-white dark:bg-gray-700 rounded-xl p-6 shadow-md card-hover">
|
| 125 |
-
<div class="w-12 h-12 rounded-lg bg-secondary/10 flex items-center justify-center mb-4">
|
| 126 |
-
<i data-feather="bar-chart-2" class="text-secondary"></i>
|
| 127 |
-
</div>
|
| 128 |
-
<h3 class="text-xl font-semibold mb-2">Sales Academy</h3>
|
| 129 |
-
<p class="text-gray-600 dark:text-gray-300">Enroll in eLearning training courses to raise your sales game and become an elite seller.</p>
|
| 130 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 131 |
</div>
|
| 132 |
</div>
|
| 133 |
-
</
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 143 |
</a>
|
| 144 |
-
|
| 145 |
-
</div>
|
| 146 |
-
</section>
|
| 147 |
-
<footer class="bg-purple-800 backdrop-blur-sm border-t border-gray-700">
|
| 148 |
-
<div class="container mx-auto px-4 py-8">
|
| 149 |
-
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 150 |
-
<div class="mb-6 md:mb-0">
|
| 151 |
-
<a href="index.html" class="flex items-center space-x-2">
|
| 152 |
-
<span class="text-lg font-bold text-white font-heading">McGPT</span>
|
| 153 |
-
</a>
|
| 154 |
-
<p class="text-gray-600 dark:text-gray-300 mt-2 text-sm">
|
| 155 |
Navigating your sales success with AI since 2023
|
| 156 |
-
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 157 |
</div>
|
| 158 |
-
<div
|
| 159 |
-
<
|
| 160 |
-
|
| 161 |
-
<
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
<
|
| 168 |
-
|
| 169 |
-
<
|
| 170 |
-
<
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
<
|
| 178 |
-
<a href="#" class="text-gray-600 dark:text-gray-300 hover:text-primary transition-colors">
|
| 179 |
-
<i data-feather="twitter"></i>
|
| 180 |
-
</a>
|
| 181 |
-
<a href="#" class="text-gray-600 dark:text-gray-300 hover:text-primary transition-colors">
|
| 182 |
-
<i data-feather="linkedin"></i>
|
| 183 |
-
</a>
|
| 184 |
-
<a href="#" class="text-gray-600 dark:text-gray-300 hover:text-primary transition-colors">
|
| 185 |
-
<i data-feather="github"></i>
|
| 186 |
-
</a>
|
| 187 |
-
</div>
|
| 188 |
</div>
|
| 189 |
</div>
|
| 190 |
</div>
|
| 191 |
-
<div class="mt-8 pt-8 border-t border-gray-
|
| 192 |
<p>© 2023 McGPT Navigator. All rights reserved.</p>
|
| 193 |
-
</div>
|
| 194 |
</div>
|
| 195 |
</footer>
|
| 196 |
|
|
@@ -200,30 +214,37 @@ Learn More
|
|
| 200 |
const mobileMenu = document.getElementById('mobileMenu');
|
| 201 |
|
| 202 |
mobileMenuButton.addEventListener('click', () => {
|
|
|
|
| 203 |
mobileMenu.classList.toggle('hidden');
|
|
|
|
| 204 |
mobileMenuButton.classList.toggle('open');
|
|
|
|
|
|
|
| 205 |
});
|
| 206 |
|
| 207 |
-
// Theme Toggle
|
| 208 |
const themeToggle = document.getElementById('themeToggle');
|
| 209 |
const html = document.documentElement;
|
| 210 |
|
|
|
|
| 211 |
themeToggle.addEventListener('click', () => {
|
| 212 |
-
|
| 213 |
-
|
|
|
|
| 214 |
});
|
|
|
|
| 215 |
// Set initial theme - always dark by default
|
| 216 |
-
html.classList.
|
| 217 |
-
|
| 218 |
-
|
|
|
|
|
|
|
| 219 |
const currentPage = window.location.pathname.split('/').pop() || 'index.html';
|
| 220 |
document.querySelectorAll('.nav-link').forEach(link => {
|
|
|
|
| 221 |
const linkHref = link.getAttribute('href');
|
| 222 |
-
if (
|
| 223 |
-
(currentPage !== 'index.html' && linkHref === currentPage)) {
|
| 224 |
link.classList.add('active');
|
| 225 |
-
} else {
|
| 226 |
-
link.classList.remove('active');
|
| 227 |
}
|
| 228 |
});
|
| 229 |
|
|
@@ -231,4 +252,4 @@ Learn More
|
|
| 231 |
feather.replace();
|
| 232 |
</script>
|
| 233 |
</body>
|
| 234 |
-
</html
|
|
|
|
| 31 |
@apply transition-all duration-300 hover:scale-105 hover:shadow-xl;
|
| 32 |
}
|
| 33 |
.hamburger-line {
|
| 34 |
+
@apply w-6 h-0.5 bg-white transition-all duration-300;
|
| 35 |
+
}
|
| 36 |
+
/* Styles for the animated hamburger icon when menu is open */
|
| 37 |
+
#mobileMenuButton.open .hamburger-line:nth-child(1) {
|
| 38 |
+
transform: rotate(45deg) translate(5px, 6px);
|
| 39 |
+
}
|
| 40 |
+
#mobileMenuButton.open .hamburger-line:nth-child(2) {
|
| 41 |
+
opacity: 0;
|
| 42 |
+
}
|
| 43 |
+
#mobileMenuButton.open .hamburger-line:nth-child(3) {
|
| 44 |
+
transform: rotate(-45deg) translate(5px, -6px);
|
| 45 |
}
|
| 46 |
</style>
|
| 47 |
</head>
|
| 48 |
<body class="bg-purple-900 dark:bg-purple-900 text-blue-900 dark:text-blue-900 min-h-screen flex flex-col relative" style="background-image: radial-gradient(circle at 25% 25%, rgba(59, 7, 100, 0.4) 0%, rgba(59, 7, 100, 0) 50%), radial-gradient(circle at 75% 75%, rgba(76, 29, 149, 0.4) 0%, rgba(76, 29, 149, 0) 50%);">
|
| 49 |
+
|
| 50 |
<header class="sticky top-0 z-50 bg-purple-800/80 dark:bg-purple-800/80 backdrop-blur-md shadow-sm">
|
| 51 |
+
<div class="container mx-auto px-4 py-3">
|
| 52 |
+
<div class="flex justify-between items-center">
|
| 53 |
+
<a href="index.html" class="flex items-center space-x-2">
|
| 54 |
+
<span class="text-xl font-bold text-white font-heading">McGPT</span>
|
| 55 |
+
</a>
|
| 56 |
+
<nav class="hidden md:flex space-x-8">
|
| 57 |
+
<a href="index.html" class="nav-link active py-2 px-1 text-white">Home</a>
|
| 58 |
+
<a href="value-mapper.html" class="nav-link py-2 px-1 text-white hover:text-primary transition-colors">Mapper</a>
|
| 59 |
+
<a href="scorecard.html" class="nav-link py-2 px-1 text-white hover:text-primary transition-colors">Scorecard</a>
|
| 60 |
+
<a href="strategy.html" class="nav-link py-2 px-1 text-white hover:text-primary transition-colors">Method</a>
|
| 61 |
+
</nav>
|
| 62 |
+
<div class="flex items-center space-x-4">
|
| 63 |
+
<button id="themeToggle" class="p-2 rounded-full text-white hover:bg-gray-200 dark:hover:bg-gray-700">
|
| 64 |
+
<i data-feather="moon" class="hidden dark:block"></i>
|
| 65 |
+
<i data-feather="sun" class="block dark:hidden"></i>
|
| 66 |
+
</button>
|
| 67 |
|
| 68 |
+
<button id="mobileMenuButton" class="md:hidden flex flex-col space-y-1.5 p-2 z-50">
|
| 69 |
+
<span class="hamburger-line"></span>
|
| 70 |
+
<span class="hamburger-line"></span>
|
| 71 |
+
<span class="hamburger-line"></span>
|
| 72 |
+
</button>
|
|
|
|
| 73 |
</div>
|
| 74 |
+
</div>
|
| 75 |
+
</div>
|
| 76 |
+
</header>
|
| 77 |
|
| 78 |
+
<div id="mobileMenu" class="hidden fixed inset-0 z-40 bg-purple-900">
|
| 79 |
+
<div class="flex flex-col items-center justify-center h-full space-y-8">
|
| 80 |
+
<a href="index.html" class="nav-link text-2xl text-white">Home</a>
|
| 81 |
+
<a href="value-mapper.html" class="nav-link text-2xl text-white hover:text-primary transition-colors">Mapper</a>
|
| 82 |
+
<a href="scorecard.html" class="nav-link text-2xl text-white hover:text-primary transition-colors">Scorecard</a>
|
| 83 |
+
<a href="strategy.html" class="nav-link text-2xl text-white hover:text-primary transition-colors">Method</a>
|
| 84 |
+
</div>
|
| 85 |
</div>
|
| 86 |
+
|
| 87 |
+
<section class="flex-grow bg-purple-800 backdrop-blur-sm">
|
| 88 |
+
<div class="container mx-auto px-4 py-16 md:py-24">
|
| 89 |
+
<div class="flex flex-col md:flex-row items-center">
|
| 90 |
+
<div class="md:w-1/2 mb-12 md:mb-0">
|
| 91 |
+
<h1 class="text-4xl md:text-5xl font-bold mb-6 leading-tight text-white">
|
| 92 |
+
Raise <span class="bg-gradient-to-r from-primary to-secondary bg-clip-text text-transparent">your</span> game
|
| 93 |
+
</h1>
|
| 94 |
+
<p class="text-xl mb-8 text-white dark:text-white font-light">
|
| 95 |
+
McGPT is here to assist you with strategic tools to qualify and quantify better, onboard more effectively, and implement winning sales strategies.
|
| 96 |
+
</p>
|
| 97 |
+
<div class="flex space-x-4">
|
| 98 |
+
<a href="value-mapper.html" class="bg-[#9B5CEB] hover:bg-[#8B5CF6] text-white px-6 py-3 rounded-lg font-medium transition-colors shadow-lg">
|
| 99 |
+
Start Mapping
|
| 100 |
+
</a>
|
|
|
|
|
|
|
| 101 |
</div>
|
|
|
|
| 102 |
</div>
|
| 103 |
+
<div class="md:w-1/2"></div>
|
| 104 |
</div>
|
| 105 |
+
</div>
|
| 106 |
+
</section>
|
| 107 |
+
|
| 108 |
+
<section id="features" class="py-16 bg-purple-800 backdrop-blur-sm">
|
| 109 |
+
<div class="container mx-auto px-4">
|
| 110 |
+
<h2 class="text-3xl font-bold text-center mb-12 text-white">Our Strategic Toolkit</h2>
|
| 111 |
+
|
| 112 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
|
| 113 |
+
<a href="value-mapper.html" class="bg-white/10 dark:bg-gray-700/30 text-white rounded-xl p-6 shadow-md card-hover backdrop-blur-sm border border-white/10">
|
| 114 |
+
<div class="w-12 h-12 rounded-lg bg-primary/20 flex items-center justify-center mb-4">
|
| 115 |
+
<i data-feather="map" class="text-primary"></i>
|
| 116 |
+
</div>
|
| 117 |
+
<h3 class="text-xl font-semibold mb-2">Value Mapper</h3>
|
| 118 |
+
<p class="text-gray-300 dark:text-gray-300">Qualify leads effectively by mapping their values to your solutions.</p>
|
| 119 |
+
</a>
|
| 120 |
|
| 121 |
+
<a href="scorecard.html" class="bg-white/10 dark:bg-gray-700/30 text-white rounded-xl p-6 shadow-md card-hover backdrop-blur-sm border border-white/10">
|
| 122 |
+
<div class="w-12 h-12 rounded-lg bg-secondary/20 flex items-center justify-center mb-4">
|
| 123 |
+
<i data-feather="check-square" class="text-secondary"></i>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 124 |
</div>
|
| 125 |
+
<h3 class="text-xl font-semibold mb-2">Deal Scoring</h3>
|
| 126 |
+
<p class="text-gray-300 dark:text-gray-300">Utilise our MEDDICC Scorecard to drive deals and improve forecasting accuracy.</p>
|
| 127 |
+
</a>
|
| 128 |
+
|
| 129 |
+
<a href="strategy.html" class="bg-white/10 dark:bg-gray-700/30 text-white rounded-xl p-6 shadow-md card-hover backdrop-blur-sm border border-white/10">
|
| 130 |
+
<div class="w-12 h-12 rounded-lg bg-primary/20 flex items-center justify-center mb-4">
|
| 131 |
+
<i data-feather="trending-up" class="text-primary"></i>
|
| 132 |
+
</div>
|
| 133 |
+
<h3 class="text-xl font-semibold mb-2">Sales Strategy</h3>
|
| 134 |
+
<p class="text-gray-300 dark:text-gray-300">Implement our proven value-centric sales methodology.</p>
|
| 135 |
+
</a>
|
| 136 |
+
|
| 137 |
+
<div class="bg-white/10 dark:bg-gray-700/30 text-white rounded-xl p-6 shadow-md card-hover backdrop-blur-sm border border-white/10">
|
| 138 |
+
<div class="w-12 h-12 rounded-lg bg-secondary/20 flex items-center justify-center mb-4">
|
| 139 |
+
<i data-feather="bar-chart-2" class="text-secondary"></i>
|
| 140 |
+
</div>
|
| 141 |
+
<h3 class="text-xl font-semibold mb-2">Sales Academy</h3>
|
| 142 |
+
<p class="text-gray-300 dark:text-gray-300">Enroll in eLearning training courses to raise your sales game and become an elite seller.</p>
|
| 143 |
</div>
|
| 144 |
</div>
|
| 145 |
+
</div>
|
| 146 |
+
</section>
|
| 147 |
+
|
| 148 |
+
<section class="py-16 bg-gradient-to-r from-primary/90 to-secondary/90 backdrop-blur-sm bg-opacity-90">
|
| 149 |
+
<div class="container mx-auto px-4 text-center">
|
| 150 |
+
<h2 class="text-3xl font-bold text-white mb-6">Ready to Transform Your Sales Approach?</h2>
|
| 151 |
+
<p class="text-white/90 mb-8 max-w-2xl mx-auto">
|
| 152 |
+
Embrace solution selling tailored for B2B sellers looking to stand out in a busy market.
|
| 153 |
+
</p>
|
| 154 |
+
<div class="flex justify-center">
|
| 155 |
+
<a href="strategy.html" class="bg-[#9B5CEB] hover:bg-[#8B5CF6] text-white px-8 py-3 rounded-lg font-medium transition-colors">
|
| 156 |
+
Learn More
|
| 157 |
+
</a>
|
| 158 |
+
</div>
|
| 159 |
+
</div>
|
| 160 |
+
</section>
|
| 161 |
+
|
| 162 |
+
<footer class="bg-purple-800 backdrop-blur-sm border-t border-gray-700">
|
| 163 |
+
<div class="container mx-auto px-4 py-8">
|
| 164 |
+
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 165 |
+
<div class="mb-6 md:mb-0">
|
| 166 |
+
<a href="index.html" class="flex items-center space-x-2">
|
| 167 |
+
<span class="text-lg font-bold text-white font-heading">McGPT</span>
|
| 168 |
</a>
|
| 169 |
+
<p class="text-gray-400 dark:text-gray-300 mt-2 text-sm">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 170 |
Navigating your sales success with AI since 2023
|
| 171 |
+
</p>
|
| 172 |
+
</div>
|
| 173 |
+
<div class="grid grid-cols-2 md:grid-cols-3 gap-8">
|
| 174 |
+
<div>
|
| 175 |
+
<h3 class="text-sm font-semibold text-gray-400 dark:text-gray-400 uppercase tracking-wider mb-4">Resources</h3>
|
| 176 |
+
<ul class="space-y-2">
|
| 177 |
+
<li><a href="about.html" class="text-gray-300 dark:text-gray-300 hover:text-primary transition-colors">Onboarding</a></li>
|
| 178 |
+
<li><a href="strategy.html" class="text-gray-300 dark:text-gray-300 hover:text-primary transition-colors">Strategy</a></li>
|
| 179 |
+
<li><a href="#" class="text-gray-300 dark:text-gray-300 hover:text-primary transition-colors">Blog</a></li>
|
| 180 |
+
</ul>
|
| 181 |
</div>
|
| 182 |
+
<div>
|
| 183 |
+
<h3 class="text-sm font-semibold text-gray-400 dark:text-gray-400 uppercase tracking-wider mb-4">Company</h3>
|
| 184 |
+
<ul class="space-y-2">
|
| 185 |
+
<li><a href="#" class="text-gray-300 dark:text-gray-300 hover:text-primary transition-colors">About</a></li>
|
| 186 |
+
<li><a href="#" class="text-gray-300 dark:text-gray-300 hover:text-primary transition-colors">Careers</a></li>
|
| 187 |
+
<li><a href="#" class="text-gray-300 dark:text-gray-300 hover:text-primary transition-colors">Contact</a></li>
|
| 188 |
+
</ul>
|
| 189 |
+
</div>
|
| 190 |
+
<div class="col-span-2 md:col-span-1">
|
| 191 |
+
<h3 class="text-sm font-semibold text-gray-400 dark:text-gray-400 uppercase tracking-wider mb-4">Connect</h3>
|
| 192 |
+
<div class="flex space-x-4">
|
| 193 |
+
<a href="#" class="text-gray-300 dark:text-gray-300 hover:text-primary transition-colors">
|
| 194 |
+
<i data-feather="twitter"></i>
|
| 195 |
+
</a>
|
| 196 |
+
<a href="#" class="text-gray-300 dark:text-gray-300 hover:text-primary transition-colors">
|
| 197 |
+
<i data-feather="linkedin"></i>
|
| 198 |
+
</a>
|
| 199 |
+
<a href="#" class="text-gray-300 dark:text-gray-300 hover:text-primary transition-colors">
|
| 200 |
+
<i data-feather="github"></i>
|
| 201 |
+
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 202 |
</div>
|
| 203 |
</div>
|
| 204 |
</div>
|
| 205 |
+
<div class="mt-8 pt-8 border-t border-gray-700 text-center text-sm text-gray-400 dark:text-gray-400">
|
| 206 |
<p>© 2023 McGPT Navigator. All rights reserved.</p>
|
| 207 |
+
</div>
|
| 208 |
</div>
|
| 209 |
</footer>
|
| 210 |
|
|
|
|
| 214 |
const mobileMenu = document.getElementById('mobileMenu');
|
| 215 |
|
| 216 |
mobileMenuButton.addEventListener('click', () => {
|
| 217 |
+
// Toggle visibility of the menu overlay
|
| 218 |
mobileMenu.classList.toggle('hidden');
|
| 219 |
+
// Toggle the animation class on the button
|
| 220 |
mobileMenuButton.classList.toggle('open');
|
| 221 |
+
// Prevent body from scrolling when menu is open
|
| 222 |
+
document.body.classList.toggle('overflow-hidden');
|
| 223 |
});
|
| 224 |
|
| 225 |
+
// Theme Toggle - Note: This site is dark by default.
|
| 226 |
const themeToggle = document.getElementById('themeToggle');
|
| 227 |
const html = document.documentElement;
|
| 228 |
|
| 229 |
+
// This function is kept for potential future use if a light mode is added.
|
| 230 |
themeToggle.addEventListener('click', () => {
|
| 231 |
+
// Example: Toggling between dark and a hypothetical light mode
|
| 232 |
+
// html.classList.toggle('dark');
|
| 233 |
+
// For now, it doesn't do anything as the site is always dark.
|
| 234 |
});
|
| 235 |
+
|
| 236 |
// Set initial theme - always dark by default
|
| 237 |
+
if (!html.classList.contains('dark')) {
|
| 238 |
+
html.classList.add('dark');
|
| 239 |
+
}
|
| 240 |
+
|
| 241 |
+
// Set active nav link
|
| 242 |
const currentPage = window.location.pathname.split('/').pop() || 'index.html';
|
| 243 |
document.querySelectorAll('.nav-link').forEach(link => {
|
| 244 |
+
link.classList.remove('active'); // Remove active from all first
|
| 245 |
const linkHref = link.getAttribute('href');
|
| 246 |
+
if (linkHref === currentPage) {
|
|
|
|
| 247 |
link.classList.add('active');
|
|
|
|
|
|
|
| 248 |
}
|
| 249 |
});
|
| 250 |
|
|
|
|
| 252 |
feather.replace();
|
| 253 |
</script>
|
| 254 |
</body>
|
| 255 |
+
</html>
|