sign in remove tags used only for presentation

This commit is contained in:
Julie Salha 2023-01-26 15:16:29 +01:00 committed by Colin Darie
parent abf9a4e477
commit d059e3d5ff
3 changed files with 16 additions and 13 deletions

View file

@ -11,7 +11,6 @@
// The procedure description can still be read from the /commencer
// pages.
@media (max-width: $two-columns-breakpoint) {
.procedure-preview,
.agent-intro {
display: none;
}

View file

@ -17,7 +17,8 @@ $procedure-description-line-height: 22px;
}
.simple {
font-size: 24px;
margin-bottom: 0.2rem;
font-size: 1.5rem;
color: $blue-france-500;
font-weight: bold;
}
@ -143,6 +144,14 @@ $procedure-description-line-height: 22px;
}
}
.no-procedure-presentation {
margin-bottom:1.6rem;
p {
margin: 0;
}
}
.procedure-context-content {
@media (max-width: $procedure-context-breakpoint) {
input[type=submit] {

View file

@ -1,15 +1,10 @@
.no-procedure
= image_tag "landing/hero/dematerialiser.svg", class: "paperless-logo", alt: ""
.baseline.center
%p
%span.simple= t('.line1')
%br
= t('.line2')
%br
= t('.line3')
.no-procedure-presentation
%p.simple= t('.line1')
%p= t('.line2')
%p= t('.line3')
%hr
%p
%span.small-simple= t('.are_you_new', app_name: APPLICATION_NAME.gsub("-","‑")).html_safe
%br
%br
%p.small-simple= t('.are_you_new', app_name: APPLICATION_NAME.gsub("-","‑")).html_safe
= link_to t('views.users.sessions.new.find_procedure'), t("links.common.faq.comment_trouver_ma_demarche_url"), title: new_tab_suffix(t('views.users.sessions.new.find_procedure')), class: "fr-btn fr-btn--secondary", **external_link_attributes