Merge pull request #27 from sgmap/cta_landing_mailto

New call to action is a mailto
This commit is contained in:
LeSim 2017-02-28 10:44:57 +01:00 committed by GitHub
commit aeee79ff8c
5 changed files with 20 additions and 23 deletions

View file

@ -84,12 +84,8 @@
#sign_in{
margin-top: 7px;
.btn {
color: #003C92;
float: right;
margin-right: 1.3em;
}
.btn:hover {
color: #668ABD;
margin-right: 15px;
}
}

View file

@ -1,14 +1,14 @@
%div.col-lg-2.col-md-2.col-sm-2.col-xs-2
.col-xs-2
%a#title_navbar{href: '/'}
%div.row#home
%div.col-lg-6.no-padding
.row#home
.col-lg-6.no-padding
= image_tag('marianne_small.png', class: 'logo')
%div.col-lg-6.no-padding#tps-title
.col-lg-6.no-padding#tps-title
TPS
%div.col-lg-10.col-md-10.col-sm-10.col-xs-10.no-padding
%div#navbar-body
%div.row
.col-xs-10.no-padding
#navbar-body
.row
-begin
= render partial: @navbar_url
-rescue

View file

@ -14,4 +14,4 @@
= render partial: 'layouts/credentials'
-else
.col-lg-1.col-md-1.col-sm-1.col-xs-1#sign_in
= link_to "Connexion", '/users/sign_in', :class => 'btn btn-lg'
= link_to "Connexion", new_user_session_path, :class => 'btn btn-lg btn-primary'

View file

@ -1,18 +1,20 @@
#landing.max-size
#title
.center
= image_tag 'logos/logo-tps.png', id: 'logo-tps'
%h1.center
%img#logo-tps{src: image_url('logos/logo-tps.png')}
%h2.center
TéléProcédure Simplifiée
%h3.center
Plateforme publique pour réaliser des démarches administratives 100% en ligne.
.row
.col-md-8.col-md-push-2.center
%h3
Dématérialisez n'importe quelle démarche administrative en quelques minutes,
avec un outil
%strong
gratuit, simple, collaboratif et sûr
%br
%br
.center
%button.background-tps.js-scrollTo.btn.btn-lg{cible: '.demo_account'}
Envie d'essayer ?
%p.mt-1 Vous êtes intéressés ?
%p= link_to 'Programmer une démo', "mailto:#{t('dynamics.contact_email')}?subject=Demande de démo TPS", target: '_blank', class: 'btn btn-danger btn-lg'
#landing_body.max-size
.row#etapes.center

View file

@ -87,7 +87,6 @@ set :shared_paths, [
'config/france_connect.yml',
'config/initializers/mailjet.rb',
'config/initializers/storage_url.rb',
'app/views/root/landing.html.haml',
'app/views/layouts/_google_analytics.html',
'app/views/cgu/index.html.haml'
]