Skip to content

Commit

Permalink
2181: Fix icon
Browse files Browse the repository at this point in the history
  • Loading branch information
yepzdk committed Aug 26, 2024
1 parent 4024cd6 commit bacf2e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/themes/custom/giv_din_stemme_theme/js/fontawesome.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ const {
faMicrophone,
faMicrophoneSlash,
faArrowRightFromBracket,
faUser,
} = require("@fortawesome/free-solid-svg-icons");

// Import icons from the free regular package
const {
faCircleDot,
faCircleCheck,
faClock,
faUser,
} = require("@fortawesome/free-regular-svg-icons");

// Add the icons to the library for replacing <i class="fa-solid fa-sort"></i> with the intended svg.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div>
<div class="flex gap-5 font-semibold md:container md:mx-auto md:px-3 text-secondary md:my-3 border-b md:border-0 pb-3">
{% if user.isAuthenticated() %}
<a href="{{ url('user.page') }}" class="nav-item"><i class="mr-3 fa-solid fa-user"></i> {{ 'Profile'|t }}</a>
<a href="{{ url('user.page') }}" class="nav-item"><i class="mr-3 fa-regular fa-user"></i> {{ 'Profile'|t }}</a>
<a href="{{ url('user.logout') }}" class="nav-item">{{ 'Log out'|t }} <i class="ml-3 fa-solid fa-arrow-right-from-bracket"></i></a>
{% endif %}
</div>
Expand Down

0 comments on commit bacf2e6

Please sign in to comment.