From 82ad6346ccd4a07c83d9b23ea2f9208ff342c315 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Tue, 7 Feb 2023 13:36:53 +0100 Subject: [PATCH] chore(service-plus): replace svg by png, micro improve layout for clients compat --- .../images/mailer/logo-services-plus.png | Bin 0 -> 1930 bytes .../images/mailer/logo-services-plus.svg | 23 ------------------ .../layouts/mailers/_service_plus.html.haml | 18 +++++++++----- 3 files changed, 12 insertions(+), 29 deletions(-) create mode 100644 app/assets/images/mailer/logo-services-plus.png delete mode 100644 app/assets/images/mailer/logo-services-plus.svg diff --git a/app/assets/images/mailer/logo-services-plus.png b/app/assets/images/mailer/logo-services-plus.png new file mode 100644 index 0000000000000000000000000000000000000000..975605679333dc22c8be2fb881c42556f415644e GIT binary patch literal 1930 zcmV;52X**~P)F}Rlnu< zKQzv8etv#_etv#_etv#!FcC+v17Dy5?C!@f2e-g1fH8_6(H&)A_ddqp1~~OG#^4&5 z4Z<+Afm%E|VF@y@4`XpF)V{_r2XU}_2Fr0AtI!ce;i)Y~iKIRC&D}%)lOAaCs%SQ;nY#YQu z2xdlz{qisPPxg!MgP#k7K z7!D(+LCaxeqL&~T2D=dubcJ0In<2O{pOM=@kcIlts|GcDDnIs`*t7X%f&k!#{O z1iR1~#iNWoA7M-9C?h|L$FTu|Ua-3hg7pZ%>}m*hqDVd?cY-#=^qEs75;>B0ETbz7uTJ=Y6vUla0l@|Yw2{9>152$aBfp9{5WES!_aXQk zAsmOGvCGJ>KrrmUQ!Xa%*F5FEi<5X^?*GIDL?A%ZKQcO8nH#A|W@rL>QUf(55)14wk1Z{Mf{w7 zR!61>kb&2cj4Kd97GkuKe?$vKX{V93k4(!E3$-N>WI*to%gA=0KyVzL(GuCt1R zXbd+l2LR|={D2ww2M-|#yDQM&K?h~zftEPf)yF^#KqBl)D~EpyPCbSGs0Y1k@C~M8 zJcghS)ZRva2gP7m-(SRkn2B%E66AekWX2dnGtS1y-uc`|#sZ`K0tOaHOw9Yolaf9@ zaO$;dti`?ipglH1yNZTS%6l8G~n z%Ci~$ustw8A1!QzbM%n|f%IICpRsxK;i-{`99_6@&$&FZKQcsB)OaWJO5?c&9~tc? zd~LMUpQ-_L?K*v}I^r1_nc^`}(H-|99(HXp5cfi@5(eT8*tN$%OJ6*VN>EEee{_RW z711BBK`#lNFdDP*Cmu&ps5Qkmn1MfV2b>B)EXi<78QEQ-K-!kF@u{;fs}dgHvCYs) z{klw=aW+OS1#z$)wPE%g1V2Kp4Fs!U_aa1-iCbV-1A+r^stp8dpmrhlLL4kcMVPfl zHbnD1f@f;vTWg2M9eibgs6Oj5V#3)RIS(z+9{)k`mxqx@pcPUfSmkl#DmVba4BUkJ zxEpJbg?nK30|aS^#T__`mtpskP%BVGdXEB!G}`s3)*f8x8;PE47qkNjt+UneR9 z&cnwpPU*kbm`#p~Q5d<$PPpXrfnCZ6X-R?57>?@tV0^g!LAhE#YSXc1ztn|r@ezO z4z8h&c_v0a!+g@SXYk;&0}|bAc{Lmh!z=rTbDZz|AKB-R?DI$V`6K)O2U;wrfVB0Q Qw*UYD07*qoM6N<$f&r9n=l}o! literal 0 HcmV?d00001 diff --git a/app/assets/images/mailer/logo-services-plus.svg b/app/assets/images/mailer/logo-services-plus.svg deleted file mode 100644 index 1ef6a7f1d..000000000 --- a/app/assets/images/mailer/logo-services-plus.svg +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/views/layouts/mailers/_service_plus.html.haml b/app/views/layouts/mailers/_service_plus.html.haml index e514c8d12..4370da79f 100644 --- a/app/views/layouts/mailers/_service_plus.html.haml +++ b/app/views/layouts/mailers/_service_plus.html.haml @@ -1,10 +1,16 @@ -%div{ style: 'background-color: #F5F5FE; padding: 15px;' } += vertical_margin(20) + +%div{ style: 'background-color: #F5F5FE; padding: 20px;' } %table{ width: "100%", border: "0", cellspacing: "0", cellpadding: "0" } %tr - %td{ width: "25%" } - = image_tag('mailer/logo-services-plus.svg', "aria-hidden": true, style: 'vertical-align: middle') - %td{ width: "75%", valign: "top" } + %td{ width: "70%", valign: "top", align: "center" } %p{ style: 'margin: 0' } - J'aide les services publics à s'améliorer : + J’aide les services publics à s’améliorer : %br - = link_to 'je donne mon avis avec services publics +', 'https://www.plus.transformation.gouv.fr/experience/step_1?pk_campaign=demarches-simplifiees', target: '_blank', rel: 'noopener' + = link_to 'Je donne mon avis avec Services Publics +', 'https://www.plus.transformation.gouv.fr/experience/step_1?pk_campaign=demarches-simplifiees', target: '_blank', rel: 'noopener noreferrer' + + %td{ width: "30%" } + = link_to 'https://www.plus.transformation.gouv.fr/experience/step_1?pk_campaign=demarches-simplifiees', target: '_blank', rel: 'noopener noreferrer' do + = image_tag('mailer/logo-services-plus.png', height: 39, width: 121, style: 'display:block; vertical-align: middle', alt: "Services Publics +") + += vertical_margin(20)