modifs facebook
This commit is contained in:
parent
d19346116b
commit
7b29d8de2a
@ -21,7 +21,15 @@
|
||||
=javascript_include_tag "http://maps.google.com/maps/api/js?sensor=false®ion=FR"
|
||||
|
||||
%body{:class => ("page" if @menu_item and @menu_item.slug != "index")}
|
||||
|
||||
<div id="fb-root"></div>
|
||||
:javascript
|
||||
(function(d, s, id) {
|
||||
var js, fjs = d.getElementsByTagName(s)[0];
|
||||
if (d.getElementById(id)) return;
|
||||
js = d.createElement(s); js.id = id;
|
||||
js.src = "//connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.4";
|
||||
fjs.parentNode.insertBefore(js, fjs);
|
||||
}(document, 'script', 'facebook-jssdk'));
|
||||
|
||||
-if flash[:error] or flash[:notice] or flash[:alert]
|
||||
.flash
|
||||
@ -66,7 +74,8 @@
|
||||
|
||||
|
||||
|
||||
|
||||
%li
|
||||
=link_to i(:facebook), "https://www.facebook.com/Parle-à-ton-chien-1614258965457395", :target => "_blank"
|
||||
|
||||
=link_to image_tag("/logo-min.png", :id => "logo-min"), "/"
|
||||
|
||||
@ -78,10 +87,19 @@
|
||||
.clear
|
||||
|
||||
|
||||
.bottom
|
||||
.bottom{:style => "margin-top:50px;"}
|
||||
.share{:style => "float:left;margin-left:20px;"}
|
||||
#likebox-wrapper
|
||||
%div
|
||||
.fb-like{}
|
||||
%div
|
||||
=raw '<div class="fb-share-button" data-href="'+request.url+'" data-layout="button_count"></div>'
|
||||
|
||||
.infos
|
||||
06 60 11 96 00 /
|
||||
=link_to "eglantine.noblet@gmail.com", "mailto:eglantine.noblet@gmail.com"
|
||||
="/"
|
||||
=link_to i(:facebook), "https://www.facebook.com/Parle-à-ton-chien-1614258965457395", :target => "_blank"
|
||||
|
||||
%ul
|
||||
-MenuItem.where(:parent_id => nil, :enabled => true, :visible => true, :menu_id => Menu.find_by_slug("infos").id).order(:position).each do |menu_item|
|
||||
|
BIN
public/logo.png
BIN
public/logo.png
Binary file not shown.
Before Width: | Height: | Size: 863 KiB After Width: | Height: | Size: 67 KiB |
Loading…
x
Reference in New Issue
Block a user