feat: use simpleicons

This commit is contained in:
DIYgod 2023-08-17 00:05:11 +01:00
parent 4e81bf424f
commit f822b29915
No known key found for this signature in database
20 changed files with 23 additions and 172 deletions

View File

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 127.14 96.36"><defs><style>.cls-1{fill:#5865f2;}</style></defs><g id="图层_2" data-name="图层 2"><g id="Discord_Logos" data-name="Discord Logos"><g id="Discord_Logo_-_Large_-_White" data-name="Discord Logo - Large - White"><path class="cls-1" d="M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z"/></g></g></g></svg>

Before

Width:  |  Height:  |  Size: 988 B

View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="24" width="24" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/">
<g transform="translate(0 -1028.4)">
<g>
<path d="m4 1031.4c-1.1046 0-2 0.9-2 2v16c0 1.1 0.8954 2 2 2h16c1.105 0 2-0.9 2-2v-16c0-1.1-0.895-2-2-2h-16z" fill="#30497b"/>
<path d="m4 2c-1.1046 0-2 0.8954-2 2v16c0 1.105 0.8954 2 2 2h16c1.105 0 2-0.895 2-2v-16c0-1.1046-0.895-2-2-2h-16z" transform="translate(0 1028.4)" fill="#3b5998"/>
<path d="m17 1034.4c-2.209 0-4 1.8-4 4v3h-2v3h2v7h3v-7h2.454l0.546-3h-3v-3c0-0.6 0.448-1 1-1h2v-3z" fill="#30497b"/>
<path d="m17 5c-2.209 0-4 1.7909-4 4v3h-2v3h2v7h3v-7h2.454l0.546-3h-3v-3c0-0.5523 0.448-1 1-1h2v-3z" transform="translate(0 1028.4)" fill="#ecf0f1"/>
<rect transform="translate(0 1028.4)" height="1" width="3" y="22" x="13" fill="#bdc3c7"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1002 B

View File

@ -1,3 +0,0 @@
<svg width="1024" height="1024" viewBox="0 0 1024 1024" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8C0 11.54 2.29 14.53 5.47 15.59C5.87 15.66 6.02 15.42 6.02 15.21C6.02 15.02 6.01 14.39 6.01 13.72C4 14.09 3.48 13.23 3.32 12.78C3.23 12.55 2.84 11.84 2.5 11.65C2.22 11.5 1.82 11.13 2.49 11.12C3.12 11.11 3.57 11.7 3.72 11.94C4.44 13.15 5.59 12.81 6.05 12.6C6.12 12.08 6.33 11.73 6.56 11.53C4.78 11.33 2.92 10.64 2.92 7.58C2.92 6.71 3.23 5.99 3.74 5.43C3.66 5.23 3.38 4.41 3.82 3.31C3.82 3.31 4.49 3.1 6.02 4.13C6.66 3.95 7.34 3.86 8.02 3.86C8.7 3.86 9.38 3.95 10.02 4.13C11.55 3.09 12.22 3.31 12.22 3.31C12.66 4.41 12.38 5.23 12.3 5.43C12.81 5.99 13.12 6.7 13.12 7.58C13.12 10.65 11.25 11.33 9.47 11.53C9.76 11.78 10.01 12.26 10.01 13.01C10.01 14.08 10 14.94 10 15.21C10 15.42 10.15 15.67 10.55 15.59C13.71 14.53 16 11.53 16 8C16 3.58 12.42 0 8 0Z" transform="scale(64)" fill="#1B1F23"/>
</svg>

Before

Width:  |  Height:  |  Size: 968 B

