From d469f77a8baa62a53a8a63bf18a79c45da441928 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Wed, 14 Jun 2017 22:07:42 +0200 Subject: [PATCH] =?UTF-8?q?m=C3=A0j?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/public.html.haml | 26 +++++++++++++----- app/views/public/contacts/_form.html.haml | 1 + .../question_mailer/send_contact.html.haml | 6 +++- public/Icone_FB.png | Bin 0 -> 379 bytes public/Icone_Twitter.png | Bin 0 -> 722 bytes 5 files changed, 25 insertions(+), 8 deletions(-) create mode 100644 public/Icone_FB.png create mode 100644 public/Icone_Twitter.png 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 0000000000000000000000000000000000000000..b0866aa7560d8e9f27947e2f4e76a94e70b9d9d7 GIT binary patch literal 379 zcmV->0fhdEP)3kzXekww@b z7HY9OvJAtT4YM0rav((x=MG6ErFGyN506;6P832HV zh3Eknz#h;BGGG;015QE(OOXL?fitV*!1F(VzR>1*)({WCsa5iG+QOLaxU2#I@!rH6 zV0}|)(*}-!<&m{9ONd9Sv9p z{~E}2fkV$b2J%=CPgY4gDPWcC<9)V5n}bkx-tE|GASOX1LYwaji}e_eYNvavWM@1e zwAlx4yt-`y4_<9VGbQieYnb%7K> Z{sV%CKOv_Lk^2Au002ovPDHLkV1k5$m`?xz literal 0 HcmV?d00001 diff --git a/public/Icone_Twitter.png b/public/Icone_Twitter.png new file mode 100644 index 0000000000000000000000000000000000000000..c5ab60f050913f2a9a6db3d1a50cb8abf73f2d9d GIT binary patch literal 722 zcmV;@0xkWCP)zIo=Xs`O z5tZe|V|W{{;8EPd4>*a*6vN*g{#$UdRT*R0m13A$0Kn^*!hJnleyQMoM!*DCq!_lh zD~IRtQI;1*0m<@W2aevu?Qxt%8}}=t^dyWmAXFf`hXi;?8G%9cKm*{_YW+kF@kqn* zNR}4|v%F{sT`+#Ahjn@!DuLHam^+ zu1n_YPn^RAT*Et9HzdUI6vJz^(XIeiVGo`fV8c~-v3f?;yi2Rji78Ct1a2;1^FejF zY1FUb6}-C)hu4~I8g(STTt)ym-!z(u`5m5J27oImhV{*XvBu{&@y9YieBL=Q2a#g9 zgqQH^5zm7ZKt>is53f$!?L5Vz`Q@u~T`GU0VRaX&mb3 z(CRnITnBv=TSox+1}~==`qrbKEnJotYq1Y|m3`r`I)$D00)SSQ7n_uw&I)DQwOQGc zzfg@0t6O*BOKVNgncQ7nPC<+3s_KwKI)OMJ#<@nw@juOz8>cA zyC51cYbua!%AaOER#($El|^nAKPtcZS1E?yM>)LK|H5&yr|@5*EC2ui07*qoM6N<$ Eg3^~tvj6}9 literal 0 HcmV?d00001