Skip to content

Commit

Permalink
Update the position of "Products" on nav (#658)
Browse files Browse the repository at this point in the history
* update product link as a separate item on navbar

* add product page link to sitemap.txt
  • Loading branch information
therealharshit authored Jan 30, 2025
1 parent aba081a commit 09c86e1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 16 deletions.
26 changes: 10 additions & 16 deletions _includes/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,11 @@
<li class="nav-item">
<a class="nav-link" href="{{ site.baseurl }}/volunteering">Volunteer</a>
</li>
<li class="nav-item dropdown align-self-center">
<a href="{{ site.baseurl }}/#" class="dropdown-toggle" data-toggle="dropdown" role="button"
aria-haspopup="true" aria-expanded="false">Donate<span class="caret"></span></a>
<div class="dropdown-menu">
<a class="dropdown-item" href="{{ site.baseurl }}/donate">Donate</a>
<a class="dropdown-item" href="{{ site.baseurl }}/product">Products</a>
</div>
<li class="nav-item">
<a class="nav-link" href="{{ site.baseurl }}/donate">Donate</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ site.baseurl }}/product">Products</a>
</li>
</ul>
</div>
Expand Down Expand Up @@ -104,15 +102,11 @@
<li class="nav-item">
<a class="nav-link" href="{{ site.baseurl }}/volunteering">Volunteer</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="{{ site.baseurl }}/#" id="navbarDropdown" role="button"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Donate
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="{{ site.baseurl }}/donate">Donate</a>
<a class="dropdown-item" href="{{ site.baseurl }}/product">Products</a>
</div>
<li class="nav-item">
<a class="nav-link" href="{{ site.baseurl }}/donate">Donate</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ site.baseurl }}/product">Products</a>
</li>
</ul>
</div>
Expand Down
1 change: 1 addition & 0 deletions sitemap.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ https://www.sugarlabs.org/sugar-for-raspbian/
https://www.sugarlabs.org/sugar-for-raspberry-pi/
https://www.sugarlabs.org/flatpak/
https://www.sugarlabs.org/profiles/
https://www.sugarlabs.org/product/
{% for post in site.posts %}https://www.sugarlabs.org{{ post.url }}
{% endfor %}

0 comments on commit 09c86e1

Please sign in to comment.