Verified Commit cac4e9f0 authored by Camil Staps's avatar Camil Staps

Add birthday logo

parent dec1329d
......@@ -8,9 +8,12 @@ RUN docker-php-source extract \
&& docker-php-source delete
COPY logo.svg /var/www/logo.svg
COPY birthday.patch /var/www/birthday.patch
COPY birthday.sh /var/www/birthday.sh
RUN cd /var/www \
&& apt-get update -qq \
&& apt-get install -qq imagemagick librsvg2-bin \
&& ./birthday.sh \
&& rsvg-convert -w 400 logo.svg > logo.png \
&& convert -resize 200x logo.png logo.png \
&& apt-get remove -qq imagemagick librsvg2-bin \
......
--- logo.svg 2017-05-03 14:57:47.000000000 +0200
+++ logo.svg 2018-03-06 21:08:08.428245533 +0100
@@ -94,5 +94,67 @@
id="tspan5142">l</tspan><tspan
id="tspan5146"
style="fill:#dbdee3">e</tspan></tspan></text>
+ <path
+ style="fill:#ffcc00;fill-rule:evenodd;stroke:#000000;stroke-width:0.24996473px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 73.090996,276.62286 c 8.082999,3.30348 13.107563,-4.12935 13.107563,-4.12935 v 0 L 73.83167,259.86172 Z"
+ id="path3756"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccc" />
+ <path
+ id="path3762"
+ style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 73.146408,273.83199 c 6.681732,0.96924 8.619019,-0.75326 10.571996,-3.88978 m -10.373299,2.0887 c 5.403206,0.42678 7.04214,-0.37475 8.941339,-3.48424" />
+ <path
+ id="path3764"
+ d="m 73.642825,259.98661 c -0.125055,0.0156 -0.25101,0.0186 -0.376841,0.0219 -0.161412,0.003 -0.322855,0.003 -0.484285,0.005 -0.142447,0.007 -0.280604,0.0291 -0.416359,0.0724 -0.02302,0.009 -0.04627,0.0185 -0.06909,0.0285 -0.02315,0.0101 -0.0464,0.0201 -0.06878,0.0317 -0.02352,0.0123 -0.09196,0.0529 -0.06876,0.04 0.654703,-0.36285 0.466016,-0.29721 0.29828,-0.12332 -0.07777,0.0899 -0.108415,0.19865 -0.122497,0.31376 -0.009,0.1369 -0.008,0.27434 -0.0079,0.41149 0.0019,0.15677 0.0011,0.31355 0.0031,0.47032 0.006,0.13587 -0.0083,0.27096 -0.02138,0.40595 -0.01307,0.1621 -0.08348,0.30344 -0.167439,0.43933 -0.161169,0.23292 -0.337897,0.45501 -0.516226,0.67498 -0.209124,0.25358 -0.458047,0.46787 -0.704892,0.68304 -0.169281,0.14457 -0.325935,0.31379 -0.519613,0.42752 -0.190622,0.11193 -0.383903,0.21927 -0.575855,0.32891 -0.17512,0.0777 -0.366459,0.0847 -0.554884,0.0872 -0.223539,-0.004 -0.445752,0.0243 -0.667705,0.0469 -0.08806,0.0128 -0.178314,0.0103 -0.265409,0.0303 -0.142185,0.0327 -0.784466,0.43187 0.364485,-0.22148 -0.05901,0.0372 -0.08624,0.10416 -0.118034,0.16338 0,0 -0.526865,0.23772 -0.526865,0.23772 v 0 c 0.03121,-0.0638 0.05879,-0.13101 0.09963,-0.18906 0.531892,-0.30692 0.440727,-0.32691 0.899491,-0.35713 0.223697,-0.0216 0.447344,-0.0464 0.672454,-0.0456 0.184523,-0.009 0.370491,-0.0202 0.538052,-0.10687 -0.12986,0.0768 -0.259003,0.15477 -0.389575,0.23032 -0.03415,0.0198 0.06775,-0.0405 0.100256,-0.0629 0.154691,-0.10637 0.294065,-0.23394 0.431321,-0.36132 0.247965,-0.21363 0.500073,-0.4243 0.712065,-0.67526 0.171987,-0.21649 0.345064,-0.43294 0.501147,-0.66127 0.08115,-0.12819 0.153657,-0.25705 0.16995,-0.41113 0.01252,-0.13389 0.03355,-0.26718 0.02619,-0.40216 0.0013,-0.15715 7.9e-5,-0.31431 -2.57e-4,-0.47146 -0.0016,-0.1376 -0.0068,-0.27523 -0.0026,-0.41283 0.009,-0.12576 0.03997,-0.246 0.113882,-0.35061 0.230452,-0.26773 0.566081,-0.42541 0.892101,-0.54977 0.13988,-0.0383 0.282779,-0.0575 0.427927,-0.0605 0.160189,0.001 0.320399,9.8e-4 0.480523,-0.005 0.128529,-0.005 0.258077,-0.011 0.384053,-0.0391 0,0 -0.469728,0.35566 -0.469728,0.35566 z"
+ inkscape:connector-curvature="0"
+ style="stroke-width:0.26458332" />
+ <path
+ id="path3766"
+ d="m 74.040679,260.22194 c -0.103608,0.10894 -0.189278,0.2343 -0.275175,0.35737 -0.122433,0.17877 -0.225652,0.36962 -0.331332,0.5585 -0.142986,0.25105 -0.299006,0.49426 -0.445913,0.74299 -0.167621,0.2901 -0.296889,0.59798 -0.384831,0.92084 -0.07203,0.3011 -0.07868,0.61147 -0.08582,0.91935 -0.0096,0.29479 -2.65e-4,0.5885 0.02858,0.88186 0.02822,0.27747 0.04188,0.55609 0.05016,0.83478 0.0055,0.181 0.0113,0.37026 -0.05644,0.54223 -0.01379,0.035 -0.03282,0.0677 -0.04924,0.10155 -0.158975,0.28039 -0.418507,0.46834 -0.673703,0.65408 -0.312092,0.21645 -0.644065,0.40165 -0.960763,0.61099 -0.135649,0.0913 -0.263575,0.19267 -0.388961,0.29733 0,0 -0.515221,0.208 -0.515221,0.208 v 0 c 0.129426,-0.10799 0.261676,-0.21219 0.400479,-0.30808 0.312848,-0.21296 0.645443,-0.39465 0.958167,-0.60799 0.248693,-0.17771 0.503563,-0.35522 0.664917,-0.62198 0.01675,-0.0307 0.03589,-0.0602 0.05026,-0.092 0.07465,-0.16547 0.07621,-0.35141 0.07317,-0.52913 -0.0055,-0.2781 -0.01566,-0.55623 -0.04503,-0.833 -0.02762,-0.29573 -0.04072,-0.59114 -0.02997,-0.88829 0.0048,-0.31223 0.01804,-0.62598 0.08195,-0.93261 0.08853,-0.32628 0.214726,-0.63913 0.380103,-0.93459 0.142476,-0.24678 0.293566,-0.48842 0.434028,-0.73636 0.104376,-0.18953 0.205999,-0.38101 0.325504,-0.5616 0.08075,-0.12127 0.165383,-0.23953 0.249682,-0.35829 0,0 0.545404,-0.22591 0.545404,-0.22591 z"
+ inkscape:connector-curvature="0"
+ style="stroke-width:0.26458332" />
+ <path
+ style="fill:#d40055;stroke-width:0.03125"
+ d="m 285.84345,112.90356 c -2.7469,-0.0931 -6.24436,-0.40876 -9.35514,-0.84428 l -0.27702,-0.0388 0.0185,-0.23695 c 0.0102,-0.13032 0.0702,-1.44633 0.13353,-2.92445 0.0633,-1.47813 0.11636,-2.68907 0.11793,-2.691 0.002,-0.002 0.34036,0.0216 0.75286,0.0522 3.27946,0.24362 5.58609,0.32551 8.48136,0.30113 1.99235,-0.0168 2.44423,-0.0326 3.78427,-0.13266 5.90436,-0.44082 10.09471,-1.88383 13.60937,-4.68657 2.28578,-1.822776 4.36042,-4.275854 6.63317,-7.843122 0.22996,-0.360938 0.42844,-0.660027 0.44108,-0.664643 0.0188,-0.0069 2.60615,2.618636 4.18251,4.244118 l 0.38013,0.391976 -0.52988,0.822684 c -2.63808,4.095867 -4.94497,6.809377 -7.56688,8.900647 -2.34889,1.8735 -5.07932,3.24905 -8.17325,4.11758 -3.07073,0.86201 -6.57202,1.27525 -10.67938,1.26045 -0.6875,-0.002 -1.5664,-0.0152 -1.95312,-0.0284 z"
+ id="path3781"
+ inkscape:connector-curvature="0"
+ transform="matrix(0.26458333,0,0,0.26458333,0.2645833,244.08332)" />
+ <circle
+ style="fill:#2ca02c;stroke-width:0.26458332"
+ id="path3799"
+ cx="76.643532"
+ cy="269.68506"
+ r="1.4499372" />
+ <circle
+ style="fill:#0088aa;stroke-width:0.26458332"
+ id="path3801"
+ cx="78.163628"
+ cy="266.52792"
+ r="0.95882946" />
+ <circle
+ style="fill:#d40055;stroke-width:0.26458332"
+ id="path3803"
+ cx="75.450844"
+ cy="264.98444"
+ r="0.8652851" />
+ <circle
+ style="fill:#6600ff;stroke-width:0.26458332"
+ id="path3805"
+ cx="79.732689"
+ cy="275.55148"
+ r="0.74835467" />
+ <circle
+ style="fill:#37c837;stroke-width:0.26458332"
+ id="path3807"
+ cx="83.40715"
+ cy="273.09619"
+ r="1.0523738" />
+ <circle
+ style="fill:#800000;stroke-width:0.26458332"
+ id="path3805-3"
+ cx="76.001556"
+ cy="275.56873"
+ r="0.74835467" />
</g>
</svg>
#!/bin/bash
month="$(date +%m)"
day="$(date +%d)"
if [[ "$month" == "02" ]] && [[ "$day" > "15" ]] && [[ "$day" < "24" ]]; then
patch < birthday.patch
fi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment