Merge branch 'bitpopart' into 'main'
ZapPayRequestForm: switch to bitpopart icons See merge request soapbox-pub/soapbox!3112
|
@ -1,8 +1,8 @@
|
|||
# Custom icons
|
||||
|
||||
- blue-chest.png - Generated by Midjourney for Soapbox. CC0
|
||||
- coin-chest.png - Generated by Midjourney for Soapbox. CC0
|
||||
- coin.png - Generated by Midjourney for Soapbox. CC0
|
||||
- money-bag.png - Generated by Midjourney for Soapbox. CC0
|
||||
- pile-coin.png - Generated by Midjourney for Soapbox. CC0
|
||||
- verified.svg - Created by Alex Gleason. CC0
|
||||
- chest.svg - Created by bitpopart.com. Dedicated to the public domain.
|
||||
- coin-chest.svg - Created by bitpopart.com. Dedicated to the public domain.
|
||||
- coin.svg - Created by bitpopart.com. Dedicated to the public domain.
|
||||
- money-bag.png - Created by bitpopart.com. Dedicated to the public domain.
|
||||
- pile-coin.svg - Created by bitpopart.com. Dedicated to the public domain.
|
||||
- verified.svg - Created by Alex Gleason. CC0.
|
||||
|
|
Before Width: | Height: | Size: 275 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 72 KiB |
Before Width: | Height: | Size: 330 KiB After Width: | Height: | Size: 25 KiB |
|
@ -0,0 +1,743 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
version="1.1"
|
||||
viewBox="0 0 115 115"
|
||||
id="svg108"
|
||||
width="115"
|
||||
height="115"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#">
|
||||
<defs
|
||||
id="defs1">
|
||||
<style
|
||||
id="style1">
|
||||
.cls-1, .cls-2 {
|
||||
fill: #f8cc16;
|
||||
}
|
||||
|
||||
.cls-1, .cls-2, .cls-3 {
|
||||
stroke-width: .6px;
|
||||
}
|
||||
|
||||
.cls-1, .cls-2, .cls-3, .cls-4, .cls-5, .cls-6, .cls-7 {
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
|
||||
.cls-1, .cls-3 {
|
||||
stroke: #fff;
|
||||
}
|
||||
|
||||
.cls-8 {
|
||||
fill: #4c3084;
|
||||
}
|
||||
|
||||
.cls-8, .cls-9, .cls-5, .cls-6 {
|
||||
fill-rule: evenodd;
|
||||
}
|
||||
|
||||
.cls-2 {
|
||||
stroke: #f8cc16;
|
||||
}
|
||||
|
||||
.cls-9 {
|
||||
fill: #603e98;
|
||||
stroke: #231f20;
|
||||
stroke-miterlimit: 10;
|
||||
stroke-width: .9px;
|
||||
}
|
||||
|
||||
.cls-3 {
|
||||
fill: #fff;
|
||||
}
|
||||
|
||||
.cls-4, .cls-5 {
|
||||
fill: none;
|
||||
}
|
||||
|
||||
.cls-4, .cls-5, .cls-6 {
|
||||
stroke-width: .9px;
|
||||
}
|
||||
|
||||
.cls-4, .cls-5, .cls-6, .cls-7 {
|
||||
stroke: #010101;
|
||||
}
|
||||
|
||||
.cls-10 {
|
||||
fill: #6b4fa0;
|
||||
}
|
||||
|
||||
.cls-6 {
|
||||
fill: #603f98;
|
||||
}
|
||||
|
||||
.cls-7 {
|
||||
fill: #f69320;
|
||||
stroke-width: 3.2px;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<!-- Generator: Adobe Illustrator 28.6.0, SVG Export Plug-In . SVG Version: 1.2.0 Build 709) -->
|
||||
<g
|
||||
id="g108"
|
||||
transform="translate(-210.9,-211.9)">
|
||||
<g
|
||||
id="Layer_1"
|
||||
transform="translate(18.4,19.874994)">
|
||||
<g
|
||||
id="g107">
|
||||
<g
|
||||
id="g32">
|
||||
<path
|
||||
class="cls-6"
|
||||
d="m 276.7,266.7 v 9 0 c -0.7,6.1 -12.4,11 -26.7,11 -14.3,0 -26.8,-5.2 -26.8,-11.6 v -8.7 c 17.5,0 35.6,0.3 53.6,0.3 z"
|
||||
id="path1" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 227.4,281.4 c -0.6,-0.4 -1.1,-0.8 -1.5,-1.2 v -13.9 c 0.5,0 1,0 1.5,0 v 15 z"
|
||||
id="path2" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 231.6,283.6 c -0.5,-0.2 -1,-0.4 -1.5,-0.7 v -16.5 c 0.5,0 1,0 1.5,0 z"
|
||||
id="path3" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 235.9,285 c -0.5,-0.1 -1,-0.3 -1.5,-0.4 v -18.1 c 0.5,0 1,0 1.5,0 v 18.6 z"
|
||||
id="path4" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 240.1,285.9 c -0.5,0 -1,-0.2 -1.5,-0.3 0,-0.2 0,-0.4 0,-0.6 v -18.6 h 1.5 V 285 c 0,0.3 0,0.6 0,0.9 z"
|
||||
id="path5" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 244.3,286.5 c -0.5,0 -1,0 -1.4,-0.1 0,-0.4 0,-0.8 0,-1.3 v -18.6 h 1.5 v 18.6 c 0,0.5 0,1 0,1.4 z"
|
||||
id="path6" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 248.5,286.7 c -0.5,0 -0.9,0 -1.4,0 0,-0.5 0,-1 0,-1.6 v -18.5 h 1.5 v 18.5 c 0,0.6 0,1.2 0,1.7 z"
|
||||
id="path7" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 252.7,286.7 c -0.5,0 -0.9,0 -1.4,0 0,-0.5 0,-1.1 0,-1.7 v -18.5 h 1.5 V 285 c 0,0.6 0,1.1 0,1.6 z"
|
||||
id="path8" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 257,286.3 c -0.5,0 -0.9,0.1 -1.4,0.2 0,-0.4 0,-0.9 0,-1.4 v -18.5 h 1.5 v 18.5 c 0,0.4 0,0.9 0,1.3 z"
|
||||
id="path9" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 261.2,285.6 c -0.5,0 -1,0.2 -1.5,0.3 0,-0.3 0,-0.6 0,-0.9 v -18.4 c 0.5,0 1,0 1.5,0 V 285 c 0,0.2 0,0.4 0,0.6 z"
|
||||
id="path10" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 265.5,284.6 c -0.5,0.2 -1,0.3 -1.5,0.4 v -18.3 c 0.5,0 1,0 1.5,0 z"
|
||||
id="path11" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 269.7,282.9 c -0.5,0.2 -1,0.5 -1.5,0.7 v -16.9 c 0.5,0 1,0 1.5,0 z"
|
||||
id="path12" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 274,280.2 c -0.5,0.4 -1,0.8 -1.5,1.2 v -14.7 c 0.5,0 1,0 1.5,0 z"
|
||||
id="path13" />
|
||||
<path
|
||||
class="cls-9"
|
||||
d="m 249.9,278.3 c 14.7,0 26.8,-5.2 26.8,-11.6 0,-6.4 -12,-11.6 -26.8,-11.6 -14.8,0 -26.8,5.2 -26.8,11.6 0,6.4 12,11.6 26.8,11.6 z"
|
||||
id="path14" />
|
||||
<ellipse
|
||||
class="cls-10"
|
||||
cx="249.89999"
|
||||
cy="266.70001"
|
||||
rx="24.4"
|
||||
ry="9.1999998"
|
||||
id="ellipse14" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 249.9,258.7 c 12.9,0 23.5,3.8 24.4,8.6 0,-0.2 0,-0.4 0,-0.6 0,-5.1 -10.9,-9.2 -24.4,-9.2 -13.5,0 -24.4,4.1 -24.4,9.2 0,5.1 0,0.4 0,0.6 0.9,-4.8 11.4,-8.6 24.4,-8.6 z"
|
||||
id="path15" />
|
||||
<g
|
||||
id="g21">
|
||||
<path
|
||||
class="cls-3"
|
||||
d="m 244.8,264.3 h 11.5 c 0,-0.5 0,-0.8 0,-1.2 -3.8,0 -7.7,0 -11.5,0.1 z m 0.1,5.6 c 3.8,0 7.7,0 11.5,-0.1 v -1.1 c -3.9,0 -7.7,0 -11.5,0.1 z m 11.4,-3.9 c -3.8,0 -7.7,0 -11.5,0.1 v 1.1 c 3.9,0 7.7,0 11.5,-0.1 z m -5.1,-4.4 v -1.8 c -0.6,0 -1.1,0 -1.6,0 v 1.8 c 0.6,0 1.1,0 1.6,0 z m 0.4,11.8 v -1.8 c -0.6,0 -1.1,0 -1.6,0 v 1.8 c 0.6,0 1.1,0 1.6,0 z"
|
||||
id="path16" />
|
||||
<path
|
||||
class="cls-3"
|
||||
d="m 244.8,264.3 v -1.1 c 3.8,0 7.6,0 11.5,-0.1 v 1.1 c -3.8,0 -7.6,0 -11.5,0.1 z"
|
||||
id="path17" />
|
||||
<path
|
||||
class="cls-3"
|
||||
d="m 244.9,269.9 v -1.1 c 3.8,0 7.6,0 11.5,-0.1 v 1.1 c -3.8,0 -7.6,0 -11.5,0.1 z"
|
||||
id="path18" />
|
||||
<path
|
||||
class="cls-3"
|
||||
d="m 256.3,266 v 1.1 c -3.8,0 -7.6,0 -11.5,0.1 v -1.1 c 3.8,0 7.6,0 11.5,-0.1 z"
|
||||
id="path19" />
|
||||
<path
|
||||
class="cls-3"
|
||||
d="m 251.2,261.6 h -1.6 c 0,-0.6 0,-1.2 0,-1.8 h 1.6 c 0,0.6 0,1.2 0,1.8 z"
|
||||
id="path20" />
|
||||
<path
|
||||
class="cls-3"
|
||||
d="M 251.6,273.4 H 250 c 0,-0.6 0,-1.2 0,-1.8 h 1.6 c 0,0.6 0,1.2 0,1.8 z"
|
||||
id="path21" />
|
||||
</g>
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="227.5"
|
||||
y1="273.29999"
|
||||
x2="227.5"
|
||||
y2="281.39999"
|
||||
id="line21" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="231.60001"
|
||||
y1="275.39999"
|
||||
x2="231.60001"
|
||||
y2="283.60001"
|
||||
id="line22" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="235.89999"
|
||||
y1="276.89999"
|
||||
x2="235.89999"
|
||||
y2="285"
|
||||
id="line23" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="240.10001"
|
||||
y1="277.5"
|
||||
x2="240.10001"
|
||||
y2="286"
|
||||
id="line24" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="244.3"
|
||||
y1="278.39999"
|
||||
x2="244.3"
|
||||
y2="286.5"
|
||||
id="line25" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="248.5"
|
||||
y1="278.70001"
|
||||
x2="248.5"
|
||||
y2="286.70001"
|
||||
id="line26" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="252.89999"
|
||||
y1="278.60001"
|
||||
x2="252.89999"
|
||||
y2="286.70001"
|
||||
id="line27" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="257.20001"
|
||||
y1="278.10001"
|
||||
x2="257.20001"
|
||||
y2="286.20001"
|
||||
id="line28" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="261.20001"
|
||||
y1="277.5"
|
||||
x2="261.20001"
|
||||
y2="285.60001"
|
||||
id="line29" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="265.39999"
|
||||
y1="276.29999"
|
||||
x2="265.39999"
|
||||
y2="284.60001"
|
||||
id="line30" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="269.70001"
|
||||
y1="274.79999"
|
||||
x2="269.70001"
|
||||
y2="282.89999"
|
||||
id="line31" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="273.89999"
|
||||
y1="271.79999"
|
||||
x2="273.89999"
|
||||
y2="280.20001"
|
||||
id="line32" />
|
||||
</g>
|
||||
<g
|
||||
id="g63">
|
||||
<path
|
||||
class="cls-6"
|
||||
d="m 281.1,256.2 v 9 0 c -0.7,6.1 -12.4,11 -26.7,11 -14.3,0 -26.8,-5.2 -26.8,-11.6 v -8.7 c 17.5,0 35.6,0.3 53.6,0.3 z"
|
||||
id="path32" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 231.9,271 c -0.6,-0.4 -1.1,-0.8 -1.5,-1.2 v -13.9 c 0.5,0 1,0 1.5,0 v 15 z"
|
||||
id="path33" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 236.1,273.1 c -0.5,-0.2 -1,-0.4 -1.5,-0.7 v -16.5 c 0.5,0 1,0 1.5,0 z"
|
||||
id="path34" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 240.4,274.5 c -0.5,-0.1 -1,-0.3 -1.5,-0.4 V 256 c 0.5,0 1,0 1.5,0 v 18.6 z"
|
||||
id="path35" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 244.6,275.5 c -0.5,0 -1,-0.2 -1.5,-0.3 0,-0.2 0,-0.4 0,-0.6 V 256 h 1.5 v 18.6 c 0,0.3 0,0.6 0,0.9 z"
|
||||
id="path36" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 248.8,276 c -0.5,0 -1,0 -1.4,-0.1 0,-0.4 0,-0.8 0,-1.3 V 256 h 1.5 v 18.6 c 0,0.5 0,1 0,1.4 z"
|
||||
id="path37" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 253,276.2 c -0.5,0 -0.9,0 -1.4,0 0,-0.5 0,-1 0,-1.6 v -18.5 h 1.5 v 18.5 c 0,0.6 0,1.2 0,1.7 z"
|
||||
id="path38" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 257.2,276.2 c -0.5,0 -0.9,0 -1.4,0 0,-0.5 0,-1.1 0,-1.7 V 256 h 1.5 v 18.5 c 0,0.6 0,1.1 0,1.6 z"
|
||||
id="path39" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 261.5,275.8 c -0.5,0 -0.9,0.1 -1.4,0.2 0,-0.4 0,-0.9 0,-1.4 v -18.5 h 1.5 v 18.5 c 0,0.4 0,0.9 0,1.3 z"
|
||||
id="path40" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 265.7,275.2 c -0.5,0 -1,0.2 -1.5,0.3 0,-0.3 0,-0.6 0,-0.9 v -18.4 c 0.5,0 1,0 1.5,0 v 18.4 c 0,0.2 0,0.4 0,0.6 z"
|
||||
id="path41" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 270,274.1 c -0.5,0.2 -1,0.3 -1.5,0.4 v -18.3 c 0.5,0 1,0 1.5,0 z"
|
||||
id="path42" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 274.2,272.5 c -0.5,0.2 -1,0.5 -1.5,0.7 v -16.9 c 0.5,0 1,0 1.5,0 z"
|
||||
id="path43" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 278.4,269.8 c -0.5,0.4 -1,0.8 -1.5,1.2 v -14.7 c 0.5,0 1,0 1.5,0 z"
|
||||
id="path44" />
|
||||
<path
|
||||
class="cls-9"
|
||||
d="m 254.4,267.8 c 14.7,0 26.8,-5.2 26.8,-11.6 0,-6.4 -12,-11.6 -26.8,-11.6 -14.8,0 -26.8,5.2 -26.8,11.6 0,6.4 12,11.6 26.8,11.6 z"
|
||||
id="path45" />
|
||||
<ellipse
|
||||
class="cls-10"
|
||||
cx="254.39999"
|
||||
cy="256.20001"
|
||||
rx="24.4"
|
||||
ry="9.1999998"
|
||||
id="ellipse45" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 254.4,248.3 c 12.9,0 23.5,3.8 24.4,8.6 0,-0.2 0,-0.4 0,-0.6 0,-5.1 -10.9,-9.2 -24.4,-9.2 -13.5,0 -24.4,4.1 -24.4,9.2 0,5.1 0,0.4 0,0.6 0.9,-4.8 11.4,-8.6 24.4,-8.6 z"
|
||||
id="path46" />
|
||||
<g
|
||||
id="g52">
|
||||
<path
|
||||
class="cls-3"
|
||||
d="m 249.3,253.9 c 3.8,0 7.7,0 11.5,-0.1 v -1.1 c -3.9,0 -7.7,0 -11.5,0.1 z m 0.1,5.6 c 3.8,0 7.7,0 11.5,-0.1 v -1.1 c -3.9,0 -7.7,0 -11.5,0.1 z m 11.4,-4 c -3.8,0 -7.7,0 -11.5,0.1 v 1.1 c 3.9,0 7.7,0 11.5,-0.1 z m -5.1,-4.4 v -1.8 c -0.6,0 -1.1,0 -1.6,0 v 1.8 c 0.6,0 1.1,0 1.6,0 z m 0.4,11.9 v -1.8 c -0.6,0 -1.1,0 -1.6,0 v 1.8 c 0.6,0 1.1,0 1.6,0 z"
|
||||
id="path47" />
|
||||
<path
|
||||
class="cls-3"
|
||||
d="m 249.3,253.9 v -1.1 c 3.8,0 7.6,0 11.5,-0.1 v 1.1 c -3.8,0 -7.6,0 -11.5,0.1 z"
|
||||
id="path48" />
|
||||
<path
|
||||
class="cls-3"
|
||||
d="m 249.4,259.5 v -1.1 c 3.8,0 7.6,0 11.5,-0.1 v 1.1 c -3.8,0 -7.6,0 -11.5,0.1 z"
|
||||
id="path49" />
|
||||
<path
|
||||
class="cls-3"
|
||||
d="m 260.8,255.5 v 1.1 c -3.8,0 -7.6,0 -11.5,0.1 v -1.1 c 3.8,0 7.6,0 11.5,-0.1 z"
|
||||
id="path50" />
|
||||
<path
|
||||
class="cls-3"
|
||||
d="m 255.7,251.1 h -1.6 c 0,-0.6 0,-1.2 0,-1.8 h 1.6 c 0,0.6 0,1.2 0,1.8 z"
|
||||
id="path51" />
|
||||
<path
|
||||
class="cls-3"
|
||||
d="m 256.1,263 h -1.6 c 0,-0.6 0,-1.2 0,-1.8 h 1.6 c 0,0.6 0,1.2 0,1.8 z"
|
||||
id="path52" />
|
||||
</g>
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="232"
|
||||
y1="262.89999"
|
||||
x2="232"
|
||||
y2="271"
|
||||
id="line52" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="236.10001"
|
||||
y1="265"
|
||||
x2="236.10001"
|
||||
y2="273.10001"
|
||||
id="line53" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="240.39999"
|
||||
y1="266.39999"
|
||||
x2="240.39999"
|
||||
y2="274.5"
|
||||
id="line54" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="244.5"
|
||||
y1="267"
|
||||
x2="244.5"
|
||||
y2="275.5"
|
||||
id="line55" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="248.8"
|
||||
y1="267.89999"
|
||||
x2="248.8"
|
||||
y2="276"
|
||||
id="line56" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="253"
|
||||
y1="268.20001"
|
||||
x2="253"
|
||||
y2="276.20001"
|
||||
id="line57" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="257.39999"
|
||||
y1="268.10001"
|
||||
x2="257.39999"
|
||||
y2="276.20001"
|
||||
id="line58" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="261.60001"
|
||||
y1="267.70001"
|
||||
x2="261.60001"
|
||||
y2="275.70001"
|
||||
id="line59" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="265.70001"
|
||||
y1="267.10001"
|
||||
x2="265.70001"
|
||||
y2="275.20001"
|
||||
id="line60" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="269.89999"
|
||||
y1="265.79999"
|
||||
x2="269.89999"
|
||||
y2="274.10001"
|
||||
id="line61" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="274.10001"
|
||||
y1="264.39999"
|
||||
x2="274.10001"
|
||||
y2="272.5"
|
||||
id="line62" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="278.39999"
|
||||
y1="261.29999"
|
||||
x2="278.39999"
|
||||
y2="269.79999"
|
||||
id="line63" />
|
||||
</g>
|
||||
<g
|
||||
id="g75">
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="250.10001"
|
||||
y1="226.3"
|
||||
x2="250.10001"
|
||||
y2="213.5"
|
||||
id="line64" />
|
||||
<g
|
||||
id="g69">
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="258"
|
||||
y1="227.2"
|
||||
x2="259.39999"
|
||||
y2="219.3"
|
||||
id="line65" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="266.89999"
|
||||
y1="229.10001"
|
||||
x2="271.29999"
|
||||
y2="218.89999"
|
||||
id="line66" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="275.10001"
|
||||
y1="232.8"
|
||||
x2="278.60001"
|
||||
y2="229.3"
|
||||
id="line67" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="279.70001"
|
||||
y1="238.8"
|
||||
x2="287.5"
|
||||
y2="235.7"
|
||||
id="line68" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="282.29999"
|
||||
y1="245.7"
|
||||
x2="287.10001"
|
||||
y2="245.7"
|
||||
id="line69" />
|
||||
</g>
|
||||
<g
|
||||
id="g74">
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="242"
|
||||
y1="227.2"
|
||||
x2="240.60001"
|
||||
y2="219.3"
|
||||
id="line70" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="233.10001"
|
||||
y1="229.10001"
|
||||
x2="228.60001"
|
||||
y2="218.89999"
|
||||
id="line71" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="224.8"
|
||||
y1="232.8"
|
||||
x2="221.3"
|
||||
y2="229.3"
|
||||
id="line72" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="220.2"
|
||||
y1="238.8"
|
||||
x2="212.5"
|
||||
y2="235.7"
|
||||
id="line73" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="217.7"
|
||||
y1="245.7"
|
||||
x2="212.8"
|
||||
y2="245.7"
|
||||
id="line74" />
|
||||
</g>
|
||||
</g>
|
||||
<path
|
||||
class="cls-5"
|
||||
d="m 276.6,244.9 v 7.8 0 c -0.7,6.1 -12.4,11 -26.7,11 -14.3,0 -26.8,-5.2 -26.8,-11.6 v -7.3"
|
||||
id="path75" />
|
||||
<path
|
||||
class="cls-6"
|
||||
d="m 276.6,243.7 v 9 0 c -0.7,6.1 -12.4,11 -26.7,11 -14.3,0 -26.8,-5.2 -26.8,-11.6 v -8.7 c 17.5,0 35.6,0.3 53.6,0.3 z"
|
||||
id="path76" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 227.3,258.4 c -0.6,-0.4 -1.1,-0.8 -1.5,-1.2 v -13.9 c 0.5,0 1,0 1.5,0 v 15 z"
|
||||
id="path77" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 231.6,260.6 c -0.5,-0.2 -1,-0.4 -1.5,-0.7 v -16.5 c 0.5,0 1,0 1.5,0 z"
|
||||
id="path78" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 235.8,262 c -0.5,-0.1 -1,-0.3 -1.5,-0.4 v -18.1 c 0.5,0 1,0 1.5,0 v 18.6 z"
|
||||
id="path79" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 240,262.9 c -0.5,0 -1,-0.2 -1.5,-0.3 0,-0.2 0,-0.4 0,-0.6 V 243.4 H 240 V 262 c 0,0.3 0,0.6 0,0.9 z"
|
||||
id="path80" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 244.2,263.4 c -0.5,0 -1,0 -1.4,-0.1 0,-0.4 0,-0.8 0,-1.3 v -18.6 h 1.5 V 262 c 0,0.5 0,1 0,1.4 z"
|
||||
id="path81" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 248.4,263.7 c -0.5,0 -0.9,0 -1.4,0 0,-0.5 0,-1 0,-1.6 v -18.5 h 1.5 v 18.5 c 0,0.6 0,1.2 0,1.7 z"
|
||||
id="path82" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 252.6,263.6 c -0.5,0 -0.9,0 -1.4,0 0,-0.5 0,-1.1 0,-1.7 v -18.5 h 1.5 v 18.5 c 0,0.6 0,1.1 0,1.6 z"
|
||||
id="path83" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 256.9,263.3 c -0.5,0 -0.9,0.1 -1.4,0.2 0,-0.4 0,-0.9 0,-1.4 v -18.5 h 1.5 v 18.5 c 0,0.4 0,0.9 0,1.3 z"
|
||||
id="path84" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 261.2,262.6 c -0.5,0 -1,0.2 -1.5,0.3 0,-0.3 0,-0.6 0,-0.9 v -18.4 c 0.5,0 1,0 1.5,0 V 262 c 0,0.2 0,0.4 0,0.6 z"
|
||||
id="path85" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 265.4,261.5 c -0.5,0.2 -1,0.3 -1.5,0.4 v -18.3 c 0.5,0 1,0 1.5,0 z"
|
||||
id="path86" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 269.6,259.9 c -0.5,0.2 -1,0.5 -1.5,0.7 v -16.9 c 0.5,0 1,0 1.5,0 z"
|
||||
id="path87" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 273.9,257.2 c -0.5,0.4 -1,0.8 -1.5,1.2 v -14.7 c 0.5,0 1,0 1.5,0 z"
|
||||
id="path88" />
|
||||
<path
|
||||
class="cls-9"
|
||||
d="m 249.8,255.3 c 14.7,0 26.8,-5.2 26.8,-11.6 0,-6.4 -12,-11.6 -26.8,-11.6 -14.8,0 -26.8,5.2 -26.8,11.6 0,6.4 12,11.6 26.8,11.6 z"
|
||||
id="path89" />
|
||||
<ellipse
|
||||
class="cls-10"
|
||||
cx="249.8"
|
||||
cy="243.7"
|
||||
rx="24.4"
|
||||
ry="9.1999998"
|
||||
id="ellipse89" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 249.8,235.7 c 12.9,0 23.5,3.8 24.4,8.6 0,-0.2 0,-0.4 0,-0.6 0,-5.1 -10.9,-9.2 -24.4,-9.2 -13.5,0 -24.4,4.1 -24.4,9.2 0,5.1 0,0.4 0,0.6 0.9,-4.8 11.4,-8.6 24.4,-8.6 z"
|
||||
id="path90" />
|
||||
<g
|
||||
id="g96">
|
||||
<path
|
||||
class="cls-1"
|
||||
d="m 244.7,241.3 c 3.8,0 7.7,0 11.5,-0.1 v -1.1 c -3.9,0 -7.7,0 -11.5,0.1 z m 0.2,5.6 c 3.8,0 7.7,0 11.5,-0.1 v -1.1 c -3.9,0 -7.7,0 -11.5,0.1 z m 11.3,-4 c -3.8,0 -7.7,0 -11.5,0.1 v 1.1 c 3.9,0 7.7,0 11.5,-0.1 z m -5,-4.3 v -1.8 c -0.6,0 -1.1,0 -1.6,0 v 1.8 c 0.6,0 1.1,0 1.6,0 z m 0.3,11.8 v -1.8 c -0.6,0 -1.1,0 -1.6,0 v 1.8 c 0.6,0 1.1,0 1.6,0 z"
|
||||
id="path91" />
|
||||
<path
|
||||
class="cls-2"
|
||||
d="m 244.7,241.3 v -1.1 c 3.8,0 7.6,0 11.5,-0.1 v 1.1 c -3.8,0 -7.6,0 -11.5,0.1 z"
|
||||
id="path92" />
|
||||
<path
|
||||
class="cls-2"
|
||||
d="m 244.9,246.9 v -1.1 c 3.8,0 7.6,0 11.5,-0.1 v 1.1 c -3.8,0 -7.6,0 -11.5,0.1 z"
|
||||
id="path93" />
|
||||
<path
|
||||
class="cls-2"
|
||||
d="m 256.2,242.9 v 1.1 c -3.8,0 -7.6,0 -11.5,0.1 V 243 c 3.8,0 7.6,0 11.5,-0.1 z"
|
||||
id="path94" />
|
||||
<path
|
||||
class="cls-2"
|
||||
d="m 251.2,238.6 h -1.6 c 0,-0.6 0,-1.2 0,-1.8 h 1.6 c 0,0.6 0,1.2 0,1.8 z"
|
||||
id="path95" />
|
||||
<path
|
||||
class="cls-2"
|
||||
d="m 251.5,250.4 h -1.6 c 0,-0.6 0,-1.2 0,-1.8 h 1.6 c 0,0.6 0,1.2 0,1.8 z"
|
||||
id="path96" />
|
||||
</g>
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="227.39999"
|
||||
y1="250.3"
|
||||
x2="227.39999"
|
||||
y2="258.39999"
|
||||
id="line96" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="231.60001"
|
||||
y1="252.39999"
|
||||
x2="231.60001"
|
||||
y2="260.60001"
|
||||
id="line97" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="235.8"
|
||||
y1="253.89999"
|
||||
x2="235.8"
|
||||
y2="262"
|
||||
id="line98" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="240"
|
||||
y1="254.5"
|
||||
x2="240"
|
||||
y2="263"
|
||||
id="line99" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="244.2"
|
||||
y1="255.39999"
|
||||
x2="244.2"
|
||||
y2="263.39999"
|
||||
id="line100" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="248.39999"
|
||||
y1="255.60001"
|
||||
x2="248.39999"
|
||||
y2="263.70001"
|
||||
id="line101" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="252.8"
|
||||
y1="255.60001"
|
||||
x2="252.8"
|
||||
y2="263.60001"
|
||||
id="line102" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="257.10001"
|
||||
y1="255.10001"
|
||||
x2="257.10001"
|
||||
y2="263.10001"
|
||||
id="line103" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="261.20001"
|
||||
y1="254.5"
|
||||
x2="261.20001"
|
||||
y2="262.60001"
|
||||
id="line104" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="265.29999"
|
||||
y1="253.3"
|
||||
x2="265.29999"
|
||||
y2="261.5"
|
||||
id="line105" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="269.60001"
|
||||
y1="251.8"
|
||||
x2="269.60001"
|
||||
y2="259.89999"
|
||||
id="line106" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="273.79999"
|
||||
y1="248.7"
|
||||
x2="273.79999"
|
||||
y2="257.20001"
|
||||
id="line107" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<metadata
|
||||
id="metadata1">
|
||||
<rdf:RDF>
|
||||
<cc:License
|
||||
rdf:about="http://creativecommons.org/publicdomain/zero/1.0/">
|
||||
<cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#Reproduction" />
|
||||
<cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#Distribution" />
|
||||
<cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
|
||||
</cc:License>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<cc:license
|
||||
rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
</svg>
|
After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 378 KiB After Width: | Height: | Size: 19 KiB |
|
@ -0,0 +1,342 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
version="1.1"
|
||||
viewBox="0 0 115 115"
|
||||
id="svg34"
|
||||
width="115"
|
||||
height="115"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#">
|
||||
<defs
|
||||
id="defs1">
|
||||
<style
|
||||
id="style1">
|
||||
.cls-1 {
|
||||
fill: #603e98;
|
||||
}
|
||||
|
||||
.cls-2 {
|
||||
fill: #010101;
|
||||
}
|
||||
|
||||
.cls-3 {
|
||||
fill: #f8cc16;
|
||||
stroke: #f8cc16;
|
||||
stroke-width: .8px;
|
||||
}
|
||||
|
||||
.cls-3, .cls-4 {
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
|
||||
.cls-5 {
|
||||
fill: #6b4fa0;
|
||||
}
|
||||
|
||||
.cls-6 {
|
||||
fill: #4c3084;
|
||||
}
|
||||
|
||||
.cls-7 {
|
||||
stroke-width: .7px;
|
||||
}
|
||||
|
||||
.cls-7, .cls-8 {
|
||||
fill: none;
|
||||
}
|
||||
|
||||
.cls-7, .cls-8, .cls-9 {
|
||||
stroke-miterlimit: 10;
|
||||
}
|
||||
|
||||
.cls-7, .cls-8, .cls-9, .cls-4 {
|
||||
stroke: #010101;
|
||||
}
|
||||
|
||||
.cls-8, .cls-9 {
|
||||
stroke-width: 1.2px;
|
||||
}
|
||||
|
||||
.cls-9 {
|
||||
fill: #603f98;
|
||||
}
|
||||
|
||||
.cls-4 {
|
||||
fill: #f69320;
|
||||
stroke-width: 3.2px;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<!-- Generator: Adobe Illustrator 28.6.0, SVG Export Plug-In . SVG Version: 1.2.0 Build 709) -->
|
||||
<g
|
||||
id="g34"
|
||||
transform="translate(-192.45,-190.83367)">
|
||||
<g
|
||||
id="Layer_1">
|
||||
<ellipse
|
||||
class="cls-9"
|
||||
cx="246.3"
|
||||
cy="259.79999"
|
||||
rx="20.4"
|
||||
ry="21"
|
||||
transform="rotate(-31.4,246.34343,259.8355)"
|
||||
id="ellipse1" />
|
||||
<g
|
||||
id="g2">
|
||||
<ellipse
|
||||
class="cls-1"
|
||||
cx="248.8"
|
||||
cy="258.29999"
|
||||
rx="17.5"
|
||||
ry="21"
|
||||
transform="rotate(-31.4,248.72223,258.20093)"
|
||||
id="ellipse2" />
|
||||
<path
|
||||
class="cls-2"
|
||||
d="m 260.2,276.9 c -8.6,5.3 -20.8,1.2 -27,-9.1 -6.3,-10.3 -4.3,-22.9 4.3,-28.2 8.6,-5.3 20.8,-1.2 27,9.1 6.3,10.3 4.3,22.9 -4.3,28.2 z m -22,-36.3 c -7.8,4.8 -9.4,16.9 -3.6,26.4 5.8,9.5 17.3,13.7 25.2,8.9 7.8,-4.8 9.1,-16.8 3.3,-26.3 -5.8,-9.5 -17,-13.8 -24.8,-9 z"
|
||||
id="path2" />
|
||||
</g>
|
||||
<polygon
|
||||
class="cls-6"
|
||||
points="232.1,266.1 232.9,267.4 228.8,270 228,268.7 "
|
||||
id="polygon2" />
|
||||
<g
|
||||
id="g3">
|
||||
<ellipse
|
||||
class="cls-5"
|
||||
cx="248.8"
|
||||
cy="258.29999"
|
||||
rx="13.6"
|
||||
ry="16.299999"
|
||||
transform="rotate(-31.4,248.72223,258.20093)"
|
||||
id="ellipse3" />
|
||||
<path
|
||||
class="cls-6"
|
||||
d="m 257.5,272.1 c -6.6,4 -15.8,1.4 -20.6,-6.5 -4.8,-7.9 -3.2,-17.2 3.4,-21.2 6.6,-4 15.3,-1.1 20.1,6.8 4.8,7.9 3.7,16.9 -2.9,20.9 z m -17,-27.4 c -6.2,3.8 -7.6,13 -3,20.5 4.6,7.5 13.4,10.5 19.6,6.7 6.2,-3.8 7.6,-13 3,-20.5 -4.6,-7.5 -13.4,-10.5 -19.6,-6.7 z"
|
||||
id="path3" />
|
||||
</g>
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="227.8"
|
||||
y1="268.89999"
|
||||
x2="232.39999"
|
||||
y2="266"
|
||||
id="line3" />
|
||||
<polygon
|
||||
class="cls-6"
|
||||
points="233.8,269 234.7,270.2 230.8,272.8 229.9,271.6 "
|
||||
id="polygon3" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="230"
|
||||
y1="271.70001"
|
||||
x2="234.60001"
|
||||
y2="268.79999"
|
||||
id="line4" />
|
||||
<polygon
|
||||
class="cls-6"
|
||||
points="236.1,271.8 237.1,272.9 233.2,275.3 232,274.3 "
|
||||
id="polygon4" />
|
||||
<polygon
|
||||
class="cls-6"
|
||||
points="238.8,274.4 240.1,275.4 236.3,277.6 234.9,276.7 "
|
||||
id="polygon5" />
|
||||
<polygon
|
||||
class="cls-6"
|
||||
points="241.9,276.5 243.4,277.3 240.3,279.5 238.4,278.9 "
|
||||
id="polygon6" />
|
||||
<polygon
|
||||
class="cls-6"
|
||||
points="246.1,278.4 247.8,278.8 245.3,280.7 243.2,280.3 "
|
||||
id="polygon7" />
|
||||
<polygon
|
||||
class="cls-6"
|
||||
points="230.8,263 231.3,264.4 227.3,266.9 226.8,265.4 "
|
||||
id="polygon8" />
|
||||
<polygon
|
||||
class="cls-6"
|
||||
points="229.8,259.4 230.2,260.8 226.4,263 226.2,261.5 "
|
||||
id="polygon9" />
|
||||
<polygon
|
||||
class="cls-6"
|
||||
points="229.4,255.8 229.5,257.1 226.1,259 226.1,257.6 "
|
||||
id="polygon10" />
|
||||
<polygon
|
||||
class="cls-6"
|
||||
points="229.8,251.3 229.6,252.5 227,253.8 227.4,252.5 "
|
||||
id="polygon11" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="232.5"
|
||||
y1="274.29999"
|
||||
x2="237.2"
|
||||
y2="271.5"
|
||||
id="line11" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="235.3"
|
||||
y1="276.70001"
|
||||
x2="240"
|
||||
y2="273.89999"
|
||||
id="line12" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="238.5"
|
||||
y1="279"
|
||||
x2="243.10001"
|
||||
y2="276.20001"
|
||||
id="line13" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="226.39999"
|
||||
y1="265.5"
|
||||
x2="231.10001"
|
||||
y2="262.70001"
|
||||
id="line14" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="226.10001"
|
||||
y1="261.60001"
|
||||
x2="230.8"
|
||||
y2="258.70001"
|
||||
id="line15" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="226"
|
||||
y1="257.5"
|
||||
x2="230.7"
|
||||
y2="254.60001"
|
||||
id="line16" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="226.8"
|
||||
y1="252.8"
|
||||
x2="230.89999"
|
||||
y2="250.3"
|
||||
id="line17" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="243.3"
|
||||
y1="280.20001"
|
||||
x2="247.5"
|
||||
y2="277.70001"
|
||||
id="line18" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="242.89999"
|
||||
y1="232.39999"
|
||||
x2="242.3"
|
||||
y2="223.89999"
|
||||
id="line19" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="252.89999"
|
||||
y1="233.5"
|
||||
x2="257.10001"
|
||||
y2="217"
|
||||
id="line20" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="261.5"
|
||||
y1="237.2"
|
||||
x2="264.89999"
|
||||
y2="230.2"
|
||||
id="line21" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="268.20001"
|
||||
y1="242.5"
|
||||
x2="279.20001"
|
||||
y2="235.8"
|
||||
id="line22" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="272.10001"
|
||||
y1="250.3"
|
||||
x2="277.60001"
|
||||
y2="248.7"
|
||||
id="line23" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="272.89999"
|
||||
y1="258.5"
|
||||
x2="282"
|
||||
y2="261.20001"
|
||||
id="line24" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="234.39999"
|
||||
y1="235.39999"
|
||||
x2="228"
|
||||
y2="225.60001"
|
||||
id="line25" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="227.2"
|
||||
y1="240.7"
|
||||
x2="221.39999"
|
||||
y2="237"
|
||||
id="line26" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="222.2"
|
||||
y1="248.89999"
|
||||
x2="217.89999"
|
||||
y2="248"
|
||||
id="line27" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 257.3,277.7 c -9.6,5.9 -22.3,2.6 -28.4,-7.3 -6,-9.9 -3.1,-22.7 6.5,-28.5"
|
||||
id="path27" />
|
||||
<g
|
||||
id="g33">
|
||||
<path
|
||||
class="cls-3"
|
||||
d="m 241.8,258.1 10.2,-5.5 -0.8,-1.3 -10.2,5.5 z m 4.2,7.1 c 3.4,-1.8 6.8,-3.6 10.2,-5.5 l -0.8,-1.4 c -3.4,1.8 -6.8,3.6 -10.2,5.5 z m 7.3,-10.3 c -3.4,1.8 -6.8,3.6 -10.2,5.5 l 0.8,1.3 10.2,-5.5 z m -7.7,-3.4 -1.4,-2.3 -1.4,0.8 1.4,2.3 z m 8.8,15.2 -1.4,-2.3 -1.4,0.8 1.4,2.3 z"
|
||||
id="path28" />
|
||||
<path
|
||||
class="cls-3"
|
||||
d="m 241.8,258.1 -0.8,-1.3 10.2,-5.5 0.8,1.3 z"
|
||||
id="path29" />
|
||||
<path
|
||||
class="cls-3"
|
||||
d="m 246,265.2 -0.8,-1.4 c 3.4,-1.8 6.8,-3.6 10.2,-5.5 l 0.8,1.4 c -3.4,1.8 -6.8,3.6 -10.2,5.5 z"
|
||||
id="path30" />
|
||||
<path
|
||||
class="cls-3"
|
||||
d="m 253.3,254.9 0.8,1.3 -10.2,5.5 -0.8,-1.3 c 3.4,-1.8 6.8,-3.6 10.2,-5.5 z"
|
||||
id="path31" />
|
||||
<path
|
||||
class="cls-3"
|
||||
d="m 245.6,251.5 -1.4,0.8 -1.4,-2.3 1.4,-0.8 z"
|
||||
id="path32" />
|
||||
<path
|
||||
class="cls-3"
|
||||
d="m 254.4,266.7 -1.4,0.8 -1.4,-2.3 1.4,-0.8 z"
|
||||
id="path33" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<metadata
|
||||
id="metadata1">
|
||||
<rdf:RDF>
|
||||
<cc:License
|
||||
rdf:about="http://creativecommons.org/publicdomain/zero/1.0/">
|
||||
<cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#Reproduction" />
|
||||
<cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#Distribution" />
|
||||
<cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
|
||||
</cc:License>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<cc:license
|
||||
rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
</svg>
|
After Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 202 KiB After Width: | Height: | Size: 27 KiB |
|
@ -0,0 +1,358 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
version="1.1"
|
||||
viewBox="0 0 115 115"
|
||||
id="svg35"
|
||||
width="115"
|
||||
height="115"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#">
|
||||
<defs
|
||||
id="defs1">
|
||||
<style
|
||||
id="style1">
|
||||
.cls-1 {
|
||||
fill: #603e98;
|
||||
}
|
||||
|
||||
.cls-2 {
|
||||
fill: #010101;
|
||||
}
|
||||
|
||||
.cls-3 {
|
||||
stroke: #f8cc16;
|
||||
stroke-width: .6px;
|
||||
}
|
||||
|
||||
.cls-3, .cls-4, .cls-5 {
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
|
||||
.cls-3, .cls-6 {
|
||||
fill: #f8cc16;
|
||||
}
|
||||
|
||||
.cls-4 {
|
||||
stroke: #231f20;
|
||||
stroke-width: 3.5px;
|
||||
}
|
||||
|
||||
.cls-4, .cls-7, .cls-8 {
|
||||
fill: none;
|
||||
}
|
||||
|
||||
.cls-5 {
|
||||
fill: #f8cc0f;
|
||||
stroke-width: 8px;
|
||||
}
|
||||
|
||||
.cls-5, .cls-7, .cls-8, .cls-9 {
|
||||
stroke: #010101;
|
||||
}
|
||||
|
||||
.cls-10 {
|
||||
fill: #6b4fa0;
|
||||
}
|
||||
|
||||
.cls-11 {
|
||||
fill: #4c3084;
|
||||
}
|
||||
|
||||
.cls-7 {
|
||||
stroke-width: .6px;
|
||||
}
|
||||
|
||||
.cls-7, .cls-8, .cls-9 {
|
||||
stroke-miterlimit: 10;
|
||||
}
|
||||
|
||||
.cls-8, .cls-9 {
|
||||
stroke-width: 1px;
|
||||
}
|
||||
|
||||
.cls-9 {
|
||||
fill: #603f98;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<!-- Generator: Adobe Illustrator 28.6.0, SVG Export Plug-In . SVG Version: 1.2.0 Build 709) -->
|
||||
<g
|
||||
id="g35"
|
||||
transform="translate(-192.55343,-190.95006)">
|
||||
<g
|
||||
id="Layer_1">
|
||||
<path
|
||||
class="cls-5"
|
||||
d="m 231.9,207.2 c 0.8,-0.2 2,-0.2 2.6,0.1 l 5.9,3.1 c 0.9,0.5 2,0.4 2.9,-0.1 0.9,-0.6 1.3,-1.6 1.3,-2.6 v -0.9 c -0.1,-0.6 0.2,-1.1 0.4,-1.3 0.2,-0.2 0.6,-0.5 1.2,-0.5 h 7.8 c 0.6,0 1.1,0.3 1.2,0.5 0.2,0.2 0.5,0.6 0.4,1.3 v 1 c -0.2,1 0.3,2 1.2,2.6 0.9,0.6 2,0.6 2.9,0.1 l 6.1,-3.2 c 0.6,-0.3 1.7,-0.4 2.4,-0.2 L 261.3,224 H 238.9 L 232,207.2 Z m 55.5,80.6 c -3,4 -7.7,6.2 -12.6,6.2 h -49.5 c -5,0 -9.6,-2.3 -12.6,-6.2 -3,-3.9 -4.1,-9 -2.8,-13.8 4.6,-17.3 14.1,-32.6 27.7,-44.4 h 24.9 c 13.6,11.8 23.1,27.1 27.7,44.4 1.3,4.8 0.3,9.8 -2.8,13.8 z"
|
||||
id="path1" />
|
||||
<path
|
||||
class="cls-6"
|
||||
d="m 231.9,207.2 c 0.8,-0.2 2,-0.2 2.6,0.1 l 5.9,3.1 c 0.9,0.5 2,0.4 2.9,-0.1 0.9,-0.6 1.3,-1.6 1.3,-2.6 v -0.9 c -0.1,-0.6 0.2,-1.1 0.4,-1.3 0.2,-0.2 0.6,-0.5 1.2,-0.5 h 7.8 c 0.6,0 1.1,0.3 1.2,0.5 0.2,0.2 0.5,0.6 0.4,1.3 v 1 c -0.2,1 0.3,2 1.2,2.6 0.9,0.6 2,0.6 2.9,0.1 l 6.1,-3.2 c 0.6,-0.3 1.7,-0.4 2.4,-0.2 L 261.3,224 H 238.9 L 232,207.2 Z m 55.5,80.6 c -3,4 -7.7,6.2 -12.6,6.2 h -49.5 c -5,0 -9.6,-2.3 -12.6,-6.2 -3,-3.9 -4.1,-9 -2.8,-13.8 4.6,-17.3 14.1,-32.6 27.7,-44.4 h 24.9 c 13.6,11.8 23.1,27.1 27.7,44.4 1.3,4.8 0.3,9.8 -2.8,13.8 z"
|
||||
id="path2" />
|
||||
<ellipse
|
||||
class="cls-9"
|
||||
cx="248.2"
|
||||
cy="270.29999"
|
||||
rx="16.9"
|
||||
ry="17.4"
|
||||
transform="rotate(-31.4,248.19044,270.3353)"
|
||||
id="ellipse2" />
|
||||
<g
|
||||
id="g3">
|
||||
<ellipse
|
||||
class="cls-1"
|
||||
cx="250.3"
|
||||
cy="269.10001"
|
||||
rx="14.5"
|
||||
ry="17.4"
|
||||
transform="rotate(-31.4,250.29137,269.00649)"
|
||||
id="ellipse3" />
|
||||
<path
|
||||
class="cls-2"
|
||||
d="m 259.7,284.5 c -7.2,4.4 -17.2,1 -22.4,-7.5 -5.2,-8.5 -3.6,-19 3.6,-23.3 7.2,-4.4 17.2,-1 22.4,7.5 5.2,8.5 3.6,19 -3.6,23.3 z m -18.2,-30.1 c -6.5,4 -7.8,14 -3,21.8 4.8,7.8 14.3,11.3 20.8,7.4 6.5,-3.9 7.5,-13.9 2.7,-21.8 -4.8,-7.8 -14.1,-11.4 -20.6,-7.5 z"
|
||||
id="path3" />
|
||||
</g>
|
||||
<polygon
|
||||
class="cls-11"
|
||||
points="236.5,275.5 237.1,276.6 233.7,278.8 233.1,277.7 "
|
||||
id="polygon3" />
|
||||
<g
|
||||
id="g4">
|
||||
<ellipse
|
||||
class="cls-10"
|
||||
cx="250.3"
|
||||
cy="269.10001"
|
||||
rx="11.3"
|
||||
ry="13.5"
|
||||
transform="rotate(-31.4,250.29137,269.00649)"
|
||||
id="ellipse4" />
|
||||
<path
|
||||
class="cls-11"
|
||||
d="m 257.5,280.5 c -5.5,3.3 -13.1,1.1 -17.1,-5.4 -4,-6.5 -2.6,-14.2 2.8,-17.6 5.5,-3.3 12.7,-0.9 16.7,5.6 4,6.5 3.1,14 -2.4,17.3 z m -14.1,-22.7 c -5.2,3.2 -6.3,10.8 -2.5,17 3.8,6.2 11.1,8.7 16.3,5.6 5.2,-3.2 6.3,-10.8 2.5,-17 -3.8,-6.2 -11.1,-8.7 -16.3,-5.6 z"
|
||||
id="path4" />
|
||||
</g>
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="232.89999"
|
||||
y1="277.79999"
|
||||
x2="236.7"
|
||||
y2="275.5"
|
||||
id="line4" />
|
||||
<polygon
|
||||
class="cls-11"
|
||||
points="237.9,278 238.6,278.9 235.4,281.1 234.6,280.1 "
|
||||
id="polygon4" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="234.7"
|
||||
y1="280.20001"
|
||||
x2="238.5"
|
||||
y2="277.79999"
|
||||
id="line5" />
|
||||
<polygon
|
||||
class="cls-11"
|
||||
points="239.7,280.3 240.6,281.2 237.4,283.2 236.4,282.3 "
|
||||
id="polygon5" />
|
||||
<polygon
|
||||
class="cls-11"
|
||||
points="242,282.5 243.1,283.2 239.9,285 238.7,284.3 "
|
||||
id="polygon6" />
|
||||
<polygon
|
||||
class="cls-11"
|
||||
points="244.6,284.2 245.8,284.8 243.2,286.6 241.6,286.1 "
|
||||
id="polygon7" />
|
||||
<polygon
|
||||
class="cls-11"
|
||||
points="248.1,285.7 249.4,286.1 247.4,287.7 245.7,287.3 "
|
||||
id="polygon8" />
|
||||
<polygon
|
||||
class="cls-11"
|
||||
points="235.4,273 235.8,274.1 232.5,276.2 232,275 "
|
||||
id="polygon9" />
|
||||
<polygon
|
||||
class="cls-11"
|
||||
points="234.6,270 234.8,271.2 231.8,273 231.5,271.8 "
|
||||
id="polygon10" />
|
||||
<polygon
|
||||
class="cls-11"
|
||||
points="234.2,267 234.3,268.1 231.5,269.6 231.5,268.5 "
|
||||
id="polygon11" />
|
||||
<polygon
|
||||
class="cls-11"
|
||||
points="234.5,263.3 234.4,264.3 232.3,265.4 232.6,264.3 "
|
||||
id="polygon12" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="236.8"
|
||||
y1="282.29999"
|
||||
x2="240.7"
|
||||
y2="280"
|
||||
id="line12" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="239.10001"
|
||||
y1="284.39999"
|
||||
x2="243"
|
||||
y2="282"
|
||||
id="line13" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="241.7"
|
||||
y1="286.20001"
|
||||
x2="245.5"
|
||||
y2="283.89999"
|
||||
id="line14" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="231.7"
|
||||
y1="275.10001"
|
||||
x2="235.60001"
|
||||
y2="272.70001"
|
||||
id="line15" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="231.5"
|
||||
y1="271.79999"
|
||||
x2="235.3"
|
||||
y2="269.39999"
|
||||
id="line16" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="231.39999"
|
||||
y1="268.39999"
|
||||
x2="235.3"
|
||||
y2="266"
|
||||
id="line17" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="232.10001"
|
||||
y1="264.60001"
|
||||
x2="235.5"
|
||||
y2="262.5"
|
||||
id="line18" />
|
||||
<line
|
||||
class="cls-7"
|
||||
x1="245.7"
|
||||
y1="287.20001"
|
||||
x2="249.2"
|
||||
y2="285.10001"
|
||||
id="line19" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="245.39999"
|
||||
y1="247.7"
|
||||
x2="244.89999"
|
||||
y2="240.60001"
|
||||
id="line20" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="253.60001"
|
||||
y1="248.5"
|
||||
x2="257.20001"
|
||||
y2="234.89999"
|
||||
id="line21" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="260.79999"
|
||||
y1="251.60001"
|
||||
x2="263.60001"
|
||||
y2="245.8"
|
||||
id="line22" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="266.39999"
|
||||
y1="256"
|
||||
x2="275.39999"
|
||||
y2="250.39999"
|
||||
id="line23" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="269.5"
|
||||
y1="262.39999"
|
||||
x2="274.10001"
|
||||
y2="261.20001"
|
||||
id="line24" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="270.20001"
|
||||
y1="269.20001"
|
||||
x2="277.79999"
|
||||
y2="271.5"
|
||||
id="line25" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="238.39999"
|
||||
y1="250.10001"
|
||||
x2="233.10001"
|
||||
y2="242"
|
||||
id="line26" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="232.39999"
|
||||
y1="254.5"
|
||||
x2="227.60001"
|
||||
y2="251.5"
|
||||
id="line27" />
|
||||
<line
|
||||
class="cls-4"
|
||||
x1="228.3"
|
||||
y1="261.29999"
|
||||
x2="224.7"
|
||||
y2="260.60001"
|
||||
id="line28" />
|
||||
<path
|
||||
class="cls-8"
|
||||
d="m 257.3,285.2 c -8,4.9 -18.5,2.2 -23.5,-6 -5,-8.2 -2.6,-18.8 5.4,-23.6"
|
||||
id="path28" />
|
||||
<g
|
||||
id="g34">
|
||||
<path
|
||||
class="cls-3"
|
||||
d="m 244.5,268.9 c 2.8,-1.5 5.6,-3 8.4,-4.5 l -0.7,-1.1 c -2.8,1.5 -5.6,3 -8.4,4.5 0.2,0.4 0.4,0.7 0.7,1.1 z m 3.4,5.9 c 2.8,-1.5 5.6,-3 8.4,-4.5 l -0.7,-1.1 c -2.8,1.5 -5.6,3 -8.4,4.5 z m 6.1,-8.5 -8.4,4.5 0.6,1.1 c 2.8,-1.5 5.6,-3 8.4,-4.5 z m -6.4,-2.8 c -0.4,-0.6 -0.8,-1.3 -1.1,-1.9 l -1.2,0.6 1.1,1.9 c 0.4,-0.2 0.8,-0.4 1.2,-0.6 z m 7.3,12.5 c -0.4,-0.7 -0.8,-1.3 -1.1,-1.9 l -1.2,0.6 1.1,1.9 z"
|
||||
id="path29" />
|
||||
<path
|
||||
class="cls-3"
|
||||
d="m 244.5,268.9 c -0.2,-0.4 -0.4,-0.7 -0.7,-1.1 2.8,-1.5 5.6,-3 8.4,-4.5 l 0.7,1.1 c -2.8,1.5 -5.6,3 -8.4,4.5 z"
|
||||
id="path30" />
|
||||
<path
|
||||
class="cls-3"
|
||||
d="m 247.9,274.8 -0.7,-1.1 c 2.8,-1.5 5.6,-3 8.4,-4.5 l 0.7,1.1 c -2.8,1.5 -5.6,3 -8.4,4.5 z"
|
||||
id="path31" />
|
||||
<path
|
||||
class="cls-3"
|
||||
d="m 254,266.3 0.6,1.1 c -2.8,1.5 -5.6,3 -8.4,4.5 l -0.6,-1.1 z"
|
||||
id="path32" />
|
||||
<path
|
||||
class="cls-3"
|
||||
d="m 247.6,263.5 c -0.4,0.2 -0.8,0.4 -1.2,0.6 l -1.1,-1.9 1.2,-0.6 c 0.4,0.6 0.8,1.3 1.1,1.9 z"
|
||||
id="path33" />
|
||||
<path
|
||||
class="cls-3"
|
||||
d="m 254.9,276 -1.2,0.6 -1.1,-1.9 1.2,-0.6 c 0.4,0.6 0.7,1.3 1.1,1.9 z"
|
||||
id="path34" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<metadata
|
||||
id="metadata1">
|
||||
<rdf:RDF>
|
||||
<cc:License
|
||||
rdf:about="http://creativecommons.org/publicdomain/zero/1.0/">
|
||||
<cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#Reproduction" />
|
||||
<cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#Distribution" />
|
||||
<cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
|
||||
</cc:License>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<cc:license
|
||||
rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
</svg>
|
After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 309 KiB After Width: | Height: | Size: 111 KiB |
After Width: | Height: | Size: 142 KiB |
|
@ -1,8 +1,7 @@
|
|||
import React from 'react';
|
||||
|
||||
import { Modal } from 'soapbox/components/ui';
|
||||
|
||||
import ZapPayRequestForm from '../../../zap/components/zap-pay-request-form';
|
||||
import ZapPayRequestForm from 'soapbox/features/zap/components/zap-pay-request-form';
|
||||
|
||||
import type { Status as StatusEntity, Account as AccountEntity } from 'soapbox/types/entities';
|
||||
|
|
@ -28,7 +28,9 @@ const ZapsModal: React.FC<IZapsModal> = ({ onClose, statusId }) => {
|
|||
const accounts = useMemo((): ImmutableList<IAccountWithZaps> | undefined => {
|
||||
if (!zaps) return;
|
||||
|
||||
return zaps.map(({ account, amount, comment }) =>({ id: account, amount, comment })).flatten() as ImmutableList<IAccountWithZaps>;
|
||||
return zaps
|
||||
.map(({ account, amount, comment }) => ({ id: account, amount, comment }))
|
||||
.flatten() as ImmutableList<IAccountWithZaps>;
|
||||
}, [zaps]);
|
||||
|
||||
const fetchData = () => {
|
||||
|
@ -45,7 +47,6 @@ const ZapsModal: React.FC<IZapsModal> = ({ onClose, statusId }) => {
|
|||
|
||||
const handleLoadMore = () => {
|
||||
if (next) {
|
||||
console.log('next, zaps modal: ', next);
|
||||
dispatch(expandZaps(statusId, next!));
|
||||
}
|
||||
};
|
||||
|
|
|
@ -176,6 +176,6 @@ export const Relays = lazy(() => import('soapbox/features/admin/relays'));
|
|||
export const Rules = lazy(() => import('soapbox/features/admin/rules'));
|
||||
export const EditRuleModal = lazy(() => import('soapbox/features/ui/components/modals/edit-rule-modal'));
|
||||
export const AdminNostrRelays = lazy(() => import('soapbox/features/admin/nostr-relays'));
|
||||
export const ZapPayRequestModal = lazy(() => import('soapbox/features/ui/components/modals/zap-pay-request'));
|
||||
export const ZapPayRequestModal = lazy(() => import('soapbox/features/ui/components/modals/zap-pay-request-modal'));
|
||||
export const ZapInvoiceModal = lazy(() => import('soapbox/features/ui/components/modals/zap-invoice'));
|
||||
export const ZapsModal = lazy(() => import('soapbox/features/ui/components/modals/zaps-modal'));
|
||||
|
|
|
@ -48,21 +48,18 @@ const ZapButton = React.forwardRef<HTMLButtonElement, IButton>((props, ref): JSX
|
|||
onClick={onClick}
|
||||
ref={ref}
|
||||
type={type}
|
||||
data-testid='button'
|
||||
>
|
||||
<div className={clsx(className, { 'flex flex-col items-center w-14 !box-border place-content-center border font-medium p-2 rounded-xl focus:outline-none focus:ring-2 focus:ring-offset-2 appearance-none transition-all sm:p-4 sm:w-20': true,
|
||||
className={clsx(className, '!box-border flex flex-1 appearance-none flex-col place-content-center items-center rounded-xl border p-2 font-medium transition-all focus:outline-none focus:ring-2 focus:ring-offset-2 sm:w-20', {
|
||||
'select-none disabled:opacity-75 disabled:cursor-default': disabled,
|
||||
'bg-primary-500 hover:bg-primary-400 dark:hover:bg-primary-600 border-transparent focus:bg-primary-500 text-gray-100 focus:ring-primary-300': selected,
|
||||
'border border-solid bg-transparent border-gray-400 dark:border-gray-800 hover:border-primary-300 dark:hover:border-primary-700 focus:border-primary-500 text-gray-900 dark:text-gray-100 focus:ring-primary-500': !selected })}
|
||||
>
|
||||
<img className='w-16' src={icon} alt='stack coin' />
|
||||
<span className='text-base sm:text-2xl'>
|
||||
<img className='w-full flex-1' src={icon} alt='' />
|
||||
|
||||
<span className='justify-self-end text-base sm:text-2xl'>
|
||||
<p>
|
||||
{shortNumberFormat(amount)}
|
||||
</p>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
</button>
|
||||
);
|
||||
|
||||
|
|
|
@ -1,23 +1,31 @@
|
|||
import closeIcon from '@tabler/icons/outline/x.svg';
|
||||
import React, { useState } from 'react';
|
||||
import { FormattedMessage, defineMessages, useIntl } from 'react-intl';
|
||||
|
||||
import { zap } from 'soapbox/actions/interactions';
|
||||
import { openModal, closeModal } from 'soapbox/actions/modals';
|
||||
import chestIcon from 'soapbox/assets/icons/blue-chest.png';
|
||||
import chestIcon from 'soapbox/assets/icons/chest.png';
|
||||
import coinStack from 'soapbox/assets/icons/coin-stack.png';
|
||||
import coinIcon from 'soapbox/assets/icons/coin.png';
|
||||
import moneyBag from 'soapbox/assets/icons/money-bag.png';
|
||||
import pileCoin from 'soapbox/assets/icons/pile-coin.png';
|
||||
import DisplayNameInline from 'soapbox/components/display-name-inline';
|
||||
import { Stack, Button, Input, Avatar } from 'soapbox/components/ui';
|
||||
import { Stack, Button, Input, Avatar, Text } from 'soapbox/components/ui';
|
||||
import IconButton from 'soapbox/components/ui/icon-button/icon-button';
|
||||
import { useAppDispatch } from 'soapbox/hooks';
|
||||
import { shortNumberFormat } from 'soapbox/utils/numbers';
|
||||
|
||||
import ZapButton from './zap-button/zap-button';
|
||||
|
||||
import type { Account as AccountEntity, Status as StatusEntity } from 'soapbox/types/entities';
|
||||
|
||||
const closeIcon = require('@tabler/icons/outline/x.svg');
|
||||
const ZAP_PRESETS = [
|
||||
{ amount: 50, icon: coinIcon },
|
||||
{ amount: 200, icon: coinStack },
|
||||
{ amount: 1_000, icon: pileCoin },
|
||||
{ amount: 3_000, icon: moneyBag },
|
||||
{ amount: 5_000, icon: chestIcon },
|
||||
];
|
||||
|
||||
interface IZapPayRequestForm {
|
||||
status?: StatusEntity;
|
||||
|
@ -26,7 +34,6 @@ interface IZapPayRequestForm {
|
|||
}
|
||||
|
||||
const messages = defineMessages({
|
||||
zap_button_rounded: { id: 'zap.button.text.rounded', defaultMessage: 'Zap {amount}K sats' },
|
||||
zap_button: { id: 'zap.button.text.raw', defaultMessage: 'Zap {amount} sats' },
|
||||
zap_commentPlaceholder: { id: 'zap.comment_input.placeholder', defaultMessage: 'Optional comment' },
|
||||
});
|
||||
|
@ -37,9 +44,6 @@ const ZapPayRequestForm = ({ account, status, onClose }: IZapPayRequestForm) =>
|
|||
const [zapComment, setZapComment] = useState('');
|
||||
// amount in millisatoshi
|
||||
const [zapAmount, setZapAmount] = useState(50);
|
||||
const ZAP_AMOUNTS = [50, 200, 1_000, 3_000, 5_000];
|
||||
const ZAP_ICONS = [coinIcon, coinStack, pileCoin, moneyBag, chestIcon];
|
||||
|
||||
|
||||
const handleSubmit = async (e?: React.FormEvent<Element>) => {
|
||||
e?.preventDefault();
|
||||
|
@ -65,35 +69,44 @@ const ZapPayRequestForm = ({ account, status, onClose }: IZapPayRequestForm) =>
|
|||
}
|
||||
};
|
||||
|
||||
const renderZapButtonText = () => {
|
||||
if (zapAmount >= 1000) {
|
||||
return intl.formatMessage(messages.zap_button_rounded, { amount: Math.round((zapAmount / 1000) * 10) / 10 });
|
||||
}
|
||||
return intl.formatMessage(messages.zap_button, { amount: zapAmount });
|
||||
};
|
||||
|
||||
return (
|
||||
<Stack space={4} element='form' onSubmit={handleSubmit} justifyContent='center' alignItems='center' className='relative'>
|
||||
<Stack space={2} justifyContent='center' alignItems='center' >
|
||||
<IconButton src={closeIcon} onClick={onClose} className='absolute -right-[1%] -top-[2%] text-gray-500 hover:text-gray-700 rtl:rotate-180 dark:text-gray-300 dark:hover:text-gray-200' />
|
||||
<span className='display-name__account text-base'>
|
||||
<IconButton
|
||||
src={closeIcon}
|
||||
onClick={onClose}
|
||||
className='absolute right-[-1%] top-[-2%] text-gray-500 hover:text-gray-700 rtl:rotate-180 dark:text-gray-300 dark:hover:text-gray-200'
|
||||
/>
|
||||
|
||||
<Text weight='semibold'>
|
||||
<FormattedMessage id='zap.send_to' defaultMessage='Send zaps to {target}' values={{ target: account.display_name }} />
|
||||
</span>
|
||||
</Text>
|
||||
<Avatar src={account.avatar} size={50} />
|
||||
<DisplayNameInline account={account} />
|
||||
</Stack>
|
||||
|
||||
<div className='flex justify-center '>
|
||||
{ZAP_AMOUNTS.map((amount, i) => <ZapButton onClick={() => setZapAmount(amount)} className='m-0.5 sm:m-1' selected={zapAmount === amount} icon={ZAP_ICONS[i]} amount={amount} />)}
|
||||
<div className='flex w-full justify-center'>
|
||||
{ZAP_PRESETS.map(({ amount, icon }) => (
|
||||
<ZapButton
|
||||
onClick={() => setZapAmount(amount)}
|
||||
className='m-0.5 sm:m-1'
|
||||
selected={zapAmount === amount}
|
||||
icon={icon}
|
||||
amount={amount}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
|
||||
<Stack space={2}>
|
||||
<div className='relative flex items-end justify-center gap-4'>
|
||||
<Input
|
||||
type='text' onChange={handleCustomAmount} value={zapAmount}
|
||||
className='box-shadow:none max-w-20 rounded-none border-0 border-b-4 p-0 text-center !text-2xl font-bold !ring-0 sm:max-w-28 sm:p-0.5 sm:!text-4xl dark:bg-transparent'
|
||||
className='max-w-20 rounded-none border-0 border-b-4 p-0 text-center !text-2xl font-bold !ring-0 sm:max-w-28 sm:p-0.5 sm:!text-4xl dark:bg-transparent'
|
||||
/>
|
||||
<p className='absolute -right-10 font-bold sm:-right-12 sm:text-xl'>sats</p>
|
||||
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}
|
||||
<p className='absolute -right-10 font-bold sm:-right-12 sm:text-xl'>
|
||||
sats
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</Stack>
|
||||
|
@ -101,7 +114,16 @@ const ZapPayRequestForm = ({ account, status, onClose }: IZapPayRequestForm) =>
|
|||
<div className='w-full'>
|
||||
<Input onChange={e => setZapComment(e.target.value)} type='text' placeholder={intl.formatMessage(messages.zap_commentPlaceholder)} />
|
||||
</div>
|
||||
<Button className='m-auto w-auto' type='submit' theme='primary' icon={require('@tabler/icons/outline/bolt.svg')} text={renderZapButtonText()} disabled={zapAmount < 1 ? true : false} />
|
||||
|
||||
<Button
|
||||
className='m-auto w-auto'
|
||||
type='submit'
|
||||
theme='primary'
|
||||
icon={require('@tabler/icons/outline/bolt.svg')}
|
||||
disabled={zapAmount < 1 ? true : false}
|
||||
>
|
||||
{intl.formatMessage(messages.zap_button, { amount: shortNumberFormat(zapAmount) })}
|
||||
</Button>
|
||||
</Stack>
|
||||
);
|
||||
};
|
||||
|
|
|
@ -1650,7 +1650,6 @@
|
|||
"video.unmute": "Unmute sound",
|
||||
"who_to_follow.title": "People To Follow",
|
||||
"zap.button.text.raw": "Zap {amount} sats",
|
||||
"zap.button.text.rounded": "Zap {amount}K sats",
|
||||
"zap.comment_input.placeholder": "Optional comment",
|
||||
"zap.open_wallet": "Open Wallet",
|
||||
"zap.send_to": "Send zaps to {target}"
|
||||
|
|