diff --git a/app/assets/images/footer/logo-dmra-horisontal-1-1x.webp b/app/assets/images/footer/logo-dmra-horisontal-1-1x.webp deleted file mode 100644 index 9b049c900dd..00000000000 Binary files a/app/assets/images/footer/logo-dmra-horisontal-1-1x.webp and /dev/null differ diff --git a/app/assets/images/footer/logo-dmra-horisontal-1-2x.webp b/app/assets/images/footer/logo-dmra-horisontal-1-2x.webp deleted file mode 100644 index 6918208fd01..00000000000 Binary files a/app/assets/images/footer/logo-dmra-horisontal-1-2x.webp and /dev/null differ diff --git a/app/assets/images/footer/logo-dmra-horisontal-1-3x.webp b/app/assets/images/footer/logo-dmra-horisontal-1-3x.webp deleted file mode 100644 index bd733259f5e..00000000000 Binary files a/app/assets/images/footer/logo-dmra-horisontal-1-3x.webp and /dev/null differ diff --git a/app/assets/images/footer/logo-dmra-horisontal-1-4x.webp b/app/assets/images/footer/logo-dmra-horisontal-1-4x.webp deleted file mode 100644 index 95a1a870392..00000000000 Binary files a/app/assets/images/footer/logo-dmra-horisontal-1-4x.webp and /dev/null differ diff --git a/app/assets/images/footer/logo-dmra-horisontal.png b/app/assets/images/footer/logo-dmra-horisontal.png new file mode 100644 index 00000000000..fbcea0d1768 Binary files /dev/null and b/app/assets/images/footer/logo-dmra-horisontal.png differ diff --git a/app/assets/images/footer/logo-dmra-horisontal.webp b/app/assets/images/footer/logo-dmra-horisontal.webp new file mode 100644 index 00000000000..cab2135479c Binary files /dev/null and b/app/assets/images/footer/logo-dmra-horisontal.webp differ diff --git a/app/views/root/_footer.html.haml b/app/views/root/_footer.html.haml index 322808f4a8f..1a1da8ea7fc 100644 --- a/app/views/root/_footer.html.haml +++ b/app/views/root/_footer.html.haml @@ -44,7 +44,7 @@ .fr-footer__body .fr-footer__brand.fr-enlarge-link = link_to t("links.provider.url"), title: t("links.provider.title") do - = image_tag t("links.provider.logo.src"), srcset: { t("links.provider.logo.srcset")[0] => "1x", t("links.provider.logo.srcset")[1] => "2x", t("links.provider.logo.srcset")[2] => "3x", t("links.provider.logo.srcset")[3] => "4x" }, alt: t("links.provider.logo.alt"), width: t("links.provider.logo.width"), height: t("links.provider.logo.height"), loading: 'lazy' + = image_tag t("links.provider.logo.src"), alt: t("links.provider.logo.alt"), width: t("links.provider.logo.width"), height: t("links.provider.logo.height"), loading: 'lazy' = link_to t("links.footer.dinum.url"), title: t("links.footer.dinum.title"), class: "fr-footer__brand-link" do = image_tag("footer/logo-dinum.svg", class: "fr-footer__logo logo-beta-gouv-fr", alt: t("links.footer.dinum.alt")) .fr-footer__content diff --git a/config/custom_locales/links.fr.yml b/config/custom_locales/links.fr.yml index d6f137eae1b..36ea1fc7d32 100644 --- a/config/custom_locales/links.fr.yml +++ b/config/custom_locales/links.fr.yml @@ -2,12 +2,7 @@ fr: links: provider: logo: - src: "footer/logo-dmra-horisontal-1-1x.webp" - srcset: - - "footer/logo-dmra-horisontal-1-1x.webp" - - "footer/logo-dmra-horisontal-1-2x.webp" - - "footer/logo-dmra-horisontal-1-3x.webp" - - "footer/logo-dmra-horisontal-1-4x.webp" + src: "footer/logo-dmra-horisontal.webp" alt: "Logo DMRA" height: 90 width: 240