| 36 | } |
| 37 | |
| 38 | export function Icon() { |
| 39 | const item = new Item("g", { |
| 40 | id: "icon", |
| 41 | style: { |
| 42 | transform: "translate(20px, 15px) scale(0.27)", |
| 43 | }, |
| 44 | }); |
| 45 | |
| 46 | item.children = [ |
| 47 | new Item("g", { |
| 48 | style: { |
| 49 | stroke: "none", |
| 50 | fill: "var(--text-0)", |
| 51 | "fill-rule": "evenodd", |
| 52 | }, |
| 53 | children: [ |
| 54 | new Item("path", { |
| 55 | id: "C", |
| 56 | attr: { |
| 57 | d: "M67.506,83.066 C70.000,80.576 74.037,80.582 76.522,83.080 C79.008,85.578 79.002,89.622 76.508,92.112 L65.435,103.169 C55.219,113.370 38.560,113.518 28.172,103.513 C28.112,103.455 23.486,98.920 8.227,83.957 C-1.924,74.002 -2.936,58.074 6.616,47.846 L24.428,28.774 C33.910,18.621 51.387,17.512 62.227,26.278 L78.405,39.362 C81.144,41.577 81.572,45.598 79.361,48.342 C77.149,51.087 73.135,51.515 70.395,49.300 L54.218,36.217 C48.549,31.632 38.631,32.262 33.739,37.500 L15.927,56.572 C11.277,61.552 11.786,69.574 17.146,74.829 C28.351,85.816 36.987,94.284 36.997,94.294 C42.398,99.495 51.130,99.418 56.433,94.123 L67.506,83.066 Z", |
| 58 | }, |
| 59 | style: { |
| 60 | fill: "#FFA116", |
| 61 | "fill-rule": "nonzero", |
| 62 | }, |
| 63 | }), |
| 64 | new Item("path", { |
| 65 | id: "L", |
| 66 | attr: { |
| 67 | d: "M49.412,2.023 C51.817,-0.552 55.852,-0.686 58.423,1.722 C60.994,4.132 61.128,8.173 58.723,10.749 L15.928,56.572 C11.277,61.551 11.786,69.573 17.145,74.829 L36.909,94.209 C39.425,96.676 39.468,100.719 37.005,103.240 C34.542,105.760 30.506,105.804 27.990,103.336 L8.226,83.956 C-1.924,74.002 -2.936,58.074 6.617,47.846 L49.412,2.023 Z", |
| 68 | }, |
| 69 | style: { |
| 70 | fill: "#000000", |
| 71 | }, |
| 72 | }), |
| 73 | new Item("path", { |
| 74 | id: "dash", |
| 75 | attr: { |
| 76 | d: "M40.606,72.001 C37.086,72.001 34.231,69.142 34.231,65.614 C34.231,62.087 37.086,59.228 40.606,59.228 L87.624,59.228 C91.145,59.228 94,62.087 94,65.614 C94,69.142 91.145,72.001 87.624,72.001 L40.606,72.001 Z", |
| 77 | }, |
| 78 | style: { |
| 79 | fill: "#B3B3B3", |
| 80 | }, |
| 81 | }), |
| 82 | ], |
| 83 | }), |
| 84 | ]; |
| 85 | |
| 86 | return item; |
| 87 | } |
| 88 | |
| 89 | export function Username(username: string, site: string) { |
| 90 | const item = new Item("a", { |