Skip to content

Commit

Permalink
Merge pull request #3176 from JisanAR03/issue_2972_added_refrash_feat…
Browse files Browse the repository at this point in the history
…ure_1

Update project links to use 'project_view' instead of 'project_list'
  • Loading branch information
JisanAR03 authored Jan 1, 2025
2 parents 3eb33de + d62779b commit 5d54897
Show file tree
Hide file tree
Showing 5 changed files with 403 additions and 48 deletions.
2 changes: 1 addition & 1 deletion website/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ <h2 class="text-3xl font-bold mb-6">Get Involved</h2>
class="bg-green-500 text-white font-semibold py-3 px-6 rounded-full">
<i class="fas fa-users"></i> Join the Community
</a>
<a href="{% url 'project_list' %}"
<a href="{% url 'project_view' %}"
class="bg-blue-500 text-white font-semibold py-3 px-6 rounded-full">
<i class="fas fa-project-diagram"></i> Explore Projects
</a>
Expand Down
2 changes: 1 addition & 1 deletion website/templates/includes/sidenav.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
<div class="my-4 border-t border-gray-300"></div>
<!-- Projects Header Link -->
<li class="mb-2 {% if request.path == '/projects/' %}bg-gray-200{% endif %}">
<a href="{% url 'project_list' %}"
<a href="{% url 'project_view' %}"
class="flex items-center w-full no-underline p-2 {% if '/projects/' in request.path %} text-black {% else %} hover:text-red-500 text-black {% endif %}">
<div class="icon text-orange-500">
<i class="fas fa-box fa-lg"></i>
Expand Down
Loading

0 comments on commit 5d54897

Please sign in to comment.