diff --git a/config/.htaccess b/config/.htaccess index 6920183..c0027b0 100644 --- a/config/.htaccess +++ b/config/.htaccess @@ -4,7 +4,7 @@ Options -Indexes -MultiViews # assets. RewriteEngine on -RewriteRule \.(css|js|jpg|png|gif|woff|woff2)$ - [NC,L] +RewriteRule \.(css|js|jpg|png|gif|woff|woff2|svg)$ - [NC,L] RewriteCond %{HTTP:Accept-Language} ^(fr) [NC] RewriteCond %{REQUEST_URI} !^/(fr|en)/ diff --git a/src/lib/nav.html b/src/lib/nav.html index 754e4ec..79744aa 100644 --- a/src/lib/nav.html +++ b/src/lib/nav.html @@ -17,6 +17,27 @@ {{ gettext('Contact') }}
+ + - diff --git a/src/lib/nav.scss b/src/lib/nav.scss index 06678a5..e6e6642 100644 --- a/src/lib/nav.scss +++ b/src/lib/nav.scss @@ -33,7 +33,7 @@ margin: 0; display: grid; - grid-template-columns: 1fr auto auto; + grid-template-columns: var(--desktop-logo-width) 1fr auto auto auto; @media ($mobile-breakpoint) { height: var(--mobile-height); @@ -73,7 +73,7 @@ } &--menu { - justify-self: end; + grid-area: 1 / 2 / 2 / 3; align-self: center; display: flex; @@ -184,20 +184,24 @@ } &--links { - grid-area: 1 / 3 / 2 / 4; - height: var(--desktop-height); - grid-template-columns: 1fr auto auto; - + display: flex; justify-self: end; align-self: center; - display: flex; padding: var(--space-small); - img { - width: 2em; - filter: invert(100%); + @media($mobile-breakpoint) { + display: none; } } + + &--link { + display: flex; + } + + &--link-icon { + width: 2em; + filter: invert(100%); + } }