View File

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 380 380"><defs><style>.cls-1{fill:#e24329;}.cls-2{fill:#fc6d26;}.cls-3{fill:#fca326;}</style></defs><g id="LOGO"><path class="cls-1" d="M282.83,170.73l-.27-.69-26.14-68.22a6.81,6.81,0,0,0-2.69-3.24,7,7,0,0,0-8,.43,7,7,0,0,0-2.32,3.52l-17.65,54H154.29l-17.65-54A6.86,6.86,0,0,0,134.32,99a7,7,0,0,0-8-.43,6.87,6.87,0,0,0-2.69,3.24L97.44,170l-.26.69a48.54,48.54,0,0,0,16.1,56.1l.09.07.24.17,39.82,29.82,19.7,14.91,12,9.06a8.07,8.07,0,0,0,9.76,0l12-9.06,19.7-14.91,40.06-30,.1-.08A48.56,48.56,0,0,0,282.83,170.73Z"/><path class="cls-2" d="M282.83,170.73l-.27-.69a88.3,88.3,0,0,0-35.15,15.8L190,229.25c19.55,14.79,36.57,27.64,36.57,27.64l40.06-30,.1-.08A48.56,48.56,0,0,0,282.83,170.73Z"/><path class="cls-3" d="M153.43,256.89l19.7,14.91,12,9.06a8.07,8.07,0,0,0,9.76,0l12-9.06,19.7-14.91S209.55,244,190,229.25C170.45,244,153.43,256.89,153.43,256.89Z"/><path class="cls-2" d="M132.58,185.84A88.19,88.19,0,0,0,97.44,170l-.26.69a48.54,48.54,0,0,0,16.1,56.1l.09.07.24.17,39.82,29.82s17-12.85,36.57-27.64Z"/></g></svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

View File

