Fix login button path

This commit is contained in:
Moe Poi ~ 2021-11-22 00:34:06 +07:00
parent 7ba3ade385
commit e5f11feb5e

View file

@ -34,10 +34,10 @@
</div>
</div>
<% } else { %>
<a href="login"><button class="btn btn-outline-success mt-auto mb-auto mr-3" type="button">Login</button></a>
<a href="/login"><button class="btn btn-outline-success mt-auto mb-auto mr-3" type="button">Login</button></a>
<% } %>
</div>
<a href="bag" class="mt-auto mb-auto" style="color: inherit;"><i class="fas fa-shopping-cart"><span
<a href="/bag" class="mt-auto mb-auto" style="color: inherit;"><i class="fas fa-shopping-cart"><span
class="ml-2 mt-auto mb-auto">View Bag</span></i></a>
</span>
</div>
@ -89,7 +89,7 @@
</div>
</div>
<% } else { %>
<a href="login"><button class="btn btn-outline-success mt-auto mb-auto mr-3" type="button">Login</button></a>
<a href="/login"><button class="btn btn-outline-success mt-auto mb-auto mr-3" type="button">Login</button></a>
<% } %>
</div>
<a href="/bag" class="mt-auto mb-auto" style="color: inherit;"><i class="fas fa-shopping-cart"><span