diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml index 78d522f..d0c6d2e 100755 --- a/app/views/layouts/public.html.haml +++ b/app/views/layouts/public.html.haml @@ -20,25 +20,25 @@ =raw '' =raw '' -if @facebook_img - =raw '' - =raw '' + =raw '' + =raw '' =raw '' =raw '' =#raw '' =raw '' - =raw '' - =raw '' + =raw '' + =raw '' =raw '' - =raw '' + =raw '' - -@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 =raw '' @@ -131,7 +131,7 @@ .contact_container#contact-bloc - .center + .center{:style => "padding:0 5px;"} %div{:style => "text-align:center;"} =image_tag "/tete-section.png", :style => "width:300px" %h2{:style => "text-align:center;"} Contact @@ -171,6 +171,18 @@ %br %br =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 %br diff --git a/app/views/public/contacts/_form.html.haml b/app/views/public/contacts/_form.html.haml index 40bbd38..5d0e7a0 100755 --- a/app/views/public/contacts/_form.html.haml +++ b/app/views/public/contacts/_form.html.haml @@ -6,6 +6,7 @@ =f.input :name, :label => false , :placeholder =>"Votre nom" =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" diff --git a/app/views/question_mailer/send_contact.html.haml b/app/views/question_mailer/send_contact.html.haml index 95f8838..ccb5b46 100755 --- a/app/views/question_mailer/send_contact.html.haml +++ b/app/views/question_mailer/send_contact.html.haml @@ -1,7 +1,11 @@ %p Contact de %strong=@contact.name - + +%p + Mail + %strong=@contact.email + %p Téléphone %strong=@contact.tel diff --git a/public/Icone_FB.png b/public/Icone_FB.png new file mode 100644 index 0000000..b0866aa Binary files /dev/null and b/public/Icone_FB.png differ diff --git a/public/Icone_Twitter.png b/public/Icone_Twitter.png new file mode 100644 index 0000000..c5ab60f Binary files /dev/null and b/public/Icone_Twitter.png differ