@ -1,10 +0,0 @@
<svg width="75" height="79" viewBox="0 0 75 79" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M73.8393 17.4898C72.6973 9.00165 65.2994 2.31235 56.5296 1.01614C55.05 0.797115 49.4441 0 36.4582 0H36.3612C23.3717 0 20.585 0.797115 19.1054 1.01614C10.5798 2.27644 2.79399 8.28712 0.904997 16.8758C-0.00358524 21.1056 -0.100549 25.7949 0.0682394 30.0965C0.308852 36.2651 0.355538 42.423 0.91577 48.5665C1.30307 52.6474 1.97872 56.6957 2.93763 60.6812C4.73325 68.042 12.0019 74.1676 19.1233 76.6666C26.7478 79.2728 34.9474 79.7055 42.8039 77.9162C43.6682 77.7151 44.5217 77.4817 45.3645 77.216C47.275 76.6092 49.5123 75.9305 51.1571 74.7385C51.1797 74.7217 51.1982 74.7001 51.2112 74.6753C51.2243 74.6504 51.2316 74.6229 51.2325 74.5948V68.6416C51.2321 68.6154 51.2259 68.5896 51.2142 68.5661C51.2025 68.5426 51.1858 68.522 51.1651 68.5058C51.1444 68.4896 51.1204 68.4783 51.0948 68.4726C51.0692 68.4669 51.0426 68.467 51.0171 68.4729C45.9835 69.675 40.8254 70.2777 35.6502 70.2682C26.7439 70.2682 24.3486 66.042 23.6626 64.2826C23.1113 62.762 22.7612 61.1759 22.6212 59.5646C22.6197 59.5375 22.6247 59.5105 22.6357 59.4857C22.6466 59.4609 22.6633 59.4391 22.6843 59.422C22.7053 59.4048 22.73 59.3929 22.7565 59.3871C22.783 59.3813 22.8104 59.3818 22.8367 59.3886C27.7864 60.5826 32.8604 61.1853 37.9522 61.1839C39.1768 61.1839 40.3978 61.1839 41.6224 61.1516C46.7435 61.008 52.1411 60.7459 57.1796 59.7621C57.3053 59.7369 57.431 59.7154 57.5387 59.6831C65.4861 58.157 73.0493 53.3672 73.8178 41.2381C73.8465 40.7606 73.9184 36.2364 73.9184 35.7409C73.9219 34.0569 74.4606 23.7949 73.8393 17.4898Z" fill="url(#paint0_linear_549_34)"/>
<path d="M61.2484 27.0263V48.114H52.8916V27.6475C52.8916 23.3388 51.096 21.1413 47.4437 21.1413C43.4287 21.1413 41.4177 23.7409 41.4177 28.8755V40.0782H33.1111V28.8755C33.1111 23.7409 31.0965 21.1413 27.0815 21.1413C23.4507 21.1413 21.6371 23.3388 21.6371 27.6475V48.114H13.2839V27.0263C13.2839 22.7176 14.384 19.2946 16.5843 16.7572C18.8539 14.2258 21.8311 12.926 25.5264 12.926C29.8036 12.926 33.0357 14.5705 35.1905 17.8559L37.2698 21.346L39.3527 17.8559C41.5074 14.5705 44.7395 12.926 49.0095 12.926C52.7013 12.926 55.6784 14.2258 57.9553 16.7572C60.1531 19.2922 61.2508 22.7152 61.2484 27.0263Z" fill="white"/>
<defs>
<linearGradient id="paint0_linear_549_34" x1="37.0692" y1="0" x2="37.0692" y2="79" gradientUnits="userSpaceOnUse">
<stop stop-color="#6364FF"/>
<stop offset="1" stop-color="#563ACC"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -1 +0,0 @@
<svg fill="none" height="40" viewBox="0 0 40 40" width="40" xmlns="http://www.w3.org/2000/svg"><path d="m0 0h40v40h-40z" fill="#000"/><g fill="#fafcff"><path d="m21.5374 19.8277c0 3.7707-3.0305 6.8275-6.7686 6.8275s-6.7688-3.0575-6.7688-6.8275 3.0305-6.8277 6.7688-6.8277c3.7384 0 6.7686 3.057 6.7686 6.8277z"/><path d="m28.9627 19.8281c0 3.5494-1.5153 6.4278-3.3844 6.4278-1.8692 0-3.3845-2.8784-3.3845-6.4278 0-3.5493 1.5151-6.4277 3.3842-6.4277 1.8692 0 3.3845 2.8775 3.3845 6.4277"/><path d="m32 19.8276c0 3.1793-.5328 5.7582-1.1903 5.7582s-1.1901-2.5782-1.1901-5.7582.5329-5.7583 1.1901-5.7583c.6573 0 1.1903 2.578 1.1903 5.7583z"/></g></svg>

Before

Width:  |  Height:  |  Size: 647 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

View File

@ -1 +0,0 @@
<svg height="512px" style="enable-background:new 0 0 512 512;" version="1.1" viewBox="0 0 512 512" width="512px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#e60012"><g id="comp_x5F_232-nintendo-switch"><g><path d="M124.432,27.526c-45.786,8.212-82.641,42.09-94.241,86.644c-4.208,16.118-4.517,25.562-4.003,150.398 c0.204,114.566,0.308,117.235,2.258,126.168c10.574,47.734,44.452,81.718,92.702,92.906c6.262,1.437,14.269,1.745,65.804,1.951 c53.28,0.411,58.824,0.307,60.261-1.131c1.436-1.437,1.54-19.813,1.54-228.109c0-154.503-0.307-227.185-0.923-228.521 c-0.924-1.744-2.566-1.847-58.413-1.744C144.041,26.192,130.388,26.5,124.432,27.526L124.432,27.526z M210.564,256.046v192.896 l-38.806-0.512c-35.725-0.411-39.523-0.614-46.709-2.359c-30.694-7.907-53.383-31.52-59.851-62.316 c-2.053-9.649-2.053-246.486-0.103-255.931c5.749-26.795,24.331-48.968,49.276-58.926c12.524-5.031,18.376-5.646,59.132-5.749 l36.854-0.103v193H210.564z M132.645,121.357c-5.954,1.129-15.09,5.75-20.018,9.958c-9.958,8.623-14.988,20.942-14.167,35.417 c0.411,7.495,0.821,9.548,3.901,15.604c4.517,9.239,11.189,16.015,20.43,20.532c6.365,3.183,8.007,3.491,16.322,3.799 c7.493,0.306,10.163,0,15.194-1.747c20.634-6.981,33.159-27,29.565-47.633C179.869,132.957,156.565,116.533,132.645,121.357z M295.052,26.602c-0.409,0.308-0.613,103.48-0.613,229.444c0,207.682,0.101,228.727,1.538,229.342 c2.566,0.924,76.481,0.617,85.619-0.411c38.701-4.414,72.888-27.923,91.366-62.827c2.361-4.517,5.543-12.011,7.186-16.631 c5.955-17.864,5.852-13.141,5.852-149.986c0-109.229-0.203-125.552-1.54-132.429c-9.443-49.586-47.324-87.057-97.012-95.577 c-6.674-1.129-16.939-1.437-50.099-1.437C314.353,25.986,295.362,26.294,295.052,26.602z M396.789,234.077 c14.886,3.902,26.999,15.193,32.03,29.668c3.181,8.933,3.08,22.071-0.105,30.287c-5.849,15.089-17.245,25.663-31.925,29.564 c-23.817,6.161-49.175-8.211-56.054-31.823c-2.053-7.188-1.949-19.405,0.41-26.899 C348.231,241.571,372.972,227.815,396.789,234.077L396.789,234.077z"/></g></g><g id="Layer_1"/></svg>

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

View File

@ -1 +0,0 @@
<svg fill="none" height="40" viewBox="0 0 40 40" width="40" xmlns="http://www.w3.org/2000/svg"><path d="m0 0h40v40h-40z" fill="#3e97f3"/><path d="m21.009 10.1378c-3.4053.0634-7.5174 1.628-12.07004 5.5825l1.21254 2.6275.66-.3825v-1.355c.3916-.7864.9387-1.5096 2.0125-2.015v15.1525h-.5575l.005.54h3.78v-.525h-.5675v-3.82c21.099 4.7277 18.2633-16.04231 5.525-15.805zm-.1575 1.46c10.2013.0715 10.4375 18.0336-5.3675 12.6475v-11.2725c2.0079-.9765 3.8051-1.386 5.3675-1.375z" fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width=".5"/></svg>

Before

Width:  |  Height:  |  Size: 568 B

View File

@ -1 +0,0 @@
<svg class="bi bi-playstation" fill="#0070d1" height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M15.858 11.451c-.313.395-1.079.676-1.079.676l-5.696 2.046v-1.509l4.192-1.493c.476-.17.549-.412.162-.538-.386-.127-1.085-.09-1.56.08l-2.794.984v-1.566l.161-.054s.807-.286 1.942-.412c1.135-.125 2.525.017 3.616.43 1.23.39 1.368.962 1.056 1.356ZM9.625 8.883v-3.86c0-.453-.083-.87-.508-.988-.326-.105-.528.198-.528.65v9.664l-2.606-.827V2c1.108.206 2.722.692 3.59.985 2.207.757 2.955 1.7 2.955 3.825 0 2.071-1.278 2.856-2.903 2.072Zm-8.424 3.625C-.061 12.15-.271 11.41.304 10.984c.532-.394 1.436-.69 1.436-.69l3.737-1.33v1.515l-2.69.963c-.474.17-.547.411-.161.538.386.126 1.085.09 1.56-.08l1.29-.469v1.356l-.257.043a8.454 8.454 0 0 1-4.018-.323Z"/></svg>

Before

Width:  |  Height:  |  Size: 781 B

View File

@ -1,71 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="svg4485"
width="512"
height="512"
viewBox="0 0 512 512"
sodipodi:docname="logo.svg"
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)">
<metadata
id="metadata4491">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs4489" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1274"
inkscape:window-height="1410"
id="namedview4487"
showgrid="false"
inkscape:zoom="1.2636719"
inkscape:cx="305.99333"
inkscape:cy="304.30809"
inkscape:window-x="1280"
inkscape:window-y="22"
inkscape:window-maximized="0"
inkscape:current-layer="g4612"
inkscape:document-rotation="0" />
<g
id="g4612">
<g
id="g850"
transform="matrix(0.99659595,0,0,0.99659595,0.37313949,0.87143746)">
<path
style="opacity:1;fill:#fba457;fill-opacity:1;stroke:#009bff;stroke-width:0;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.175879"
d="m 194.75841,124.65165 a 20.449443,20.449443 0 0 0 -20.44944,20.44945 v 242.24725 h 65.28091 v -262.6967 z"
id="path4497" />
<path
style="fill:#fba457;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 272.6236,124.65165 V 256 h 45.61799 a 20.449443,20.449443 0 0 0 20.44944,-20.44945 v -110.8989 z"
id="path4516" />
<path
style="opacity:1;fill:#fba457;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 272.6236,322.06744 v 65.28091 h 45.61799 a 20.449443,20.449443 0 0 0 20.44944,-20.44945 v -44.83146 z"
id="path4516-5" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="256px" height="259px" viewBox="0 0 256 259" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid">
<g>
<path d="M127.778579,0 C60.4203546,0 5.24030561,52.412282 0,119.013983 L68.7236558,147.68805 C74.5451924,143.665561 81.5845466,141.322185 89.1497766,141.322185 C89.8324924,141.322185 90.5059824,141.340637 91.1702465,141.377541 L121.735621,96.668877 L121.735621,96.0415165 C121.735621,69.1388208 143.425688,47.2457835 170.088511,47.2457835 C196.751333,47.2457835 218.441401,69.1388208 218.441401,96.0415165 C218.441401,122.944212 196.751333,144.846475 170.088511,144.846475 C169.719475,144.846475 169.359666,144.83725 168.99063,144.828024 L125.398299,176.205276 C125.425977,176.786507 125.444428,177.367738 125.444428,177.939743 C125.444428,198.144443 109.160732,214.575753 89.1497766,214.575753 C71.5836817,214.575753 56.8868387,201.917832 53.5655182,185.163615 L4.40997549,164.654462 C19.6326942,218.967277 69.0834655,258.786219 127.778579,258.786219 C198.596511,258.786219 256,200.847629 256,129.393109 C256,57.9293643 198.596511,0 127.778579,0 Z M80.3519677,196.332478 L64.6033732,189.763644 C67.389592,195.63131 72.2239585,200.539484 78.6359521,203.233444 C92.4932392,209.064206 108.472481,202.430791 114.247888,188.435116 C117.043333,181.663313 117.061785,174.190342 114.294018,167.400086 C111.526251,160.609831 106.295171,155.31417 99.5879487,152.491048 C92.9176301,149.695603 85.7767911,149.797088 79.5031858,152.186594 L95.777656,158.976849 C105.999942,163.276114 110.834309,175.122157 106.571948,185.436702 C102.318812,195.751247 90.574254,200.631743 80.3519677,196.332478 Z M202.30901,96.0424391 C202.30901,78.1165345 187.85204,63.5211763 170.092201,63.5211763 C152.323137,63.5211763 137.866167,78.1165345 137.866167,96.0424391 C137.866167,113.968344 152.323137,128.554476 170.092201,128.554476 C187.85204,128.554476 202.30901,113.968344 202.30901,96.0424391 Z M145.938821,95.9870838 C145.938821,82.4988323 156.779242,71.5661525 170.138331,71.5661525 C183.506646,71.5661525 194.347066,82.4988323 194.347066,95.9870838 C194.347066,109.475335 183.506646,120.408015 170.138331,120.408015 C156.779242,120.408015 145.938821,109.475335 145.938821,95.9870838 Z" fill="#1A1918"></path>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -1,4 +0,0 @@
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="40" height="40" fill="#FF6719"/>
<path d="M27.0527 17.4947H13V15.604H27.0533V17.4947H27.0527ZM13 19.208V28L20.0267 24.0733L27.0533 28V19.208H13ZM27.0533 12H13V13.8907H27.0533V12Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 311 B

