Skip to content

Commit

Permalink
Merge pull request #23 from YashSahsani/addtocart
Browse files Browse the repository at this point in the history
Cart option removed before login, after login path has been corrected.
  • Loading branch information
YashSahsani authored Jul 1, 2024
2 parents 580cc04 + 0815418 commit be972bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GreenCartEcom/templates/Dashboard/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<li><a href="{% url 'GreenCartEcom:index' %}" class="text-gray-500">Home</a></li>
<li><a href="{% url 'GreenCartEcom:contact' %}" class="text-gray-500">Contact</a></li>
<li><a href="{% url 'Auth:login' %}" class="text-gray-500">SignIn</a></li>
<li><a href="{% url 'AddToCart:cart' %}" class="text-gray-500">Cart</a></li>
{# <li><a href="{% url 'AddToCart:cart' %}" class="text-gray-500">Cart</a></li>#}
</ul>
</nav>
</div>
Expand Down
2 changes: 1 addition & 1 deletion Shop/templates/Shop/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</a>
<!-- Navigation Links (Visible on larger screens) -->
<div class="hidden md:flex items-center space-x-4 relative">
<a href="{% url 'Shop:cart' %}" class="text-green hover:text-gray-300">Cart</a>
<a href="{% url 'AddToCart:cart' %}" class="text-green hover:text-gray-300">Cart</a>
<a href="{% url 'Shop:order' %}" class="text-green hover:text-gray-300">Orders</a>
<img id="avatar" class="w-10 h-10 rounded-full cursor-pointer hover:boder" src="{{ user_profile_pic }}" alt="Rounded avatar">
<div id="dropdown" class="hidden absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-2 z-20">
Expand Down

0 comments on commit be972bb

Please sign in to comment.