From 009a478526a51e30f95e8996567f34902bfa488d Mon Sep 17 00:00:00 2001 From: Mathieu Magnin Date: Thu, 6 Jul 2017 11:14:34 +0200 Subject: [PATCH] Remove %page-width-container from landing --- app/assets/stylesheets/new_design/landing.scss | 4 ---- app/views/root/landing.html.haml | 12 ++++++------ 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/app/assets/stylesheets/new_design/landing.scss b/app/assets/stylesheets/new_design/landing.scss index 769f49622..39b2159e6 100644 --- a/app/assets/stylesheets/new_design/landing.scss +++ b/app/assets/stylesheets/new_design/landing.scss @@ -11,10 +11,6 @@ @include vertical-padding(60px); } -.landing-panel-inner-content { - @extend %page-width-container; -} - $landing-breakpoint: 1040px; .hero-wrapper { diff --git a/app/views/root/landing.html.haml b/app/views/root/landing.html.haml index b0ec1f25e..b57f03c79 100644 --- a/app/views/root/landing.html.haml +++ b/app/views/root/landing.html.haml @@ -1,6 +1,6 @@ .landing .landing-panel.hero-panel - .landing-panel-inner-content + .container .hero-wrapper .hero-text %p.hero-tagline @@ -17,7 +17,7 @@ %img{ :src => image_url("landing/hero/dematerialiser.svg") } .landing-panel.features-panel - .landing-panel-inner-content + .container %h2.landing-panel-title.features-panel-title Un outil dédié aux organismes publics %ul.features @@ -47,7 +47,7 @@ à plusieurs .landing-panel - .landing-panel-inner-content + .container %h2.landing-panel-title Ce que les utilisateurs pensent du service %ul.quotes @@ -75,7 +75,7 @@ - cache "numbers-panel", :expires_in => 3.hours do .landing-panel.numbers-panel - .landing-panel-inner-content + .container %h2.landing-panel-title TPS en chiffres %ul.numbers %li.number @@ -101,7 +101,7 @@ des délais de traitement .landing-panel.users-panel - .landing-panel-inner-content + .container %h2.landing-panel-title Ils nous font confiance %ul.users @@ -122,7 +122,7 @@ %img.user-image{ :src => image_url("landing/users/driea-idf.jpg") } .landing-panel.cta-panel - .landing-panel-inner-content + .container .cta-panel-wrapper %div %h1.cta-panel-title Commencez à dématerialiser vos procédures