View File

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 778.72 778.72"><defs><linearGradient x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0 584.04474 584.04474 0 642 241.839)" spreadMethod="pad" id="a"><stop offset="0" stop-color="#25cf43"/><stop offset="1" stop-color="#61fd7d"/></linearGradient></defs><path d="M482.751 825.596c-13.025-.463-29.812-1.482-37.442-3.022-11.647-2.352-22.646-5.918-31.793-10.58-10.747-5.477-20.379-12.465-28.696-20.769-8.336-8.32-15.352-17.961-20.851-28.724-4.649-9.098-8.213-20.03-10.575-31.611-1.571-7.707-2.61-24.619-3.081-37.728a525.205 525.205 0 01-.289-15.49l-.046-287.576c0-3.185.097-10.121.287-15.485.463-13.024 1.482-29.811 3.023-37.441 2.351-11.646 5.918-22.646 10.579-31.793 5.478-10.748 12.465-20.378 20.769-28.696 8.32-8.335 17.962-15.351 28.724-20.851 9.099-4.648 20.031-8.213 31.611-10.575 7.707-1.571 24.62-2.61 37.729-3.08 5.356-.192 12.291-.29 15.489-.29l287.576-.046c3.186 0 10.122.096 15.484.287 13.025.464 29.813 1.482 37.442 3.023 11.647 2.352 22.647 5.919 31.793 10.579 10.747 5.478 20.379 12.466 28.696 20.769 8.335 8.321 15.351 17.961 20.851 28.724 4.648 9.099 8.214 20.03 10.575 31.611 1.572 7.707 2.61 24.621 3.081 37.729.192 5.357.289 12.291.289 15.489l.047 287.576c0 3.186-.097 10.122-.288 15.485-.464 13.024-1.482 29.811-3.023 37.441-2.351 11.647-5.918 22.646-10.579 31.793-5.477 10.748-12.466 20.379-20.768 28.697-8.321 8.334-17.963 15.351-28.725 20.85-9.099 4.649-20.03 8.214-31.611 10.575-7.707 1.571-24.62 2.61-37.728 3.08-5.358.193-12.292.29-15.49.29l-287.576.046a524.82 524.82 0 01-15.484-.287" fill="url(#a)" transform="matrix(1.33333 0 0 -1.33333 -466.637 1101.177)"/><path d="M524.354 440.616c-6.936-3.47-41.036-20.245-47.395-22.558-6.357-2.314-10.98-3.471-15.604 3.47-4.624 6.942-17.916 22.559-21.963 27.187-4.045 4.627-8.09 5.207-15.026 1.735-6.936-3.47-29.284-10.792-55.776-34.415-20.62-18.384-34.54-41.092-38.586-48.033-4.045-6.942-.43-10.694 3.043-14.151 3.119-3.105 6.935-8.097 10.403-12.147 3.468-4.05 4.624-6.941 6.936-11.568 2.312-4.628 1.156-8.677-.58-12.148-1.732-3.47-15.603-37.598-21.383-51.481-5.63-13.52-11.348-11.69-15.605-11.903-4.042-.201-8.67-.244-13.294-.244-4.624 0-12.137 1.736-18.496 8.676-6.357 6.942-24.274 23.718-24.274 57.844 0 34.128 24.853 67.099 28.32 71.727 3.469 4.628 48.909 74.663 118.485 104.696 16.548 7.144 29.468 11.41 39.54 14.607 16.616 5.276 31.736 4.532 43.687 2.746 13.325-1.99 41.036-16.774 46.816-32.97 5.778-16.196 5.778-30.08 4.045-32.971-1.733-2.892-6.357-4.628-13.293-8.099M397.8 613.355h-.093c-41.4-.016-82.005-11.133-117.428-32.148l-8.425-5-87.322 22.9 23.308-85.11-5.486-8.726c-23.095-36.723-35.292-79.167-35.275-122.747.05-127.168 103.55-230.628 230.813-230.628 61.624.024 119.552 24.047 163.112 67.642 43.56 43.596 67.536 101.545 67.512 163.173-.052 127.177-103.55 230.644-230.716 230.644M594.158 186.41c-52.408-52.452-122.104-81.352-196.36-81.381-153 0-277.524 124.476-277.586 277.477-.02 48.908 12.762 96.65 37.052 138.73l-39.38 143.797 147.152-38.587c40.544 22.107 86.192 33.756 132.65 33.776h.116c152.985 0 277.52-124.492 277.582-277.495.028-74.146-28.817-143.866-81.226-196.317" fill="#fff" fill-rule="evenodd"/></svg>

