Skip to content

Commit 35943d6

Browse files
authored
Merge pull request #38 from anwar907/new_page
fix: menu button mobile version
2 parents f9197b9 + 002a722 commit 35943d6

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

_includes/header.html

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,18 @@
2727
<!-- Mobile menu -->
2828
<div id="mobile-menu" class="hidden md:hidden mt-4 pb-4 border-t border-gray-100">
2929
<div class="flex flex-col space-y-4 pt-4">
30-
<a href="#about" class="text-gray-600 hover:text-gray-900 transition-colors">About</a>
31-
<a href="#skills" class="text-gray-600 hover:text-gray-900 transition-colors">Skills</a>
32-
<!-- <a href="#projects" class="text-gray-600 hover:text-gray-900 transition-colors">Projects</a> -->
33-
<a href="#contact" class="text-gray-600 hover:text-gray-900 transition-colors">Contact</a>
30+
<a href="/" class="text-gray-600 hover:text-gray-900 transition-colors">Home</a>
31+
<a href="/events" class="text-gray-600 hover:text-gray-900 transition-colors">Events</a>
32+
<!-- <a href="/projects" class="text-gray-600 hover:text-gray-900 transition-colors">Projects</a> -->
33+
<a href="/communities" class="text-gray-600 hover:text-gray-900 transition-colors">Communitites</a>
34+
<a href="/history" class="text-gray-600 hover:text-gray-900 transition-colors">History</a>
3435
</div>
3536
</div>
3637
</nav>
37-
</header>
38+
</header>
39+
40+
<script>
41+
function toggleMobileMenu() {
42+
document.getElementById('mobile-menu').classList.toggle('hidden');
43+
}
44+
</script>

0 commit comments

Comments
 (0)