Remove unused codes from navbar

This commit is contained in:
Moe Poi ~ 2021-11-21 00:34:02 +07:00
parent 085da5ec10
commit 310cc239b8

View file

@ -8,16 +8,16 @@
<div class="collapse navbar-collapse" id="navbarTogglerDemo01">
<ul class="navbar-nav mx-auto">
<li class="nav-item active">
<a <% if(state == "home") { %> aria-disabled="true" <% } %> class="nav-link" href="/">Home</a>
<a class="nav-link" href="/">Home</a>
</li>
<li class="nav-item">
<a <% if(state == "product-list") { %> aria-disabled="true" <% } %> class="nav-link" href="/products">Products</a>
<a class="nav-link" href="/products">Products</a>
</li>
<li class="nav-item">
<a <% if(state == "about-us") { %> aria-disabled="true" <% } %> class="nav-link" href="about-us">About Us</a>
<a class="nav-link" href="about-us">About Us</a>
</li>
<li class="nav-item">
<a <% if(state == "faq") { %> aria-disabled="true" <% } %> class="nav-link" href="faq">FAQ</a>
<a class="nav-link" href="faq">FAQ</a>
</li>
</ul>
<span class="navbar-nav my-2 my-lg-0 text-white">
@ -54,7 +54,7 @@
<a class="nav-link" href="/">Home</a>
</li>
<li class="nav-item active">
<a aria-disabled="true" class="nav-link disabled" href="/product">Products</a>
<a class="nav-link" href="/products">Products</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/about-us">About Us</a>