feat(particulier#confirm_email): nicer

This commit is contained in:
mfo 2024-07-24 16:57:08 +02:00 committed by Kara Diaby
parent 88a4619dcb
commit 03d425859d
No known key found for this signature in database
GPG key ID: C4D1B0CF9F24D759

View file

@ -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.center{ aria: { hidden: true } }= image_tag("user/confirmation-email.svg", alt: t('views.confirmation.new.image_alt'))
= 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'