add image svg

This commit is contained in:
Romulus21
2023-10-01 23:19:08 +02:00
parent 1eb26151dd
commit 0ce75d59e3
18 changed files with 548 additions and 10 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.1"
width="100px"
height="100px"
style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
id="svg340"
sodipodi:docname="01d.svg"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
inkscape:export-filename="01d.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs37" />
<sodipodi:namedview
id="namedview35"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="false"
inkscape:zoom="9.7"
inkscape:cx="31.340206"
inkscape:cy="50"
inkscape:window-width="1674"
inkscape:window-height="1173"
inkscape:window-x="2443"
inkscape:window-y="58"
inkscape:window-maximized="0"
inkscape:current-layer="svg340" />
<ellipse
style="fill:#ec6d4b;fill-opacity:1;stroke-width:15.5071;stroke-linecap:square;stroke-linejoin:round;paint-order:fill markers stroke"
cx="50"
cy="50"
rx="44.066483"
ry="43.296745"
id="ellipse2" />
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.1"
width="100px"
height="100px"
style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
id="svg340"
sodipodi:docname="02d.svg"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
inkscape:export-filename="02d.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs37" />
<sodipodi:namedview
id="namedview35"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="false"
inkscape:zoom="9.7"
inkscape:cx="48.659794"
inkscape:cy="50"
inkscape:window-width="1674"
inkscape:window-height="1173"
inkscape:window-x="2566"
inkscape:window-y="54"
inkscape:window-maximized="0"
inkscape:current-layer="svg340" />
<ellipse
style="fill:#ec6d4b;fill-opacity:1;stroke-width:8.71992;stroke-linecap:square;stroke-linejoin:round;paint-order:fill markers stroke"
cx="69.07093"
cy="44.12281"
rx="24.779335"
ry="24.346498"
id="ellipse2" />
<g
id="g6"
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-17.546011)"
style="fill:#f2f1f1;fill-opacity:1">
<path
fill="#f2f1f1"
d="m 50.5,30.5 c 2.052249,1.654227 1.9412,3.9664 3,6 1.578183,1.489401 6.2139,1.5439 9,3 1.373984,1.322711 1.1816,3.9086 1,6 3.2882,-0.4844 5.9548,0.5156 8,3 1.3734,4.4358 0.04,7.9358 -4,10.5 -8.6603,0.4998 -17.3269,0.6664 -26,0.5 h -4 C 26.1179,60.2958 21.9513,55.2958 25,44.5 c 2.1413,-2.8208 4.9746,-4.1541 8.5,-4 -0.4488,-7.4279 3.0512,-11.4279 10.5,-12 2.4418,-0.0177 4.6085,0.649 6.5,2 z"
id="path4"
style="fill:#f2f1f1;fill-opacity:1" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.1"
width="100px"
height="100px"
style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
id="svg340"
sodipodi:docname="03d.svg"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
inkscape:export-filename="03d.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs37" />
<sodipodi:namedview
id="namedview35"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="false"
inkscape:zoom="9.7"
inkscape:cx="47.319588"
inkscape:cy="50"
inkscape:window-width="1674"
inkscape:window-height="1173"
inkscape:window-x="2566"
inkscape:window-y="54"
inkscape:window-maximized="0"
inkscape:current-layer="svg340" />
<g
id="g6"
transform="matrix(1.8275221,0,0,1.8275221,-37.772697,-30.485543)"
style="fill:#f2f1f1;fill-opacity:1">
<path
fill="#f2f1f1"
d="m 50.5,30.5 c 2.052249,1.654227 1.9412,3.9664 3,6 1.578183,1.489401 6.2139,1.5439 9,3 1.373984,1.322711 1.1816,3.9086 1,6 3.2882,-0.4844 5.9548,0.5156 8,3 1.3734,4.4358 0.04,7.9358 -4,10.5 -8.6603,0.4998 -17.3269,0.6664 -26,0.5 h -4 C 26.1179,60.2958 21.9513,55.2958 25,44.5 c 2.1413,-2.8208 4.9746,-4.1541 8.5,-4 -0.4488,-7.4279 3.0512,-11.4279 10.5,-12 2.4418,-0.0177 4.6085,0.649 6.5,2 z"
id="path4"
style="fill:#f2f1f1;fill-opacity:1" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.1"
width="100px"
height="100px"
style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
id="svg340"
sodipodi:docname="03d.svg"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
inkscape:export-filename="03d.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs37" />
<sodipodi:namedview
id="namedview35"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="false"
inkscape:zoom="9.7"
inkscape:cx="47.319588"
inkscape:cy="50"
inkscape:window-width="1674"
inkscape:window-height="1173"
inkscape:window-x="2566"
inkscape:window-y="54"
inkscape:window-maximized="0"
inkscape:current-layer="svg340" />
<g
id="g6"
transform="matrix(1.8275221,0,0,1.8275221,-37.772697,-30.485543)"
style="fill:#f2f1f1;fill-opacity:1">
<path
fill="#f2f1f1"
d="m 50.5,30.5 c 2.052249,1.654227 1.9412,3.9664 3,6 1.578183,1.489401 6.2139,1.5439 9,3 1.373984,1.322711 1.1816,3.9086 1,6 3.2882,-0.4844 5.9548,0.5156 8,3 1.3734,4.4358 0.04,7.9358 -4,10.5 -8.6603,0.4998 -17.3269,0.6664 -26,0.5 h -4 C 26.1179,60.2958 21.9513,55.2958 25,44.5 c 2.1413,-2.8208 4.9746,-4.1541 8.5,-4 -0.4488,-7.4279 3.0512,-11.4279 10.5,-12 2.4418,-0.0177 4.6085,0.649 6.5,2 z"
id="path4"
style="fill:#f2f1f1;fill-opacity:1" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.1"
width="100px"
height="100px"
style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
id="svg340"
sodipodi:docname="04d.svg"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
inkscape:export-filename="04d.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs37" />
<sodipodi:namedview
id="namedview35"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="false"
inkscape:zoom="9.7"
inkscape:cx="54.226804"
inkscape:cy="50"
inkscape:window-width="1674"
inkscape:window-height="1173"
inkscape:window-x="2566"
inkscape:window-y="54"
inkscape:window-maximized="0"
inkscape:current-layer="svg340" />
<g
id="g850"
transform="matrix(0.83428781,0,0,0.87762366,1.0190854,10.707957)">
<g
id="g290"
transform="matrix(1.8275221,0,0,1.8275221,-20.352991,-40.943646)"
style="fill:#8c8383;fill-opacity:1">
<path
fill="#f2f1f1"
d="m 50.5,30.5 c 2.052249,1.654227 1.9412,3.9664 3,6 1.578183,1.489401 6.2139,1.5439 9,3 1.373984,1.322711 1.1816,3.9086 1,6 3.2882,-0.4844 5.9548,0.5156 8,3 1.3734,4.4358 0.04,7.9358 -4,10.5 -8.6603,0.4998 -17.3269,0.6664 -26,0.5 h -4 C 26.1179,60.2958 21.9513,55.2958 25,44.5 c 2.1413,-2.8208 4.9746,-4.1541 8.5,-4 -0.4488,-7.4279 3.0512,-11.4279 10.5,-12 2.4418,-0.0177 4.6085,0.649 6.5,2 z"
id="path288"
style="fill:#8c8383;fill-opacity:1" />
</g>
<g
id="g6"
transform="matrix(1.8275221,0,0,1.8275221,-37.772697,-30.485543)"
style="fill:#f2f1f1;fill-opacity:1">
<path
fill="#f2f1f1"
d="m 50.5,30.5 c 2.052249,1.654227 1.9412,3.9664 3,6 1.578183,1.489401 6.2139,1.5439 9,3 1.373984,1.322711 1.1816,3.9086 1,6 3.2882,-0.4844 5.9548,0.5156 8,3 1.3734,4.4358 0.04,7.9358 -4,10.5 -8.6603,0.4998 -17.3269,0.6664 -26,0.5 h -4 C 26.1179,60.2958 21.9513,55.2958 25,44.5 c 2.1413,-2.8208 4.9746,-4.1541 8.5,-4 -0.4488,-7.4279 3.0512,-11.4279 10.5,-12 2.4418,-0.0177 4.6085,0.649 6.5,2 z"
id="path4"
style="fill:#f2f1f1;fill-opacity:1" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@@ -0,0 +1,116 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.1"
width="100px"
height="100px"
style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
id="svg340"
sodipodi:docname="09d.svg"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
inkscape:export-filename="09d.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs895" />
<sodipodi:namedview
id="namedview893"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="false"
inkscape:zoom="9.7"
inkscape:cx="40.412371"
inkscape:cy="50"
inkscape:window-width="1674"
inkscape:window-height="1173"
inkscape:window-x="2520"
inkscape:window-y="178"
inkscape:window-maximized="0"
inkscape:current-layer="svg340" />
<g
id="g1097"
transform="translate(-1.1004244,-0.35495727)">
<g
id="g850"
transform="matrix(0.83428781,0,0,0.87762366,2.1195098,-1.5930028)"
style="clip-rule:evenodd;fill-rule:evenodd;image-rendering:optimizeQuality;shape-rendering:geometricPrecision;text-rendering:geometricPrecision">
<g
id="g290"
transform="matrix(1.8275221,0,0,1.8275221,-20.352991,-40.943646)"
style="fill:#8c8383;fill-opacity:1">
<path
fill="#f2f1f1"
d="m 50.5,30.5 c 2.052249,1.654227 1.9412,3.9664 3,6 1.578183,1.489401 6.2139,1.5439 9,3 1.373984,1.322711 1.1816,3.9086 1,6 3.2882,-0.4844 5.9548,0.5156 8,3 1.3734,4.4358 0.04,7.9358 -4,10.5 -8.6603,0.4998 -17.3269,0.6664 -26,0.5 h -4 C 26.1179,60.2958 21.9513,55.2958 25,44.5 c 2.1413,-2.8208 4.9746,-4.1541 8.5,-4 -0.4488,-7.4279 3.0512,-11.4279 10.5,-12 2.4418,-0.0177 4.6085,0.649 6.5,2 z"
id="path288"
style="fill:#8c8383;fill-opacity:1" />
</g>
<g
id="g6"
transform="matrix(1.8275221,0,0,1.8275221,-37.772697,-30.485543)"
style="fill:#f2f1f1;fill-opacity:1">
<path
fill="#f2f1f1"
d="m 50.5,30.5 c 2.052249,1.654227 1.9412,3.9664 3,6 1.578183,1.489401 6.2139,1.5439 9,3 1.373984,1.322711 1.1816,3.9086 1,6 3.2882,-0.4844 5.9548,0.5156 8,3 1.3734,4.4358 0.04,7.9358 -4,10.5 -8.6603,0.4998 -17.3269,0.6664 -26,0.5 h -4 C 26.1179,60.2958 21.9513,55.2958 25,44.5 c 2.1413,-2.8208 4.9746,-4.1541 8.5,-4 -0.4488,-7.4279 3.0512,-11.4279 10.5,-12 2.4418,-0.0177 4.6085,0.649 6.5,2 z"
id="path4"
style="fill:#f2f1f1;fill-opacity:1" />
</g>
</g>
<g
id="g868"
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
<path
fill="#4a4a4c"
d="m 40.332727,59.754949 c -1.3333,2.6667 -3.02894,2.408643 -2.382156,-0.172998 C 38.498371,57.549651 39.657107,57.688323 41.5,56.5 Z"
id="path866" />
</g>
<g
id="g872"
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
<path
fill="#4a4a4c"
d="m 53.5,60.5 c -0.275093,4.144916 -1.086323,5.991025 -2.088621,5.231821 C 49.111531,64.215714 51.9624,62.5514 53.5,60.5 Z"
id="path870" />
</g>
<g
id="g876"
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
<path
fill="#4a4a4c"
d="m 45.394906,62.835155 v 0 C 45.295028,64.774264 44.112,69.461504 42.5,68.5 c -1.276548,-0.758272 1.006762,-3.720805 2.894906,-5.664845 z"
id="path874" />
</g>
<g
id="g880"
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
<path
fill="#4a4a4c"
d="m 38.323024,64.01566 c -0.510774,3.779491 -1.468353,4.712106 -2.85558,5.927272 C 34.086944,69.443332 34.4528,69.0004 34.5,67.5 c 0.3457,-1.3492 1.729695,-2.377354 3.823024,-3.48434 z"
id="path878" />
</g>
<g
id="g884"
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
<path
style="opacity:0.629"
fill="#4a4a4c"
d="m 50.5,68.5 c -0.332574,3.804597 -0.243075,6.57837 -2,6 -1.287633,-0.914112 0.7702,-4.2028 2,-6 z"
id="path882" />
</g>
<g
id="g888"
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
<path
fill="#4a4a4c"
d="m 44.5,69.5 c -0.864872,3.818695 -1.946788,4.527584 -3.422663,4.213387 C 39.737799,72.940004 41.5,70.826657 44.5,69.5 Z"
id="path886" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@@ -0,0 +1,102 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.1"
width="100px"
height="100px"
style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
id="svg340"
sodipodi:docname="10d.svg"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
inkscape:export-filename="10d.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs37" />
<sodipodi:namedview
id="namedview35"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="false"
inkscape:zoom="9.7"
inkscape:cx="23.917526"
inkscape:cy="50"
inkscape:window-width="1674"
inkscape:window-height="1173"
inkscape:window-x="2650"
inkscape:window-y="50"
inkscape:window-maximized="0"
inkscape:current-layer="svg340" />
<ellipse
style="fill:#ec6d4b;fill-opacity:1;stroke-width:8.71992;stroke-linecap:square;stroke-linejoin:round;paint-order:fill markers stroke"
cx="69.07093"
cy="31.820402"
rx="24.779335"
ry="24.346498"
id="ellipse2" />
<g
id="g6"
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
<path
fill="#f2f1f1"
d="m 50.5,30.5 c 2.052249,1.654227 1.9412,3.9664 3,6 1.578183,1.489401 6.2139,1.5439 9,3 1.373984,1.322711 1.1816,3.9086 1,6 3.2882,-0.4844 5.9548,0.5156 8,3 1.3734,4.4358 0.04,7.9358 -4,10.5 -8.6603,0.4998 -17.3269,0.6664 -26,0.5 h -4 C 26.1179,60.2958 21.9513,55.2958 25,44.5 c 2.1413,-2.8208 4.9746,-4.1541 8.5,-4 -0.4488,-7.4279 3.0512,-11.4279 10.5,-12 2.4418,-0.0177 4.6085,0.649 6.5,2 z"
id="path4" />
</g>
<g
id="g10"
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
<path
fill="#4a4a4c"
d="m 40.332727,59.754949 c -1.3333,2.6667 -3.02894,2.408643 -2.382156,-0.172998 C 38.498371,57.549651 39.657107,57.688323 41.5,56.5 Z"
id="path8" />
</g>
<g
id="g14"
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
<path
fill="#4a4a4c"
d="m 53.5,60.5 c -0.275093,4.144916 -1.086323,5.991025 -2.088621,5.231821 C 49.111531,64.215714 51.9624,62.5514 53.5,60.5 Z"
id="path12" />
</g>
<g
id="g18"
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
<path
fill="#4a4a4c"
d="m 45.394906,62.835155 v 0 C 45.295028,64.774264 44.112,69.461504 42.5,68.5 c -1.276548,-0.758272 1.006762,-3.720805 2.894906,-5.664845 z"
id="path16" />
</g>
<g
id="g22"
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
<path
fill="#4a4a4c"
d="m 38.323024,64.01566 c -0.510774,3.779491 -1.468353,4.712106 -2.85558,5.927272 C 34.086944,69.443332 34.4528,69.0004 34.5,67.5 c 0.3457,-1.3492 1.729695,-2.377354 3.823024,-3.48434 z"
id="path20" />
</g>
<g
id="g26"
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
<path
style="opacity:0.629"
fill="#4a4a4c"
d="m 50.5,68.5 c -0.332574,3.804597 -0.243075,6.57837 -2,6 -1.287633,-0.914112 0.7702,-4.2028 2,-6 z"
id="path24" />
</g>
<g
id="g30"
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
<path
fill="#4a4a4c"
d="m 44.5,69.5 c -0.864872,3.818695 -1.946788,4.527584 -3.422663,4.213387 C 39.737799,72.940004 41.5,70.826657 44.5,69.5 Z"
id="path28" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.1"
width="100px"
height="100px"
style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
id="svg340"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<g transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
<ellipse
style="fill:#ec6d4b;fill-opacity:0.945098;stroke-width:5.31402;stroke-linecap:square;stroke-linejoin:round;paint-order:fill markers stroke"
cx="62.378757"
cy="37.581673"
rx="15.100805"
ry="14.837029" />
<g>
<path
fill="#f2f1f1"
d="m 50.5,30.5 c 2.052249,1.654227 1.9412,3.9664 3,6 1.578183,1.489401 6.2139,1.5439 9,3 1.373984,1.322711 1.1816,3.9086 1,6 3.2882,-0.4844 5.9548,0.5156 8,3 1.3734,4.4358 0.04,7.9358 -4,10.5 -8.6603,0.4998 -17.3269,0.6664 -26,0.5 h -4 C 26.1179,60.2958 21.9513,55.2958 25,44.5 c 2.1413,-2.8208 4.9746,-4.1541 8.5,-4 -0.4488,-7.4279 3.0512,-11.4279 10.5,-12 2.4418,-0.0177 4.6085,0.649 6.5,2 z" />
</g>
<g>
<path
fill="#4a4a4c"
d="m 40.332727,59.754949 c -1.3333,2.6667 -3.02894,2.408643 -2.382156,-0.172998 C 38.498371,57.549651 39.657107,57.688323 41.5,56.5 Z" />
</g>
<g>
<path fill="#4a4a4c"
d="m 53.5,60.5 c -0.275093,4.144916 -1.086323,5.991025 -2.088621,5.231821 C 49.111531,64.215714 51.9624,62.5514 53.5,60.5 Z" />
</g>
<g>
<path
fill="#4a4a4c"
d="m 45.394906,62.835155 v 0 C 45.295028,64.774264 44.112,69.461504 42.5,68.5 c -1.276548,-0.758272 1.006762,-3.720805 2.894906,-5.664845 z" />
</g>
<g>
<path
fill="#4a4a4c"
d="m 38.323024,64.01566 c -0.510774,3.779491 -1.468353,4.712106 -2.85558,5.927272 C 34.086944,69.443332 34.4528,69.0004 34.5,67.5 c 0.3457,-1.3492 1.729695,-2.377354 3.823024,-3.48434 z" />
</g>
<g>
<path
style="opacity:0.629"
fill="#4a4a4c"
d="m 50.5,68.5 c -0.332574,3.804597 -0.243075,6.57837 -2,6 -1.287633,-0.914112 0.7702,-4.2028 2,-6 z" />
</g>
<g>
<path fill="#4a4a4c"
d="m 44.5,69.5 c -0.864872,3.818695 -1.946788,4.527584 -3.422663,4.213387 C 39.737799,72.940004 41.5,70.826657 44.5,69.5 Z" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@@ -0,0 +1,8 @@
import React, {FC} from "react";
const Img: FC<{src: string, alt: string, width: string}> = ({src, alt, width, ...props}) => {
return <img src={'/' + src} alt={alt} width={width} {...props} />
}
export default Img

