diff --git a/app/assets/stylesheets/new_footer.scss b/app/assets/stylesheets/new_footer.scss index 0754ac125..53c69617f 100644 --- a/app/assets/stylesheets/new_footer.scss +++ b/app/assets/stylesheets/new_footer.scss @@ -13,10 +13,8 @@ opacity: 0.8; } -.footer-logo-beta-gouv-fr { - @include ie-compatible-background-image("footer/logo-beta-gouv-fr.svg"); - - width: 150px; - height: 25px; - margin-top: 14px; +.fr-footer__logo { + &.logo-beta-gouv-fr { + width: 9rem; + } } diff --git a/app/views/root/_footer.html.haml b/app/views/root/_footer.html.haml index 7233d5599..167fbd270 100644 --- a/app/views/root/_footer.html.haml +++ b/app/views/root/_footer.html.haml @@ -45,8 +45,8 @@ premier %br ministre - = link_to t("links.footer.betagouv.url"), title: t("links.footer.betagouv.title"), 'aria-label': t("links.footer.betagouv.label"), class: "fr-footer__brand-link" do - %span.footer-logo.footer-logo-beta-gouv-fr{ role: 'img', 'aria-label': "Logo #{t('links.footer.betagouv.label')}" } + = link_to t("links.footer.betagouv.url"), title: t("links.footer.betagouv.title"), class: "fr-footer__brand-link" do + = image_tag("footer/logo-beta-gouv-fr.svg", class: "fr-footer__logo logo-beta-gouv-fr", alt: "beta.gouv.fr") .fr-footer__content %p.fr-footer__content-desc = t('links.footer.description_1') diff --git a/config/locales/links.en.yml b/config/locales/links.en.yml index 1ca32e653..17d2611fe 100644 --- a/config/locales/links.en.yml +++ b/config/locales/links.en.yml @@ -27,9 +27,8 @@ en: title: "API Documentation" url: "https://doc.demarches-simplifiees.fr/pour-aller-plus-loin/graphql" betagouv: - label: "Beta.gouv.fr" title: "The Beta.gouv.fr website" - url: "https://beta.gouv.fr" + url: "https://beta.gouv.fr — French Republic" code: label: "Source code" title: "Our Source code is open source" diff --git a/config/locales/links.fr.yml b/config/locales/links.fr.yml index df37328e6..e90c94330 100644 --- a/config/locales/links.fr.yml +++ b/config/locales/links.fr.yml @@ -29,8 +29,7 @@ fr: title: "Documentation graphql de l'API" url: "https://doc.demarches-simplifiees.fr/pour-aller-plus-loin/graphql" betagouv: - label: "Beta.gouv.fr" - title: "Le site de Beta.gouv.fr" + title: "Le site de beta.gouv.fr — République Française" url: "https://beta.gouv.fr" cgu: label: "CGU"