From 03d425859d399274806651e65fd13579e58ef2b6 Mon Sep 17 00:00:00 2001 From: mfo Date: Wed, 24 Jul 2024 16:57:08 +0200 Subject: [PATCH] feat(particulier#confirm_email): nicer --- .../particulier/confirmation_sent.html.haml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/app/views/france_connect/particulier/confirmation_sent.html.haml b/app/views/france_connect/particulier/confirmation_sent.html.haml index d167d2b01..23ef74732 100644 --- a/app/views/france_connect/particulier/confirmation_sent.html.haml +++ b/app/views/france_connect/particulier/confirmation_sent.html.haml @@ -1,8 +1,12 @@ .fr-container - %h1.text-center.mt-1= t('.confirmation_sent_by_email') + .fr-col-12.fr-col-md-6.fr-col-offset-md-3 + %h1.fr-mt-6w.fr-h2.center= t('.confirmation_sent_by_email') - %p= t('.intro', email: email) + %p.center{ aria: { hidden: true } }= image_tag("user/confirmation-email.svg", alt: t('views.confirmation.new.image_alt')) - %p= t('.click_the_link_in_the_email') + = render Dsfr::AlertComponent.new(title: '', state: :info, heading_level: 'h2', extra_class_names: 'fr-mt-6w fr-mb-3w') do |c| + - c.with_body do + %p= t('.intro', email: email) + %p= t('.click_the_link_in_the_email') - = link_to t('.continue'), destination_path, class: 'fr-btn' + %p.center= link_to t('.continue'), destination_path, class: 'fr-btn'