From eda863a7b28ca33af4ee778b3ef1e2f68995720a Mon Sep 17 00:00:00 2001 From: Xavier J Date: Fri, 29 Jan 2016 11:23:36 +0100 Subject: [PATCH] Update landing page --- app/assets/stylesheets/landing.scss | 9 ++++++++ app/assets/stylesheets/ul.scss | 22 +++++++++++++++++++ app/controllers/root_controller.rb | 2 +- app/views/root/landing.html.haml | 34 ++++++++++++++++++++++++++++- 4 files changed, 65 insertions(+), 2 deletions(-) create mode 100644 app/assets/stylesheets/ul.scss diff --git a/app/assets/stylesheets/landing.scss b/app/assets/stylesheets/landing.scss index c470c028c..224a0e438 100644 --- a/app/assets/stylesheets/landing.scss +++ b/app/assets/stylesheets/landing.scss @@ -59,7 +59,16 @@ } } + .echanger { + ul { + margin-top: 6%; + } + } .profiter { border-bottom: none; + + ul { + margin-top: 9%; + } } } \ No newline at end of file diff --git a/app/assets/stylesheets/ul.scss b/app/assets/stylesheets/ul.scss new file mode 100644 index 000000000..ab1bfff2a --- /dev/null +++ b/app/assets/stylesheets/ul.scss @@ -0,0 +1,22 @@ +.dynamic_ul { + list-style-type: none; + margin-left: 20px; + margin-top: 13%; + + li { + font: 200 20px/1.5 Helvetica, Verdana, sans-serif; + border-bottom: 1px solid #ccc; + margin-top: 9px; + margin-bottom: 9px; + } + + li:last-child { + border: none; + } + + li a { + text-decoration: none; + color: #000; + display: block; + } +} \ No newline at end of file diff --git a/app/controllers/root_controller.rb b/app/controllers/root_controller.rb index 05e204c2b..07a118f58 100644 --- a/app/controllers/root_controller.rb +++ b/app/controllers/root_controller.rb @@ -11,7 +11,7 @@ class RootController < ApplicationController redirect_to admin_procedures_path else - render 'landing' + redirect_to new_user_session_path end end end \ No newline at end of file diff --git a/app/views/root/landing.html.haml b/app/views/root/landing.html.haml index 01b31f831..47aa3a696 100644 --- a/app/views/root/landing.html.haml +++ b/app/views/root/landing.html.haml @@ -26,9 +26,21 @@ .col-md-6.col-lg-6 = image_tag image_url('keywords/simplifier.png') .col-md-6.col-lg-6 + %ul.dynamic_ul + %li + %a Générateur simplifiée de démarches en ligne + %li + %a Ne demander que les informations strictement nécessaires + %li + %a Gérer les procédures, publication, suspension, en un clic. .row.word.securiser .col-md-6.col-lg-6 + %ul.dynamic_ul + %li + Profiter d’une identification simplifiée grâce à FranceConnect + %li + Évoluer sur une plateforme de l'État totalement sécurisée .col-md-6.col-lg-6 = image_tag image_url('keywords/securiser.png') @@ -36,13 +48,33 @@ .col-md-6.col-lg-6 = image_tag image_url('keywords/echanger.png') .col-md-6.col-lg-6 + %ul.dynamic_ul + %li + Tchatter avec les services traitant jusqu’à la complétude du dossier + %li + Etre notifié de manière électronique + %li + Accompagner les usagers dans leur démarche + %li + Vérifier les pièces au fur et à mesure .row.word.faciliter .col-md-6.col-lg-6 + %ul.dynamic_ul + %li + Construire la démarche en plusieurs fois + %li + Gagner du temps sur l’instruction + .col-md-6.col-lg-6 = image_tag image_url('keywords/faciliter.png') .row.word.profiter .col-md-6.col-lg-6 = image_tag image_url('keywords/profiter.png') - .col-md-6.col-lg-6 \ No newline at end of file + .col-md-6.col-lg-6 + %ul.dynamic_ul + %li + Récupérer des informations officielles collectées directement auprès des administrations + %li + Profiter des ressources cartographiques directement mobilisées, si nécessaire \ No newline at end of file