Before

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<svg height="800px" width="800px" version="1.1" id="Layer_1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 461.001 461.001" xml:space="preserve">
<g>
<path style="fill:#F61C0D;" d="M365.257,67.393H95.744C42.866,67.393,0,110.259,0,163.137v134.728
c0,52.878,42.866,95.744,95.744,95.744h269.513c52.878,0,95.744-42.866,95.744-95.744V163.137
C461.001,110.259,418.135,67.393,365.257,67.393z M300.506,237.056l-126.06,60.123c-3.359,1.602-7.239-0.847-7.239-4.568V168.607
c0-3.774,3.982-6.22,7.348-4.514l126.06,63.881C304.363,229.873,304.298,235.248,300.506,237.056z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 672 B

View File

@ -1,22 +0,0 @@
<?xml version="1.0" ?><svg style="enable-background:new 0 0 64 64;" version="1.1" viewBox="0 0 64 64" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><style type="text/css">
.st0{fill:#4267B2;}
.st1{fill:url(#SVGID_1_);}
.st2{fill:#FFFFFF;}
.st3{fill:#C2191E;}
.st4{fill:#1DA1F3;}
.st5{fill:#FEFE00;}
.st6{fill:#25D366;stroke:#FFFFFF;stroke-width:5;stroke-miterlimit:10;}
.st7{fill:#CB2027;}
.st8{fill:#0077B5;}
.st9{fill:url(#SVGID_2_);}
.st10{fill:url(#SVGID_3_);}
.st11{fill:#FF004F;}
.st12{fill:#00F7EF;}
.st13{fill:#5181B8;}
.st14{fill:#395976;}
.st15{fill:#F58220;}
.st16{fill:#E6162D;}
.st17{fill:#FF9933;}
.st18{fill:#FF4500;}
.st19{fill:#0F88EB;}
</style><g id="guidlines"/><g id="FB"/><g id="ig"/><g id="yt"/><g id="twitter"/><g id="snapchat"/><g id="WA"/><g id="Pinterrest"/><g id="Layer_9"/><g id="Layer_10"/><g id="Layer_11"/><g id="Layer_12"/><g id="Layer_13"/><g id="Layer_14"/><g id="Layer_15"/><g id="Layer_16"><g><path class="st19" d="M50,62H14C7.3725829,62,2,56.6274185,2,50V14C2,7.3725829,7.3725829,2,14,2h36 c6.6274185,0,12,5.3725829,12,12v36C62,56.6274185,56.6274185,62,50,62z"/><g><path class="st2" d="M26.2162476,38.015625l-1.713501,1.3327026c0.3545532-1.5984497,0.6206055-3.3781128,0.8196411-5.1764526 h8.0188599c0-2.96875-1.0535889-3-1.0535889-3s-3.1391602,0-6.690979,0 c0.3748169-5.0420532,0.3070679-9.479187,0.3070679-9.479187h6.6875v-1.1315308 c0-0.9068604-0.7351074-1.6419678-1.6419678-1.6419678H19.7702637l0,0l1.8209839-5.4973135 c-1.5-0.0625-3.4375,0.625-4.375,3.499999s-3.75,9.5-3.75,9.5c3.75,0,4.8125-3,4.8125-3l0.5728149-1.729187l0,0h3.8021851 l-0.0625,9.479187c-3.1615601,0-6.0524902,0-6.78125,0c-1.78125,0-2.15625,3-2.15625,3h8.5845947 c-1.8969116,11.9562988-9.3345947,16.3125-9.3345947,16.3125c6.125,0.5625,7.125-1.25,10.1875-6.9375 c0.4821167-0.8953857,0.881897-2.0510864,1.2137451-3.3619385l6.7550049,8.3619385c0,0,0.90625-3.875-0.15625-5.125 S26.2162476,38.015625,26.2162476,38.015625z"/><path class="st2" d="M35.1062622,18.2993774v28.1199951H38.15625l1.0100098,3.3800049l5.3499756-3.3800049h6.5800171V18.2993774 H35.1062622z M47.8362427,43.1693726h-3.5599976l-3.7199707,2.3800049l-0.8200073-2.3800049h-1.3800049V21.5493774h9.4799805 V43.1693726z"/></g></g></g><g id="Layer_17"/></svg>

Before

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -172,7 +172,7 @@ export default function SiteSettingsNavigationPage() {
<Trans i18n={i18n} ns="dashboard" i18nKey="social tips.p2">
We support{" "}
<UniLink
href="https://github.com/Crossbell-Box/xLog/blob/dev/src/components/site/Platform.tsx#L7"
href="https://github.com/Crossbell-Box/xLog/blob/dev/src/components/site/Platform.tsx#L11"
className="underline"
>
these platforms

View File

@ -1,12 +1,19 @@
"use client"
import { useEffect, useState } from "react"
import { Image } from "~/components/ui/Image"
import { Tooltip } from "~/components/ui/Tooltip"
import { UniLink } from "~/components/ui/UniLink"
import { cn } from "~/lib/utils"
const iconCDN = "https://cdn.simpleicons.org"
// There is no need to set this icon if it is available by default `https://cdn.simpleicons.org/${platform}`
export const PlatformsSyncMap: {
[key: string]: {
name: string
icon: string
icon?: string
url?: string
identityFormatTemplate?: string
portfolioDomain?: string
@ -14,44 +21,39 @@ export const PlatformsSyncMap: {
} = {
telegram: {
name: "Telegram",
icon: "/assets/social/telegram.svg",
url: "https://t.me/{username}",
},
tg_channel: {
name: "Telegram Channel",
icon: "/assets/social/telegram.svg",
icon: `${iconCDN}/telegram`,
url: "https://t.me/{username}",
},
twitter: {
name: "Twitter",
icon: "/assets/social/twitter.svg",
url: "https://twitter.com/{username}",
portfolioDomain: `https://twitter.com/`,
},
twitter_id: {
name: "Twitter",
icon: "/assets/social/twitter.svg",
icon: `${iconCDN}/twitter`,
url: "https://twitter.com/i/user/{username}",
},
pixiv: {
name: "Pixiv",
icon: "/assets/social/pixiv.ico",
url: "https://www.pixiv.net/users/{username}",
portfolioDomain: `https://www.pixiv.net/`,
},
substack: {
name: "Substack",
icon: "/assets/social/substack.svg",
url: "https://{username}.substack.com/",
},
medium: {
name: "Medium",
icon: "/assets/social/medium.svg",
url: "https://medium.com/@{username}",
},
github: {
name: "GitHub",
icon: "/assets/social/github.svg",
icon: `${iconCDN}/github/_/fff`,
url: "https://github.com/{username}",
portfolioDomain: `https://github.com/`,
},
@ -68,21 +70,19 @@ export const PlatformsSyncMap: {
},
zhihu: {
name: "知乎",
icon: "/assets/social/zhihu.svg",
url: "https://www.zhihu.com/people/{username}",
},
playstation: {
name: "PlayStation",
icon: "/assets/social/playstation.svg",
url: "https://psnprofiles.com/{username}",
},
"nintendo switch": {
name: "Nintendo Switch",
icon: "/assets/social/nintendo_switch.svg",
icon: `${iconCDN}/nintendoswitch`,
},
"discord server": {
name: "Discord Server",
icon: "/assets/social/discord.svg",
icon: `${iconCDN}/discord`,
url: "https://discord.gg/{username}",
},
xiaoyuzhou: {
@ -93,55 +93,46 @@ export const PlatformsSyncMap: {
},
steam: {
name: "Steam",
icon: "/assets/social/steam.svg",
url: "https://steamcommunity.com/id/{username}",
},
steam_profiles: {
name: "Steam",
icon: "/assets/social/steam.svg",
icon: `${iconCDN}/steam`,
url: "https://steamcommunity.com/profiles/{username}",
},
gitlab: {
name: "Gitlab",
icon: "/assets/social/gitlab.svg",
url: "https://gitlab.com/{username}",
},
keybase: {
name: "Keybase",
icon: "/assets/social/keybase.png",
url: "https://keybase.io/{username}",
},
youtube: {
name: "Youtube",
icon: "/assets/social/youtube.svg",
url: "https://youtube.com/@{username}",
portfolioDomain: `https://youtube.com/`,
},
facebook: {
name: "Facebook",
icon: "/assets/social/facebook.svg",
url: "https://facebook.com/{username}",
},
whatsapp: {
name: "Whatsapp",
icon: "/assets/social/whatsapp.svg",
url: "https://wa.me/{username}",
},
mastodon: {
name: "Mastodon",
icon: "/assets/social/mastodon.svg",
url: "https://{instance}/@{username}",
identityFormatTemplate: "username@instance.ltd",
},
misskey: {
name: "Misskey",
icon: "/assets/social/misskey.png",
url: "https://{instance}/@{username}",
identityFormatTemplate: "username@instance.ltd",
},
pleroma: {
name: "Pleroma",
icon: "/assets/social/pleroma.svg",
url: "https://{instance}/users/{username}",
identityFormatTemplate: "username@instance.ltd",
},
@ -181,6 +172,12 @@ export const Platform = ({
break
}
const [showImg, setShowImg] = useState(false)
useEffect(() => {
setShowImg(true)
}, [platform])
return (
<UniLink
className={cn(
@ -195,9 +192,9 @@ export const Platform = ({
className="text-sm"
>
<span className="inline-flex items-center">
{PlatformsSyncMap[platform]?.icon ? (
{showImg ? (
<Image
src={PlatformsSyncMap[platform]?.icon}
src={PlatformsSyncMap[platform]?.icon || `${iconCDN}/${platform}`}
alt={platform}
width={20}
height={20}