demarches-normaliennes/app/views/root/_footer.html.haml

67 lines
4.2 KiB
Text
Raw Normal View History

2022-09-21 17:56:27 +02:00
%footer.fr-footer#footer{ role: "contentinfo" }
.fr-footer__top
.fr-container
%h2.sr-only= t("links.footer.top_labels.hidden_title")
2022-09-21 17:56:27 +02:00
.fr-grid-row.fr-grid-row--start.fr-grid-row--gutters
.fr-col-12.fr-col-sm-3.fr-col-md-3
%h3.fr-footer__top-cat= t("links.footer.top_labels.communication")
%ul.fr-footer__top-list
2024-06-17 12:06:59 +02:00
%li
= link_to t("links.footer.releases.label"), t("links.footer.releases.url"), title: t("links.footer.releases.title"), class: "fr-footer__top-link", hreflang: "fr"
2024-06-17 12:06:59 +02:00
%li
2024-06-21 15:02:50 +02:00
= link_to t("links.footer.contact.label"), contact_path, class: "fr-footer__top-link"
2022-09-21 17:56:27 +02:00
.fr-col-12.fr-col-sm-3.fr-col-md-3
%h3.fr-footer__top-cat= t("links.footer.top_labels.legals")
%ul.fr-footer__top-list
2024-06-17 12:06:59 +02:00
%li
2024-06-21 15:02:50 +02:00
= link_to t("links.footer.mentions_legales.label"), MENTIONS_LEGALES_URL, class: "fr-footer__top-link", rel: "noopener noreferrer"
2024-06-17 12:06:59 +02:00
%li
2024-06-21 15:02:50 +02:00
= link_to t("links.footer.suivi.label"), suivi_path, class: "fr-footer__top-link", hreflang: "fr"
2024-06-17 12:06:59 +02:00
%li
2024-06-21 15:02:50 +02:00
= link_to t("links.footer.stats.label"), stats_path, class: "fr-footer__top-link", hreflang: "fr"
2024-06-17 12:06:59 +02:00
%li
2023-11-13 11:32:19 +01:00
= link_to t("links.footer.carte.label"), carte_path, title: t("links.footer.carte.title"), class: "fr-footer__top-link"
2024-06-17 12:06:59 +02:00
%li
%a.fr-footer__top-link{ :href => t("links.footer.cgu.url"), :rel => "noopener noreferrer", :hreflang => "fr" }
2024-06-17 12:02:39 +02:00
%abbr{ title: t("links.footer.cgu.title") }
= t("links.footer.cgu.label")
2022-09-21 17:56:27 +02:00
.fr-col-12.fr-col-sm-3.fr-col-md-3
%h3.fr-footer__top-cat= t("links.footer.top_labels.resources")
%ul.fr-footer__top-list
2024-06-17 12:06:59 +02:00
%li
= link_to t("links.footer.doc.label"), t("links.footer.doc.url"), title: t("links.footer.doc.title"), class: "fr-footer__top-link", rel: "noopener noreferrer", hreflang: "fr"
2024-06-17 12:06:59 +02:00
%li
= link_to t("links.footer.api_doc.label"), t("links.footer.api_doc.url"), title: t("links.footer.api_doc.title"), class: "fr-footer__top-link", rel: "noopener noreferrer", hreflang: "fr"
2024-06-17 12:06:59 +02:00
%li
%a.fr-footer__top-link{ :href => t("links.common.faq.url"), :rel => "noopener noreferrer" }
2024-06-17 12:02:39 +02:00
%abbr{ title: t("links.common.faq.title") }
= t("links.common.faq.label")
2024-06-17 12:06:59 +02:00
%li
2024-06-21 15:02:50 +02:00
= link_to t("links.footer.code.label"), t("links.footer.code.url"), class: "fr-footer__top-link", rel: "noopener noreferrer", hreflang: "fr"
2022-09-21 17:56:27 +02:00
.fr-col-12.fr-col-sm-3.fr-col-md-3
%h3.fr-footer__top-cat= t("links.footer.top_labels.diagnostic")
%ul.fr-footer__top-list
2024-06-17 12:06:59 +02:00
%li
= link_to t("links.footer.status_page.label"), t("links.footer.status_page.url"), title: t("links.footer.status_page.title"), class: "fr-footer__top-link", rel: "noopener noreferrer", hreflang: "fr"
2024-06-17 12:06:59 +02:00
%li
= link_to t("links.footer.security.label"), t("links.footer.security.url"), title: t("links.footer.security.title"), class: "fr-footer__top-link", rel: "noopener noreferrer", hreflang: "fr"
2022-09-21 17:56:27 +02:00
.fr-container
.fr-footer__body
.fr-footer__brand.fr-enlarge-link{ lang: "fr" }
2022-09-21 17:56:27 +02:00
%p.fr-logo
2023-04-26 10:31:52 +02:00
gouvernement
= link_to t("links.footer.dinum.url"), title: t("links.footer.dinum.title"), hreflang:'fr', 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"))
2022-09-21 17:56:27 +02:00
.fr-footer__content
2022-09-27 11:48:41 +02:00
%p.fr-footer__content-desc
= t('links.footer.description_1')
= link_to(t('links.footer.link_1_label'), t('links.footer.link_1_url'), title: new_tab_suffix(t('links.footer.link_1_label')), hreflang:'fr', **external_link_attributes) + "."
2022-09-27 11:48:41 +02:00
%p.fr-footer__content-desc
= link_to t('links.footer.link_2_label'), t("links.footer.code.url"), title: new_tab_suffix(t('links.footer.link_2_label')), hreflang:'fr', **external_link_attributes
2022-09-27 11:48:41 +02:00
= t('links.footer.description_2')
= render partial: "shared/footer_content_list"
2022-09-21 17:56:27 +02:00
.fr-footer__bottom
= render partial: 'general_footer_row'
= render partial: 'shared/footer_copy'