Skip to content

Commit

Permalink
Update navbar-side.html
Browse files Browse the repository at this point in the history
Added class switchMode to switch theme
  • Loading branch information
YousefAlsbaihi committed Jul 16, 2023
1 parent d475b01 commit 829d00d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/_includes/layout/navbar-side.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{% endunless %}

<div class="d-none d-{{ include.breakpoint }}-flex">
<a href="?theme=dark" class="nav-link px-0 hide-theme-dark" title="Enable dark mode" data-bs-toggle="tooltip"
<a href="javascript:;" class="switchMode nav-link px-0 hide-theme-dark" title="Enable dark mode" data-bs-toggle="tooltip"
data-bs-placement="bottom">
{% include ui/icon.html icon="moon" %}
</a>
Expand Down Expand Up @@ -55,4 +55,4 @@
<a href="{{ site.base }}/sign-in.html" class="dropdown-item">Logout</a>
</div>
</div>
</div>
</div>

0 comments on commit 829d00d

Please sign in to comment.