Update docs

This commit is contained in:
Masterain
2024-02-23 02:13:43 -08:00
parent 81cf5edf1b
commit ff4f4ce9b1
9 changed files with 204 additions and 16 deletions

View File

@@ -43,23 +43,26 @@ interface SponsorItem {
const tempIcon = "https://img.alicdn.com/imgextra/i4/1797064093/O1CN01oaGvKE1g6dut0pICS_!!1797064093.png_.webp";
const sponsor = [{
icon: tempIcon,
name: '微信',
type: SponsorType.wechat,
qrcode: tempIcon,
label: "微信支付链接",
}, {
icon: tempIcon,
name: '支付宝',
type: SponsorType.alipay,
qrcode: tempIcon,
label: "支付宝支付链接",
}, {
icon: tempIcon,
icon: "/images/202312/github-mark.svg",
name: 'Github',
type: SponsorType.github,
qrcode: tempIcon,
label: "Github Sponsors",
qrcode: "/images/202402/github-sponsor.png",
label: "使用下方链接以通过 Github Sponsors 捐赠",
url: "https://github.com/sponsors/DGP-Studio"
},{
icon: "/svg/afd-official.svg",
name: '爱发电',
type: SponsorType.wechat,
qrcode: "/images/202402/aifadian-qr.png",
label: "使用下方链接以通过爱发电捐赠",
url: "https://afdian.net/a/DismissedLight"
}, {
icon: "/svg/paypal.svg",
name: 'PayPal',
type: SponsorType.alipay,
qrcode: "/images/202402/paypal-qr.png",
label: "使用下方链接以通过 PayPal 捐赠",
url: "https://paypal.me/tianyu98"
}];
const type = ref<SponsorType>();

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB

View File

@@ -0,0 +1,12 @@
<svg width="160" height="160" viewBox="0 0 160 160" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="160" height="160" rx="2" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M64.9999 90.6681C63.4307 90.6681 62.1621 91.9382 62.1621 93.5091C62.1621 95.0836 63.4307 96.3537 64.9999 96.3537C66.5691 96.3537 67.8378 95.0836 67.8378 93.5091C67.8378 91.9382 66.5691 90.6681 64.9999 90.6681Z" fill="#946CE6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M91.7568 99.1965C90.1876 99.1965 88.9189 100.467 88.9189 102.038C88.9189 103.612 90.1876 104.882 91.7568 104.882C93.326 104.882 94.5946 103.612 94.5946 102.038C94.5946 100.467 93.326 99.1965 91.7568 99.1965Z" fill="#946CE6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M133.76 106.376C132.813 106.851 131.453 106.876 130.197 106.441C129.349 106.141 128.434 105.859 127.523 105.578C125.832 105.061 123.006 104.198 122.468 103.545C121.585 102.365 119.908 102.13 118.73 103.021C117.552 103.909 117.317 105.581 118.207 106.762C118.502 107.161 118.901 107.489 119.303 107.806C115.224 113.462 97.3137 124.715 71.985 119.17C60.5719 116.671 52.8897 112.107 49.7641 105.977C47.5106 101.548 48.0233 96.9879 49.1019 94.5097C52.2026 88.0593 74.5837 73.2045 88.8732 64.793C90.1405 64.0406 90.5641 62.4039 89.8166 61.131C89.069 59.8616 87.3638 59.3517 86.1641 60.1825C85.0107 60.86 81.0912 63.192 76.0896 66.3655C74.3986 65.228 71.4759 63.8231 66.7911 63.3631C59.3616 62.625 42.1921 59.341 36.6458 56.9912C32.673 55.3081 23.6557 50.851 25.6528 45.834C26.1156 44.6645 28.2907 42.7711 33.004 40.9668C36.6351 39.5797 40.2484 38.8131 42.9789 38.5065C42.6122 38.6847 42.2562 38.8559 41.9216 39.0199C38.7106 40.5817 35.2076 42.3289 32.8545 44.3935C32.6836 44.2829 32.5056 44.1724 32.3846 44.0512C31.37 42.9886 29.6969 42.9101 28.6147 43.9656C27.5467 44.9854 27.5075 46.6791 28.5292 47.7452C29.4797 48.7436 30.8859 49.496 32.6765 50.0701C32.7442 50.0915 32.8047 50.1236 32.8723 50.1378C39.095 52.0562 50.1592 51.8173 65.7587 51.1969C72.4834 50.933 78.8343 50.6834 84.1314 50.7868C101.692 51.1362 114.889 58.1322 124.479 72.1776C130.371 80.8066 128.246 89.3073 124.875 96.6955C124.472 96.3853 124.042 95.9824 123.718 95.583C122.796 94.4313 121.09 94.2708 119.969 95.1587C118.816 96.0822 118.623 97.7617 119.542 98.9169C120.083 99.6016 122.867 102.807 126.316 102.533C126.38 102.536 126.437 102.529 126.501 102.525C126.605 102.511 126.711 102.529 126.822 102.511C129.178 102.08 130.659 102.194 132.044 103.064C133.878 104.223 134.782 104.914 134.6 105.492C134.493 105.856 134.219 106.116 133.76 106.376ZM60.9493 76.5884C60.4189 76.977 59.8991 77.3621 59.3758 77.7472C58.8133 77.1411 58.3648 76.5634 58.1583 76.1427C58.7777 75.9572 59.8101 76.1783 60.9493 76.5884ZM134.614 98.3714C133.294 97.5334 131.909 97.1697 130.563 97.02C133.724 89.3002 135.736 79.1949 128.887 69.1574C118.406 53.7998 103.38 45.8198 84.2346 45.4382C78.7809 45.3312 72.3517 45.5844 65.5487 45.8554C57.6493 46.1692 47.1369 46.5793 39.9921 45.9873C41.4161 45.2136 42.9326 44.4719 44.2462 43.8336C49.2728 41.384 53.2314 39.4763 51.9214 36.0925C51.2343 34.117 49.1874 33.0794 45.8233 33.0045C38.7426 32.8441 23.4421 36.9447 20.6903 43.8586C19.1418 47.7524 18.8854 55.2689 34.5668 61.9119C41.0174 64.6503 59.237 67.9879 66.2678 68.6867C68.2542 68.8793 69.7743 69.2822 70.9277 69.7101C69.3151 70.7727 67.6597 71.8888 65.9972 73.0298C63.1102 71.3824 58.3897 69.4391 54.8654 71.846C53.502 72.7695 52.7259 74.1316 52.6903 75.6827C52.6405 77.6117 53.8081 79.498 55.1217 81.017C49.9314 85.1639 45.7343 89.1825 44.2462 92.2811C42.5873 96.0893 41.9109 102.322 45.008 108.402C48.9382 116.118 57.6279 121.499 70.8423 124.394C88.1114 128.17 103.027 124.768 112.895 119.566C118.388 116.671 122.286 113.215 124.18 110.131C124.768 110.317 125.355 110.506 125.96 110.695C126.804 110.951 127.648 111.208 128.438 111.49C131.051 112.395 133.942 112.274 136.167 111.151C136.206 111.133 136.248 111.108 136.291 111.087C137.968 110.202 139.175 108.783 139.705 107.072C141.129 102.458 137.064 99.9082 134.614 98.3714Z" fill="url(#paint0_linear)"/>
<defs>
<linearGradient id="paint0_linear" x1="163.931" y1="112.036" x2="141.647" y2="8.79371" gradientUnits="userSpaceOnUse">
<stop stop-color="#AA84F5"/>
<stop offset="1" stop-color="#885FD9"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 4.2 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
<path style="fill:#002987;" d="M428.876,132.28c0.867-7.045,1.32-14.218,1.32-21.497C430.196,49.6,380.597,0,319.413,0H134.271
c-11.646,0-21.589,8.41-23.521,19.894l-68.22,405.475c-2.448,14.55,8.768,27.809,23.521,27.809h67.711
c11.646,0,21.776-8.404,23.707-19.889c0,0,0.113-0.673,0.317-1.885h0.001l-9.436,56.086C146.195,500.313,156.08,512,169.083,512
h59.237c10.265,0,19.029-7.413,20.731-17.535l16.829-100.02c2.901-17.242,17.828-29.867,35.311-29.867h15.562
c84.53,0,153.054-68.525,153.054-153.054C469.807,178.815,453.639,149.902,428.876,132.28z"/>
<path style="fill:#0085CC;" d="M428.876,132.28c-10.594,86.179-84.044,152.91-173.086,152.91h-51.665
c-11.661,0-21.732,7.767-24.891,18.749l-30.882,183.549C146.195,500.312,156.08,512,169.083,512h59.237
c10.265,0,19.029-7.413,20.731-17.535l16.829-100.02c2.901-17.242,17.828-29.867,35.311-29.867h15.562
c84.53,0,153.054-68.525,153.054-153.054l0,0C469.807,178.815,453.639,149.902,428.876,132.28z"/>
<path style="fill:#00186A;" d="M204.125,285.19h51.665c89.043,0,162.493-66.731,173.086-152.909
c-15.888-11.306-35.304-17.978-56.29-17.978h-134.85c-15.353,0-28.462,11.087-31.01,26.227l-27.493,163.408
C182.392,292.956,192.464,285.19,204.125,285.19z"/>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB