Files
coder/site/static/icon/cursor.svg
T
Ethan 2bcbd9bdbd fix(site): remove trailing comment from cursor.svg (#18072)
The trailing comment was preventing the SVG from rendering on Coder
Desktop macOS, with the SVG loader we use. I've moved it to a place
where it's apparently OK? Couldn't tell you why.
https://validator.w3.org/ had no complaints.

I tested this by hardcoding the icon to that served by a build of coder
with this new svg.


![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/jI7h94jB23BidWsYTSCk/4c94ae5f-d0e2-496e-90eb-4968cf40d639.png)

The first icon is without the trailing comment, the second is with.
2025-05-28 09:17:38 +02:00

49 lines
2.4 KiB
XML

<?xml version="1.0"?>
<!-- MIT License
Copyright (c) 2023 LobeHub
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.-->
<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<title>Cursor</title>
<defs>
<linearGradient fx="0.21" fy="0.75" id="svg_24" x1="1" x2="0.55" y1="0.34" y2="0.88">
<stop offset="0.18" stop-color="#666666" stop-opacity="1"/>
<stop offset="0.71" stop-color="#000000" stop-opacity="1"/>
</linearGradient>
<linearGradient fx="0.39" fy="0.45" id="svg_25" x1="0.48" x2="1" y1="0.26" y2="0.86">
<stop offset="0.16" stop-color="#7f7f7f" stop-opacity="1"/>
<stop offset="0.66" stop-color="#e5e5e5" stop-opacity="1"/>
</linearGradient>
<linearGradient fx="0.68" fy="0.53" id="svg_27" x1="0.36" x2="0.58" y1="0" y2="0.57">
<stop stop-color="#b2b2b2" stop-opacity="1"/>
<stop offset="0.67" stop-color="#666666" stop-opacity="1"/>
</linearGradient>
</defs>
<g class="layer">
<title>Layer 1</title>
<path d="m11.93,24l10.42,-6l-10.42,-6l-10.43,6l10.43,6z" fill="url(#svg_25)" id="svg_1" transform="matrix(1 0 0 1 0 0)"/>
<path d="m22.35,18l0,-12l-10.42,-6l0,12l10.42,6z" fill="url(#svg_24)" id="svg_2" transform="matrix(1 0 0 1 0 0)"/>
<path d="m11.93,0l-10.43,6l0,12l10.43,-6l0,-12z" fill="url(#svg_27)" id="svg_3"/>
<path d="m22.35,6l-10.42,18l0,-12l10.42,-6z" fill="#cccccc" id="svg_4"/>
<path d="m22.35,6l-10.42,6l-10.43,-6l20.85,0z" fill="#FFF" id="svg_5"/>
</g>
</svg>