diff options
| author | Matain <[email protected]> | 2022-12-02 11:00:26 +0800 |
|---|---|---|
| committer | Matain <[email protected]> | 2022-12-02 11:00:26 +0800 |
| commit | 125b937ff23cc69b23bb4a2cc5827bb8fa4236d2 (patch) | |
| tree | 16f8f6af730410cd7360428da7ab10b391898d02 | |
| parent | 094dec8901a64295613de8157c0199cd4c3d8f54 (diff) | |
tfo fix
| -rw-r--r-- | assets/tfo.svg | 1 | ||||
| -rw-r--r-- | src/components/proxies/Proxy.tsx | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/assets/tfo.svg b/assets/tfo.svg new file mode 100644 index 0000000..7bc5c4a --- /dev/null +++ b/assets/tfo.svg @@ -0,0 +1 @@ +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#333333" d="M573.866667 915.2c-32 0-61.866667-14.933333-78.933334-42.666667l-27.733333-42.666666c-14.933333-21.333333-38.4-32-61.866667-34.133334-46.933333-2.133333-89.6-23.466667-121.6-55.466666-34.133333-32-53.333333-74.666667-55.466666-121.6 0-25.6-12.8-49.066667-32-64l-40.533334-25.6c-44.8-29.866667-55.466667-89.6-25.6-132.266667 8.533333-10.666667 17.066667-21.333333 29.866667-27.733333 59.733333-38.4 110.933333-59.733333 145.066667-64 17.066667-2.133333 32-8.533333 42.666666-21.333334 140.8-147.2 366.933333-185.6 490.666667-196.266666 27.733333-2.133333 55.466667 8.533333 74.666667 27.733333 21.333333 19.2 29.866667 46.933333 27.733333 76.8-10.666667 121.6-49.066667 347.733333-196.266667 486.4-12.8 10.666667-19.2 25.6-21.333333 40.533333-2.133333 36.266667-25.6 87.466667-64 151.466667-17.066667 27.733333-46.933333 44.8-78.933333 44.8h-6.4zM842.666667 151.466667h-2.133334c-113.066667 8.533333-322.133333 44.8-448 174.933333-21.333333 23.466667-51.2 38.4-83.2 40.533333-14.933333 2.133333-49.066667 10.666667-119.466666 53.333334-14.933333 8.533333-19.2 29.866667-8.533334 44.8 2.133333 4.266667 6.4 6.4 8.533334 8.533333l40.533333 25.6c38.4 25.6 59.733333 68.266667 61.866667 115.2 2.133333 29.866667 14.933333 57.6 36.266666 78.933333s46.933333 34.133333 76.8 38.4c44.8 2.133333 87.466667 23.466667 113.066667 61.866667l27.733333 42.666667c6.4 8.533333 17.066667 14.933333 27.733334 14.933333s21.333333-6.4 25.6-14.933333c44.8-72.533333 53.333333-106.666667 55.466666-121.6 2.133333-32 17.066667-59.733333 40.533334-81.066667 132.266667-128 168.533333-334.933333 179.2-448 2.133333-17.066667-10.666667-32-29.866667-34.133333h-2.133333zM219.733333 802.133333c23.466667 23.466667 17.066667 64-10.666666 91.733334-25.6 21.333333-55.466667 36.266667-87.466667 42.666666-14.933333 4.266667-29.866667-4.266667-34.133333-19.2-2.133333-6.4-2.133333-12.8 0-17.066666 6.4-32 21.333333-61.866667 40.533333-87.466667 27.733333-27.733333 68.266667-32 91.733333-10.666667zM693.333333 330.666667m-42.666666 0a42.666667 42.666667 0 1 0 85.333333 0 42.666667 42.666667 0 1 0-85.333333 0Z" /></svg>
\ No newline at end of file diff --git a/src/components/proxies/Proxy.tsx b/src/components/proxies/Proxy.tsx index 7265a66..6402f29 100644 --- a/src/components/proxies/Proxy.tsx +++ b/src/components/proxies/Proxy.tsx @@ -159,7 +159,7 @@ function ProxyImpl({ } function formatTfo (t: boolean) { if (!t) return ''; - return <img className={s0.tfoType} src="../public/tfo.svg" alt="tfo" />; + return <img className={s0.tfoType} src="../assets/tfo.svg" alt="tfo" />; } const handleKeyDown = React.useCallback( (e: React.KeyboardEvent) => { |
