2018-06-19 16:21:37 +02:00
|
|
|
- content_for :footer do
|
|
|
|
= render partial: "root/footer"
|
2022-11-30 16:25:42 +01:00
|
|
|
- content_for :title, t(".promise")
|
2017-12-06 16:10:01 +01:00
|
|
|
|
2017-04-17 15:03:23 +02:00
|
|
|
.landing
|
|
|
|
.landing-panel.hero-panel
|
2017-07-06 11:14:34 +02:00
|
|
|
.container
|
2017-05-17 18:06:25 +02:00
|
|
|
.hero-wrapper
|
|
|
|
.hero-text
|
2019-11-25 16:01:59 +01:00
|
|
|
%h1.hero-tagline
|
2022-11-30 16:25:42 +01:00
|
|
|
= simple_format(t(".promise"), { class: "hero-tagline-em" }, wrapper_tag: "em")
|
2017-04-20 17:20:32 +02:00
|
|
|
|
2017-05-17 18:06:25 +02:00
|
|
|
.hero-illustration
|
2020-10-10 21:33:58 +02:00
|
|
|
%img{ :src => image_url("landing/hero/dematerialiser.svg"), alt: '', width: 499, height: 280, loading: 'lazy' }
|
2017-04-04 14:41:49 +02:00
|
|
|
|
2018-07-06 13:49:53 +02:00
|
|
|
.landing-panel.usagers-panel
|
2018-04-27 09:25:21 +02:00
|
|
|
.container
|
|
|
|
.role-panel-wrapper
|
|
|
|
.role-panel-30.role-usagers-image
|
2020-10-10 21:33:58 +02:00
|
|
|
%img.role-image{ :src => image_url("landing/roles/usagers.svg"), alt: '', width: 176, height: 180, loading: 'lazy' }
|
2018-04-27 09:25:21 +02:00
|
|
|
|
|
|
|
.role-panel-70
|
2022-11-30 16:25:42 +01:00
|
|
|
%h2= t(".have_a_procedure")
|
|
|
|
%p.fr-h5= t(".fill_procedure")
|
2018-04-27 09:25:21 +02:00
|
|
|
|
2022-11-30 16:25:42 +01:00
|
|
|
= link_to t(".how_to_find_procedure"), COMMENT_TROUVER_MA_DEMARCHE_URL, class: "fr-btn fr-btn--lg fr-mr-1w fr-mb-2w", title: new_tab_suffix(t(".how_to_find_procedure")), **external_link_attributes
|
|
|
|
= link_to t("views.users.sessions.new.connection"), new_user_session_path, class: "fr-btn fr-btn--secondary fr-btn--lg"
|
2018-04-27 10:37:01 +02:00
|
|
|
|
2023-01-03 10:56:26 +01:00
|
|
|
- cache [I18n.locale, "numbers-panel"], expires_in: 3.hours do
|
2018-08-10 15:18:57 +02:00
|
|
|
.landing-panel
|
2017-07-06 11:14:34 +02:00
|
|
|
.container
|
2022-11-30 16:25:42 +01:00
|
|
|
%h2.center.fr-mb-4w= t(".our_numbers", name: APPLICATION_NAME)
|
2017-04-04 14:44:41 +02:00
|
|
|
%ul.numbers
|
|
|
|
%li.number
|
|
|
|
.number-value
|
2022-11-30 16:25:42 +01:00
|
|
|
= number_with_delimiter(@stat&.administrations_partenaires)
|
|
|
|
= simple_format(t(".numbers.administrations"), { class: "number-label" }, wrapper_tag: "div")
|
2017-04-04 14:44:41 +02:00
|
|
|
%li.number
|
|
|
|
.number-value
|
2022-11-30 16:25:42 +01:00
|
|
|
= number_with_delimiter(@stat&.dossiers_not_brouillon)
|
|
|
|
= simple_format(t(".numbers.files"), { class: "number-label" }, wrapper_tag: "div")
|
2017-04-04 14:44:41 +02:00
|
|
|
%li.number
|
|
|
|
.number-value
|
2022-11-30 16:25:42 +01:00
|
|
|
= "#{number_with_delimiter(50)} %"
|
|
|
|
= simple_format(t(".numbers.processing_time"), { class: "number-label" }, wrapper_tag: "div")
|
2017-04-04 14:41:28 +02:00
|
|
|
|
2017-04-04 14:45:13 +02:00
|
|
|
.landing-panel.cta-panel
|
2017-07-06 11:14:34 +02:00
|
|
|
.container
|
2017-05-17 18:06:25 +02:00
|
|
|
.cta-panel-wrapper
|
|
|
|
%div
|
2022-11-30 16:25:42 +01:00
|
|
|
%h2.cta-panel-title= t(".question")
|
|
|
|
%p.cta-panel-explanation= t(".answer_in_faq")
|
2017-05-17 18:06:25 +02:00
|
|
|
%div
|
2022-11-30 16:25:42 +01:00
|
|
|
= link_to t(".online_help"), FAQ_URL, class: "fr-btn fr-btn--lg", title: new_tab_suffix(t(".online_help")), **external_link_attributes
|
2020-07-08 10:02:10 +02:00
|
|
|
-# We temporarily disable the link to the contact page on the homepage
|
|
|
|
-# %p.cta-panel-explanation Notre équipe est disponible pour vous renseigner et vous aider
|
|
|
|
-# %div
|
|
|
|
-# = contact_link "Contactez-nous",
|
|
|
|
-# tags: 'landing',
|
|
|
|
-# class: "cta-panel-button-white",
|
|
|
|
-# target: "_blank",
|
|
|
|
-# rel: "noopener noreferrer"
|
2018-08-10 15:18:57 +02:00
|
|
|
|
|
|
|
.landing-panel
|
|
|
|
.container
|
|
|
|
.cta-panel-wrapper
|
|
|
|
%div
|
2022-11-30 16:25:42 +01:00
|
|
|
%h2.fr-h4= t(".administration_dematerialize")
|
|
|
|
%p.cta-panel-explanation.grey= t(".administration_fill_online")
|
2018-08-10 15:18:57 +02:00
|
|
|
%div
|
2022-11-30 16:25:42 +01:00
|
|
|
= link_to t(".administration_discover"), administration_path, class: "fr-btn fr-btn--lg"
|