Merge pull request #8373 from demarches-simplifiees/8205-home-remove-tags-presentation
8205 home remove tags presentation
This commit is contained in:
commit
30899803ae
2 changed files with 11 additions and 5 deletions
|
@ -20,7 +20,7 @@ $landing-breakpoint: 1040px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-text {
|
.hero-text {
|
||||||
max-width: 500px;
|
max-width: 25rem;
|
||||||
|
|
||||||
@media (max-width: $landing-breakpoint) {
|
@media (max-width: $landing-breakpoint) {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
@ -173,12 +173,18 @@ $landing-breakpoint: 1040px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.number-label {
|
.number-label {
|
||||||
|
max-width: 10rem;
|
||||||
|
margin: auto;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
line-height: 1.5rem;
|
line-height: 1.5rem;
|
||||||
color: var(--text-label-grey);
|
color: var(--text-label-grey);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.number-label-third {
|
||||||
|
max-width: 13rem;
|
||||||
|
}
|
||||||
|
|
||||||
$users-breakpoint: 950px;
|
$users-breakpoint: 950px;
|
||||||
|
|
||||||
.users {
|
.users {
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
.hero-wrapper
|
.hero-wrapper
|
||||||
.hero-text
|
.hero-text
|
||||||
%h1.hero-tagline
|
%h1.hero-tagline
|
||||||
= simple_format(t(".promise"), { class: "hero-tagline-em" }, wrapper_tag: "em")
|
%em.hero-tagline-em= t(".promise")
|
||||||
|
|
||||||
.hero-illustration
|
.hero-illustration
|
||||||
%img{ :src => image_url("landing/hero/dematerialiser.svg"), alt: '', width: 499, height: 280, loading: 'lazy' }
|
%img{ :src => image_url("landing/hero/dematerialiser.svg"), alt: '', width: 499, height: 280, loading: 'lazy' }
|
||||||
|
@ -34,15 +34,15 @@
|
||||||
%li.number
|
%li.number
|
||||||
.number-value
|
.number-value
|
||||||
= number_with_delimiter(@stat&.administrations_partenaires)
|
= number_with_delimiter(@stat&.administrations_partenaires)
|
||||||
= simple_format(t(".numbers.administrations"), { class: "number-label" }, wrapper_tag: "div")
|
.number-label= t(".numbers.administrations")
|
||||||
%li.number
|
%li.number
|
||||||
.number-value
|
.number-value
|
||||||
= number_with_delimiter(@stat&.dossiers_not_brouillon)
|
= number_with_delimiter(@stat&.dossiers_not_brouillon)
|
||||||
= simple_format(t(".numbers.files"), { class: "number-label" }, wrapper_tag: "div")
|
.number-label= t(".numbers.files")
|
||||||
%li.number
|
%li.number
|
||||||
.number-value
|
.number-value
|
||||||
= "#{number_with_delimiter(50)} %"
|
= "#{number_with_delimiter(50)} %"
|
||||||
= simple_format(t(".numbers.processing_time"), { class: "number-label" }, wrapper_tag: "div")
|
.number-label.number-label-third= t(".numbers.processing_time")
|
||||||
|
|
||||||
.landing-panel.cta-panel
|
.landing-panel.cta-panel
|
||||||
.container
|
.container
|
||||||
|
|
Loading…
Reference in a new issue