2021-11-09 02:29:46 +01:00
|
|
|
<% if(types == "v1") { %>
|
2021-11-09 05:30:45 +01:00
|
|
|
<nav class="navbar navbar-expand-lg navbar-dark comp-color ml-5 mr-5 nav-radius" style="background-color: #212226; ">
|
2021-11-15 10:54:15 +01:00
|
|
|
<img alt="Banner" class="navbar-brand lazyload" height="80" src="img/logo_transparent.webp">
|
2021-11-02 06:20:20 +01:00
|
|
|
<button aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation"
|
|
|
|
class="navbar-toggler" data-target="#navbarTogglerDemo01" data-toggle="collapse" type="button">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
<div class="collapse navbar-collapse" id="navbarTogglerDemo01">
|
|
|
|
<ul class="navbar-nav mx-auto">
|
|
|
|
<li class="nav-item active">
|
2021-11-09 02:29:46 +01:00
|
|
|
<a <% if(state == "home") { %> aria-disabled="true" <% } %> class="nav-link" href="/">Home</a>
|
2021-11-02 06:20:20 +01:00
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
2021-11-15 10:54:15 +01:00
|
|
|
<a <% if(state == "product-list") { %> aria-disabled="true" <% } %> class="nav-link" href="/products">Products</a>
|
2021-11-02 06:20:20 +01:00
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
2021-11-09 05:42:03 +01:00
|
|
|
<a <% if(state == "about-us") { %> aria-disabled="true" <% } %> class="nav-link" href="about-us">About Us</a>
|
2021-11-02 06:20:20 +01:00
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
2021-11-09 05:42:03 +01:00
|
|
|
<a <% if(state == "faq") { %> aria-disabled="true" <% } %> class="nav-link" href="faq">FAQ</a>
|
2021-11-02 06:20:20 +01:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<span class="navbar-nav my-2 my-lg-0 text-white">
|
|
|
|
<div class="my-4">
|
2021-11-09 07:52:58 +01:00
|
|
|
<a href="login"><button class="btn btn-outline-success mt-auto mb-auto mr-3"
|
2021-11-02 06:20:20 +01:00
|
|
|
type="button">Login</button></a>
|
|
|
|
</div>
|
2021-11-09 07:52:58 +01:00
|
|
|
<a href="bag" class="mt-auto mb-auto" style="color: inherit;"><i class="fas fa-shopping-cart"><span
|
2021-11-02 06:20:20 +01:00
|
|
|
class="ml-2 mt-auto mb-auto">Rp 999.999</span></i></a>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</nav>
|
2021-11-09 02:29:46 +01:00
|
|
|
<% } else if (types == "v2") { %>
|
2021-11-09 03:49:12 +01:00
|
|
|
<nav class="navbar navbar-dark nav-color ml-5 mr-5 nav-radius">
|
|
|
|
<img alt="Banner" class="navbar-brand lazyload" src="img/logo_transparent.webp" style="margin-top: 0%;"
|
|
|
|
width="5%">
|
|
|
|
<ul class="navbar-nav">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a style="color: white; font-size: 16pt;"><%= title %></a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<div class="collapse navbar-collapse" id="navbarTogglerDemo01"></div>
|
|
|
|
</nav>
|
2021-11-09 06:14:11 +01:00
|
|
|
<% } else if (types == "v3") { %>
|
|
|
|
<nav class="navbar navbar-expand-lg navbar-dark comp-color ml-5 mr-5 nav-radius">
|
|
|
|
<a class="navbar-brand" href="#"><%= title %></a>
|
|
|
|
<button aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation"
|
|
|
|
class="navbar-toggler" data-target="#navbarTogglerDemo01" data-toggle="collapse" type="button">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
<div class="collapse navbar-collapse" id="navbarTogglerDemo01">
|
|
|
|
<ul class="navbar-nav mx-auto">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="/">Home</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item active">
|
|
|
|
<a aria-disabled="true" class="nav-link disabled" href="product-list.html">Products</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="about-us.html">About Us</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="faq.html">FAQ</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<span class="navbar-nav my-2 my-lg-0 text-white">
|
|
|
|
<div class="my-4">
|
|
|
|
<a href="login.html"><button class="btn btn-outline-success mt-auto mb-auto mr-3"
|
|
|
|
type="button">Login</button></a>
|
|
|
|
</div>
|
|
|
|
<a href="bag.html" class="mt-auto mb-auto" style="color: inherit;"><i class="fas fa-shopping-cart"><span
|
|
|
|
class="ml-2 mt-auto mb-auto">Rp 999.999</span></i></a>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</nav>
|
2021-11-09 02:29:46 +01:00
|
|
|
<% } %>
|