màj
This commit is contained in:
parent
6b9b44ebd7
commit
d469f77a8b
@ -20,25 +20,25 @@
|
|||||||
=raw '<meta property="og:title" content="'+@title.to_s+'" />'
|
=raw '<meta property="og:title" content="'+@title.to_s+'" />'
|
||||||
=raw '<meta property="og:description" content="'+@description.to_s+'" />'
|
=raw '<meta property="og:description" content="'+@description.to_s+'" />'
|
||||||
-if @facebook_img
|
-if @facebook_img
|
||||||
=raw '<meta property="og:image" content="http://heylium.io'+@facebook_img.to_s+'"/>'
|
=raw '<meta property="og:image" content="http://idncommunication.com/'+@facebook_img.to_s+'"/>'
|
||||||
=raw '<link rel="image_src" href="http://heylium.io'+@facebook_img.to_s+'"/>'
|
=raw '<link rel="image_src" href="http://idncommunication.com/'+@facebook_img.to_s+'"/>'
|
||||||
|
|
||||||
=raw '<meta name="twitter:card" content="summary_large_image">'
|
=raw '<meta name="twitter:card" content="summary_large_image">'
|
||||||
|
|
||||||
=raw '<meta property="twitter:description" content="'+((@description and @description != "") ? @description : "En savoir plus :").to_s+'"/>'
|
=raw '<meta property="twitter:description" content="'+((@description and @description != "") ? @description : "En savoir plus :").to_s+'"/>'
|
||||||
=#raw '<meta property="twitter:description" content="'+@description.to_s+'"/>'
|
=#raw '<meta property="twitter:description" content="'+@description.to_s+'"/>'
|
||||||
=raw '<meta property="twitter:title" content="'+@title.to_s+'"/>'
|
=raw '<meta property="twitter:title" content="'+@title.to_s+'"/>'
|
||||||
=raw '<meta property="twitter:site" content="@onevoiceplanet"/>'
|
=raw '<meta property="twitter:site" content="@idncontact"/>'
|
||||||
=raw '<meta property="twitter:creator" content="@onevoiceplanet"/>'
|
=raw '<meta property="twitter:creator" content="@idncontact"/>'
|
||||||
=raw '<meta property="twitter:url" content="'+request.url.to_s+'"/>'
|
=raw '<meta property="twitter:url" content="'+request.url.to_s+'"/>'
|
||||||
|
|
||||||
|
|
||||||
=raw '<meta property="twitter:image" content="http://heylium.io'+@facebook_img.to_s+'"/>'
|
=raw '<meta property="twitter:image" content="http://idncommunication.com/'+@facebook_img.to_s+'"/>'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-@img_size = FastImage.size('http://heylium.io'+@facebook_img.to_s)
|
-@img_size = FastImage.size('http://idncommunication.com/'+@facebook_img.to_s)
|
||||||
|
|
||||||
-if @img_size and @img_size.size > 0
|
-if @img_size and @img_size.size > 0
|
||||||
=raw '<meta property="og:image:width" content="'+@img_size[0].to_s+'"/>'
|
=raw '<meta property="og:image:width" content="'+@img_size[0].to_s+'"/>'
|
||||||
@ -131,7 +131,7 @@
|
|||||||
|
|
||||||
|
|
||||||
.contact_container#contact-bloc
|
.contact_container#contact-bloc
|
||||||
.center
|
.center{:style => "padding:0 5px;"}
|
||||||
%div{:style => "text-align:center;"}
|
%div{:style => "text-align:center;"}
|
||||||
=image_tag "/tete-section.png", :style => "width:300px"
|
=image_tag "/tete-section.png", :style => "width:300px"
|
||||||
%h2{:style => "text-align:center;"} Contact
|
%h2{:style => "text-align:center;"} Contact
|
||||||
@ -171,6 +171,18 @@
|
|||||||
%br
|
%br
|
||||||
%br
|
%br
|
||||||
=link_to "contact@idncommunication.com", "mailto:contact@idncommunication.com"
|
=link_to "contact@idncommunication.com", "mailto:contact@idncommunication.com"
|
||||||
|
%br
|
||||||
|
%br
|
||||||
|
%strong Rejoignez-vous sur les réseaux sociaux !
|
||||||
|
%br
|
||||||
|
%br
|
||||||
|
=link_to "https://www.facebook.com/idn.communication/", :target => "_blank", :class => "link facebook" do
|
||||||
|
=image_tag "/Icone_FB.png"
|
||||||
|
|
||||||
|
=link_to "https://twitter.com/idncontact", :target => "_blank", :class => "link twitter" do
|
||||||
|
=image_tag "/Icone_Twitter.png", :style => "margin-left:10px;"
|
||||||
|
|
||||||
|
|
||||||
.mobile_only
|
.mobile_only
|
||||||
%br
|
%br
|
||||||
|
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
=f.input :name, :label => false , :placeholder =>"Votre nom"
|
=f.input :name, :label => false , :placeholder =>"Votre nom"
|
||||||
=f.input :email, :label => false , :placeholder =>"Votre email"
|
=f.input :email, :label => false , :placeholder =>"Votre email"
|
||||||
|
=f.input :tel, :label => false , :placeholder =>"Votre numéro de téléphone"
|
||||||
|
|
||||||
=f.input :message, :label =>false , :placeholder => "Votre projet"
|
=f.input :message, :label =>false , :placeholder => "Votre projet"
|
||||||
|
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
%p
|
%p
|
||||||
Contact de
|
Contact de
|
||||||
%strong=@contact.name
|
%strong=@contact.name
|
||||||
|
|
||||||
|
%p
|
||||||
|
Mail
|
||||||
|
%strong=@contact.email
|
||||||
|
|
||||||
%p
|
%p
|
||||||
Téléphone
|
Téléphone
|
||||||
%strong=@contact.tel
|
%strong=@contact.tel
|
||||||
|
BIN
public/Icone_FB.png
Normal file
BIN
public/Icone_FB.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 379 B |
BIN
public/Icone_Twitter.png
Normal file
BIN
public/Icone_Twitter.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 722 B |
Loading…
x
Reference in New Issue
Block a user