View File

@@ -1,4 +1,4 @@
const weekDays = ['lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi', 'dimanche']
const weekDays = ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi']
interface Date {
getWeekDay(): string,
@@ -10,6 +10,5 @@ Date.prototype.toSQLDate = function (): string {
}
Date.prototype.getWeekDay = function () {
const dayIndex = this.getDay() === 0 ? 6 : this.getDay() - 1
return weekDays[dayIndex]
return weekDays[this.getDay()]
}

View File

@@ -1,8 +1,9 @@
import React, {FC, useEffect, useState} from "react"
import PageLayout from "../components/PageLayout"
import useAxiosTools from "../hooks/AxiosTools";
import {WeatherValue} from "../types";
import useAxiosTools from "../hooks/AxiosTools"
import {WeatherValue} from "../types"
import Card from "../components/Card"
import Img from "../components/Img"
const Weather = () => {
@@ -75,8 +76,10 @@ const Weather = () => {
</div>
<div className="flex items-stretch">
<div>
{currentWeather && <img src={`http://openweathermap.org/img/wn/${currentWeather?.weather[0].icon}@2x.png`}
alt={currentWeather?.weather[0].main} width="120px" />}
{/*{currentWeather && <img src={`http://openweathermap.org/img/wn/${currentWeather?.weather[0].icon}@2x.png`}*/}
{/* alt={currentWeather?.weather[0].main} width="120px" />}*/}
{currentWeather && <Img src={`images/icons/${currentWeather?.weather[0].icon}.svg`}
alt={currentWeather?.weather[0].main} width="120px" />}
</div>
<div className="flex gap-1 flex-col">
<span className="text-4xl pt-5">{currentWeather?.main.temp_max.toFixed()} <span className="text-2xl">°C</span></span>
@@ -146,9 +149,9 @@ const WeatherCard: FC<{date: string, values: WeatherValue[]}> = ({date, values=
<span className="text-secondary dark:text-secondary-ligth">{weatherState?.description}</span>
</div>
<div className="flex items-center -mt-1.5">
<img src={`http://openweathermap.org/img/wn/${weatherState?.icon}@2x.png`}
className=""
alt={weatherState?.main + ' ' + weatherState?.icon} width="80px" />
<Img src={`images/icons/${weatherState?.icon}.svg`}
alt={weatherState?.main + ' ' + weatherState?.icon}
width="80px" />
</div>
<div className="flex gap-1 flex-col">