add dimensions to img tag to avoid reflow, add loading: lazy to avoid blocking
This commit is contained in:
parent
b3a4192337
commit
3c0c829a29
2 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@
|
|||
- else
|
||||
- root_profile_link, root_profile_libelle = root_path_info_for_profile(nav_bar_profile)
|
||||
= link_to root_profile_link, class: 'header-logo justify-center', title: root_profile_libelle do
|
||||
= image_tag 'marianne.svg', alt: 'Liberté, égalité, fraternité', width: '65'
|
||||
= image_tag 'marianne.svg', alt: 'Liberté, égalité, fraternité', width: '65', height: 56, loading: 'lazy'
|
||||
%span.big.site-title>
|
||||
= APPLICATION_NAME
|
||||
%span.small.site-title>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue