From 02552c7a7f09a6a1cd27a73bc18b3a558efffcf2 Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Wed, 28 Feb 2018 19:23:53 +0100 Subject: [PATCH] Change the tagline --- .../stylesheets/new_design/landing.scss | 29 ++----------------- app/views/root/landing.html.haml | 10 ++----- 2 files changed, 4 insertions(+), 35 deletions(-) diff --git a/app/assets/stylesheets/new_design/landing.scss b/app/assets/stylesheets/new_design/landing.scss index fb654157c..501139791 100644 --- a/app/assets/stylesheets/new_design/landing.scss +++ b/app/assets/stylesheets/new_design/landing.scss @@ -32,13 +32,13 @@ $landing-breakpoint: 1040px; } .hero-tagline { - font-size: 30px; + font-size: 40px; margin-bottom: 0px; } .hero-tagline-em { color: $blue; - font-size: 36px; + font-size: 40px; font-style: normal; font-weight: bold; } @@ -55,31 +55,6 @@ $landing-breakpoint: 1040px; } } -.hero-button { - @include horizontal-padding(30px); - - display: inline-block; - height: 60px; - line-height: 60px; - border-radius: 60px; - background-color: $blue; - color: #FFFFFF; - font-size: 24px; - margin-top: 30px; - cursor: pointer; - - &:hover { - color: #FFFFFF; - text-decoration: none; - background-color: $light-blue; - } - - &:focus { - color: #FFFFFF; - text-decoration: none; - } -} - .landing-panel-title { width: 100%; font-size: 30px; diff --git a/app/views/root/landing.html.haml b/app/views/root/landing.html.haml index 3774296ff..bffc7268e 100644 --- a/app/views/root/landing.html.haml +++ b/app/views/root/landing.html.haml @@ -6,14 +6,8 @@ .hero-wrapper .hero-text %p.hero-tagline - %em.hero-tagline-em Dématérialisez - %br - vos procédures administratives en quelques minutes - = link_to "Demander une démo", - "mailto:#{t("dynamics.contact_email")}?subject=Demande de démo demarches-simplifiees.fr", - class: "hero-button", - target: "_blank", - onclick: "javascript: ga('send', 'pageview', '/demander-une-demo')" + %em.hero-tagline-em Dématérialiser et simplifier + les démarches administratives .hero-illustration %img{ :src => image_url("landing/hero/dematerialiser.svg") }