Add Calendar

Fixes #135
This commit is contained in:
edent
2018-02-26 14:24:45 +00:00
parent f7893efbd7
commit 9c775b2464
2 changed files with 7 additions and 0 deletions

View File

@@ -149,6 +149,7 @@ Say thanks!
<tr>
<td><img src="images/svg/buffer.svg" width="125" title="buffer" /><br>490 Bytes</td>
<td><img src="images/svg/upwork.svg" width="125" title="UpWork" /><br>671 Bytes</td>
<td><img src="images/svg/calendar.svg" width="125" title="Calendar" /><br>1019 Bytes</td>
</tr>
</table>

6
images/svg/calendar.svg Normal file
View File

@@ -0,0 +1,6 @@
<svg onload="init()" xmlns="http://www.w3.org/2000/svg"
aria-label="Calendar" role="img"
viewBox="0 0 512 512"><script type="text/ecmascript"><![CDATA[function init(){d=document,L="en-GB",T=new Date,d.getElementById("d").textContent=T.getDate(),d.getElementById("w").textContent=T.toLocaleString(L,{weekday:"long"}),d.getElementById("m").textContent=T.toLocaleString(L,{month:"short"}).toUpperCase()}]]></script><rect
width="512" height="512"
rx="77"
fill="#dee"/><path d="m77 0h358a77 77 0 0 1 77 77v103h-512v-103a77 77 0 0 1 77-77z" fill="#d34"/><g fill="#eab"><circle cx="470" cy="142" r="14"/><circle cx="470" cy="100" r="14"/><circle cx="427" cy="142" r="14"/><circle cx="427" cy="100" r="14"/><circle cx="384" cy="142" r="14"/><circle cx="384" cy="100" r="14"/></g><g fill="#677" font-family="monospace" text-anchor="middle"><text fill="#fff" font-size="140" x="140" y="164" id="m">FEB</text><text font-size="256" x="256" y="400" id="d">29</text><text font-size="64" x="256" y="480" id="w">Sunday</text></g></svg>

After

Width:  |  Height:  |  Size: 1019 B