Skip to content

Commit

Permalink
add svg user profile
Browse files Browse the repository at this point in the history
  • Loading branch information
mthinon committed Oct 21, 2024
1 parent 19580e5 commit f963f9a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions assets/images/icons/rename.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/styles/base/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ $grey: #68667A;
$light-grey: #B2B1BE;

$border-dark: rgba($grey, 0.88);
$lighter-grey : rgba($light-grey, 0.7)
$lighter-grey : rgba($light-grey, 0.7);
2 changes: 1 addition & 1 deletion assets/styles/components/organisms/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ ul.menu {
}

&.profile-link::before {
background-image: url('../../../images/icons/utilisateur.svg');
background-image: url('../../../images/icons/rename.svg');
}

.sub-menu {
Expand Down
2 changes: 2 additions & 0 deletions templates/components/organisms/header.html.twig
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
<header>
<nav>
<ul class="menu">
{% if app.user %}
<li class="menu-link home-link">
<a href="{{ path('app_front_homepage') }}">Home</a>
</li>
<li class="menu-link quiz-link">
<a href="{{ path('app_front_quizz') }}">Quiz</a>
</li>
{% endif %}
<li class="menu-link profile-link">
<span>Profile</span>
<ul class="sub-menu">
Expand Down

0 comments on commit f963f9a

Please sign in to comment.