Merge pull request #8373 from demarches-simplifiees/8205-home-remove-tags-presentation

8205 home remove tags presentation
This commit is contained in:
Colin Darie 2023-01-17 12:48:15 +01:00 committed by GitHub
commit 30899803ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 5 deletions

View file

@ -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 {

View file

@ -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