Add the “Users” part of the landing page

This commit is contained in:
gregoirenovel 2017-04-04 14:41:28 +02:00
parent f604ccb7d6
commit 663b556766
7 changed files with 42 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -172,3 +172,24 @@ $number-count: 3;
font-weight: bold; font-weight: bold;
font-size: 20px; font-size: 20px;
} }
.users {
@extend %horizontal-list;
}
$image-width: 170px;
$images-total-width: $image-width * 5;
$images-count: 5;
.user {
@extend %horizontal-list-item;
margin-right: calc((#{$page-width} - (#{$images-total-width}))/ (#{$images-count} - 1));
&:hover {
opacity: 0.6;
}
}
.user-image {
width: $image-width;
}

View file

@ -101,3 +101,24 @@
de réduction de réduction
%br<> %br<>
des délais de traitement des délais de traitement
.landing-panel.users-panel
.landing-panel-inner-content
%h2.landing-panel-title Ils nous font confiance
%ul.users
%li.user
%a{ :href => "http://www.developpement-durable.gouv.fr/", :target => "_blank " }
%img.user-image{ :src => image_url("landing/users/ministere-environnement.jpg") }
%li.user
%a{ :href => "https://www.iledefrance.fr/", :target => "_blank " }
%img.user-image{ :src => image_url("landing/users/region-idf.jpg") }
%li.user
%a{ :href => "http://www.artisanat.fr/", :target => "_blank " }
%img.user-image{ :src => image_url("landing/users/chambres-de-metiers.jpg") }
%li.user
%a{ :href => "http://www.cci.fr/", :target => "_blank " }
%img.user-image{ :src => image_url("landing/users/cci.jpg") }
%li.user
%a{ :href => "http://www.driea.ile-de-france.developpement-durable.gouv.fr/", :target => "_blank " }
%img.user-image{ :src => image_url("landing/users/driea-idf.jpg") }