This commit is contained in:
Nicolas Bally 2018-08-03 01:48:01 +02:00
parent 18c04c6a58
commit ec87a14fd1

View File

@ -163,7 +163,7 @@
.center
#left_actus
%h2
L'actualité du groupe
Actualité
-@articles_rss.each do |article|
@ -172,7 +172,7 @@
%div{:class => "actu"}
.img.with_ratio{:style => "background-image:url('#{article['image_url']}');background-size:100%;background-size:cover;", :data => {:ratio => 0.62}}
.img.with_ratio{:style => "background-image:url('http://payresas.quartz.xyz#{article['image_url']}');background-size:100%;background-size:cover;", :data => {:ratio => 0.62}}
@ -193,7 +193,7 @@
#right_actus
%h2
L'actu de nos domaines
L'actu du groupe
-@breves_rss[0..10].each do |article|
=link_to "http://payresas.quartz.xyz"+article["url"].to_s, :target => "_blank", :style => "text-decoration:none;" do
@ -218,19 +218,18 @@
#sub_footer
#logos
=link_to "https://agriculture.payre.co", :target => "_blank" do
=link_to "http://payreagri.quartz.xyz", :target => "_blank" do
=image_tag "/payre-agriculture.png"
=link_to "https://energies.payre.co", :target => "_blank" do
=link_to "http://payre3p.quartz.xyz", :target => "_blank" do
=image_tag "/payre-energies.png"
=link_to "https://maintenance.payre.co", :target => "_blank" do
=link_to "http://payrepmc.quartz.xyz", :target => "_blank" do
=image_tag "/payre-maintenance.png"
=link_to "https://jardinerie.payre.co", :target => "_blank" do
=link_to "http://payrejardi.quartz.xyz", :target => "_blank" do
=image_tag "/payre-jardinerie.png"
#place
%p
Payre Produits Pétroliers