Skip to content

Commit

Permalink
chore: remove home link from page
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-Ogbonna committed Nov 23, 2024
1 parent a1364fa commit 044784c
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@
<i class="fa-solid fa-bars"></i>
</button>
<div class="font-bold hidden lg:flex gap-x-8" style="text-transform: capitalize">
<a href="https://myriadflow.com" class="nav-link">Home</a>
<!-- <a href="https://myriadflow.com" class="nav-link">Home</a> -->
<a href="https://discover.myriadflow.com" target="_blank" class="nav-link">
<span style="margin-left: 10px">Discover</span>
</a>
Expand All @@ -601,10 +601,9 @@
</div>
</div>
</nav>
<ul
id="links"
class="hidden fixed h-screen px-8 top-[88px] bg-black link text-white font-semibold text-xl w-full z-50 flex flex-col gap-4 text-right overflow-hidden lg:hidden translate-x-full transition-transform duration-300"
><a href="https://myriadflow.com">Home</a>
<ul id="links"
class="hidden fixed h-screen px-8 top-[88px] bg-black link text-white font-semibold text-xl w-full z-50 flex flex-col gap-4 text-right overflow-hidden lg:hidden translate-x-full transition-transform duration-300">
<!-- <a href="https://myriadflow.com">Home</a> -->
<a href="https://discover.myriadflow.com" target="_blank">Discover</a>
<a href="https://studio.myriadflow.com" target="_blank">Studio</a>
<a href="https://webxr.myriadflow.com" target="_blank">WebXR</a>
Expand Down Expand Up @@ -870,10 +869,10 @@ <h3 style="font-size: 24px; font-weight: 600; color: white">
const navBtn = document.getElementById('navbtn');
const links = document.getElementById('links');
let isOpen = false;

navBtn.addEventListener('click', () => {
isOpen = !isOpen;

// First make the menu visible if it's being opened
if (isOpen) {
links.style.display = 'flex';
Expand All @@ -888,9 +887,9 @@ <h3 style="font-size: 24px; font-weight: 600; color: white">
links.style.display = 'none';
}, 300); // Match this with your transition duration
}

// Change hamburger icon
navBtn.innerHTML = isOpen
navBtn.innerHTML = isOpen
? '<i class="fa-solid fa-xmark"></i>'
: '<i class="fa-solid fa-bars"></i>';
});
Expand Down

0 comments on commit 044784c

Please sign in to comment.