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

95 lines
3.3 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

- content_for :footer do
= render partial: "root/footer"
.landing
.landing-panel.hero-panel
.container
.hero-wrapper
.hero-text
%h1.hero-tagline
%em.hero-tagline-em Effectuer
%br<>
%em.hero-tagline-em une démarche administrative
%br<>
%em.hero-tagline-em en ligne
.hero-illustration
%img{ :src => image_url("landing/hero/dematerialiser.svg"), alt: '', width: 499, height: 280, loading: 'lazy' }
.landing-panel.usagers-panel
.container
.role-panel-wrapper
.role-panel-30.role-usagers-image
%img.role-image{ :src => image_url("landing/roles/usagers.svg"), alt: '', width: 176, height: 180, loading: 'lazy' }
.role-panel-70
%h2.role-panel-title Vous souhaitez effectuer une demande auprès dune administration ?
%p.role-panel-explanation Réalisez vos demandes en toute simplicité et retrouvez vos dossiers en ligne
= link_to "Comment trouver ma démarche ?",
COMMENT_TROUVER_MA_DEMARCHE_URL,
target: "_blank",
rel: "noopener noreferrer",
class: "role-panel-button-primary"
= link_to "Se connecter",
new_user_session_path,
class: "role-panel-button-secondary"
- cache "numbers-panel", :expires_in => 3.hours do
.landing-panel
.container
%h2.landing-panel-title #{APPLICATION_NAME} en chiffres
%ul.numbers
%li.number
.number-value
= number_with_delimiter(@stat&.administrations_partenaires, :locale => :fr)
.number-label<
administrations
%br<>
partenaires
%li.number
.number-value
= number_with_delimiter(@stat&.dossiers_not_brouillon, :locale => :fr)
.number-label<
dossiers
%br<>
déposés
%li.number
.number-value
= "#{number_with_delimiter(50, :locale => :fr)} %"
.number-label<
de réduction
%br<>
des délais de traitement
.landing-panel.cta-panel
.container
.cta-panel-wrapper
%div
%h2.cta-panel-title Une question, un problème ?
%p.cta-panel-explanation La réponse est dans laide en ligne
%div
= link_to "Accéder à laide en ligne", FAQ_URL,
class: "cta-panel-button-white",
target: "_blank",
rel: "noopener noreferrer"
-# 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"
.landing-panel
.container
.cta-panel-wrapper
%div
%h2.cta-panel-title.grey Administration : vous voulez dématerialiser ?
%p.cta-panel-explanation.grey Proposez à vos usagers de remplir leurs dossiers en ligne
%div
= link_to "Découvrez notre outil",
administration_path,
class: "cta-panel-button-blue"