Landing is no longer a symlink on prod/staging env, new call to action on landing is a mailto

This commit is contained in:
Mathieu Magnin 2017-02-22 16:06:58 +01:00
parent b2198663d1
commit 3fcf9bf350
5 changed files with 20 additions and 23 deletions

View file

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

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

View file

@ -14,4 +14,4 @@
= render partial: 'layouts/credentials' = render partial: 'layouts/credentials'
-else -else
.col-lg-1.col-md-1.col-sm-1.col-xs-1#sign_in .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 #landing.max-size
#title #title
.center
= image_tag 'logos/logo-tps.png', id: 'logo-tps'
%h1.center %h1.center
%img#logo-tps{src: image_url('logos/logo-tps.png')}
%h2.center
TéléProcédure Simplifiée TéléProcédure Simplifiée
%h3.center .row
Plateforme publique pour réaliser des démarches administratives 100% en ligne. .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 %p.mt-1 Vous êtes intéressés ?
%br %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'
.center
%button.background-tps.js-scrollTo.btn.btn-lg{cible: '.demo_account'}
Envie d'essayer ?
#landing_body.max-size #landing_body.max-size
.row#etapes.center .row#etapes.center

View file

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