-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
830e62c
commit 69fb64f
Showing
2 changed files
with
12 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 4 additions & 32 deletions
36
packages/donate-button-v4/src/components/widget/icons/DafIcon.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,6 @@ | ||
export const DafIcon = () => ( | ||
<svg | ||
width="24" | ||
height="25" | ||
viewBox="0 0 24 25" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<g clipPath="url(#clip0_6252_22297)"> | ||
<path | ||
d="M16.5765 4.96037C16.6594 5.00932 16.6809 5.11885 16.6232 5.19596L16.5759 5.2593L15.0086 7.35896L14.3138 8.29026C14.1242 8.54394 13.7833 8.62317 13.4831 8.52256C13.0331 8.37178 12.5519 8.29026 12.051 8.29026C11.5273 8.29026 11.025 8.37948 10.5576 8.54425C8.79202 9.1636 7.5255 10.8523 7.5255 12.8374C7.5255 13.6592 7.74264 14.4303 8.12246 15.0959C8.27802 15.3682 8.46016 15.6228 8.66692 15.8559C9.49528 16.7938 10.7048 17.3851 12.051 17.3851C12.3493 17.3851 12.4882 17.7411 12.2551 17.9272C12.1878 17.9808 12.1198 18.0335 12.051 18.0852C10.765 19.0543 9.21333 19.686 7.5255 19.8527C7.23059 19.882 6.93178 19.897 6.62909 19.897C6.44094 19.897 6.25947 19.8288 6.1178 19.705C6.05234 19.6478 5.98768 19.5895 5.92388 19.5304C5.25044 18.9084 4.67162 18.1855 4.21142 17.3845C3.55353 16.2421 3.13611 14.9422 3.02787 13.5557C3.00972 13.3186 3 13.0796 3 12.8374C3 11.1812 3.4414 9.62795 4.21142 8.29026C4.62236 7.57518 5.12793 6.92326 5.70999 6.34951C6.25315 5.81352 6.86243 5.34526 7.5255 4.96037C8.85684 4.18667 10.4021 3.74316 12.051 3.74316C12.1476 3.74316 12.2448 3.74447 12.3407 3.74837C13.8808 3.79657 15.3236 4.23226 16.5765 4.96037Z" | ||
fill="#4DA3B3" | ||
/> | ||
<path | ||
d="M19.8329 17.5145C19.8902 17.7092 19.7155 17.893 19.5181 17.8456C19.5181 17.8456 19.5181 17.8456 19.5181 17.8456C19.252 17.7817 19.1303 17.8928 18.9815 18.1224C18.6911 18.5706 18.0776 19.2612 18.0034 19.346C15.5724 22.1292 11.6274 22.1812 8.38852 21.0562C8.37562 21.0516 8.36273 21.0471 8.35048 21.0432C8.06547 20.9438 7.79658 20.8432 7.55155 20.747C7.356 20.6706 7.17601 20.5972 7.01593 20.5295C6.718 20.4036 6.76112 20.2967 7.08212 20.3365C7.24332 20.3567 7.40195 20.3697 7.55155 20.3781C7.84763 20.395 8.11027 20.3938 8.29155 20.3889C8.46291 20.3843 8.63426 20.3771 8.80536 20.3668C9.38849 20.3316 9.97709 20.2206 10.5583 20.0287C11.0948 19.8507 11.5952 19.613 12.0537 19.3246C12.338 19.1473 12.6063 18.9492 12.8578 18.7348C12.9919 18.6205 13.1202 18.5023 13.2446 18.3789C13.5748 18.0515 13.8708 17.6923 14.1268 17.3091C14.253 17.1207 14.3702 16.9266 14.4771 16.7271C14.4989 16.6863 14.4761 16.6361 14.4311 16.6252C14.0905 16.5435 13.965 16.1245 14.2047 15.8691L15.8892 14.0744C15.8895 14.0741 15.8895 14.0741 15.8898 14.0737C15.8988 14.0642 16.3261 13.6097 16.4665 13.4599C16.495 13.4295 16.5266 13.3957 16.5551 13.3652L17.1097 12.7742L17.35 12.5181C17.688 12.1579 18.2894 12.3006 18.4296 12.7742L19.0377 14.8286L19.5259 16.4789C19.5266 16.4813 19.5288 16.4829 19.5312 16.4834C19.5345 16.4841 19.5365 16.4877 19.5356 16.4909C19.5349 16.4935 19.5342 16.496 19.5336 16.4986C19.5332 16.5007 19.5332 16.5028 19.5338 16.5049L19.7715 17.3085L19.7992 17.4001L19.8329 17.5145Z" | ||
fill="#91CCD7" | ||
/> | ||
<path | ||
d="M5.42485 14.1279C4.19233 14.3874 2.95172 13.5889 3.00945 12.3307C3.06474 11.1259 3.36198 9.93661 3.89227 8.83616C4.75517 7.04549 6.1866 5.59086 7.96317 4.69928C9.73974 3.80771 11.7615 3.52936 13.7129 3.90767C14.9121 4.14016 16.0433 4.61261 17.0423 5.2883C18.0857 5.99397 17.9844 7.46586 17.0397 8.29894C16.095 9.13202 14.6462 8.96341 13.4564 8.55014C13.2576 8.4811 13.0533 8.42597 12.8448 8.38555C11.8824 8.19897 10.8853 8.33625 10.0091 8.77597C9.13287 9.21569 8.4269 9.9331 8.00132 10.8163C7.90912 11.0076 7.83121 11.2043 7.76777 11.405C7.38804 12.6059 6.65738 13.8683 5.42485 14.1279Z" | ||
fill="#4DA3B3" | ||
/> | ||
</g> | ||
<defs> | ||
<clipPath id="clip0_6252_22297"> | ||
<rect | ||
width="18" | ||
height="18" | ||
fill="white" | ||
transform="translate(3 3.74316)" | ||
/> | ||
</clipPath> | ||
</defs> | ||
</svg> | ||
<svg width="27" height="23" viewBox="0 0 37 33" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
Check failure on line 2 in packages/donate-button-v4/src/components/widget/icons/DafIcon.tsx GitHub Actions / lint
|
||
<path d="M7.056 31.772V24.45C7.056 23.554 7.028 22.784 7 22.154H8.848L8.946 23.106H8.974C9.478 22.378 10.262 22 11.256 22C12.754 22 14.098 23.302 14.098 25.486C14.098 27.978 12.516 29.154 10.99 29.154C10.164 29.154 9.52 28.818 9.212 28.37H9.184V31.772H7.056ZM9.184 25.122V26.06C9.184 26.228 9.198 26.382 9.226 26.508C9.366 27.082 9.856 27.516 10.472 27.516C11.396 27.516 11.942 26.746 11.942 25.584C11.942 24.492 11.452 23.666 10.5 23.666C9.898 23.666 9.366 24.114 9.226 24.744C9.198 24.856 9.184 24.996 9.184 25.122ZM21.0932 29H19.1752L19.0492 28.314H19.0072C18.5592 28.86 17.8592 29.154 17.0472 29.154C15.6612 29.154 14.8352 28.146 14.8352 27.054C14.8352 25.276 16.4312 24.422 18.8532 24.436V24.338C18.8532 23.974 18.6572 23.456 17.6072 23.456C16.9072 23.456 16.1652 23.694 15.7172 23.974L15.3252 22.602C15.8012 22.336 16.7392 22 17.9852 22C20.2672 22 20.9952 23.344 20.9952 24.954V27.334C20.9952 27.992 21.0232 28.622 21.0932 29ZM18.9232 26.508V25.766C17.8032 25.752 16.9352 26.018 16.9352 26.844C16.9352 27.39 17.2992 27.656 17.7752 27.656C18.3072 27.656 18.7412 27.306 18.8812 26.872C18.9092 26.76 18.9232 26.634 18.9232 26.508ZM21.6056 22.154H23.9716L24.9936 25.514C25.1056 25.92 25.2456 26.424 25.3296 26.788H25.3716C25.4696 26.424 25.5816 25.906 25.6796 25.514L26.5196 22.154H28.8016L27.2056 26.662C26.2256 29.378 25.5676 30.47 24.7976 31.156C24.0556 31.8 23.2716 32.024 22.7396 32.094L22.2916 30.288C22.5576 30.246 22.8936 30.12 23.2156 29.924C23.5376 29.756 23.8876 29.42 24.0976 29.07C24.1676 28.972 24.2096 28.86 24.2096 28.762C24.2096 28.692 24.1956 28.58 24.1116 28.412L21.6056 22.154Z" fill="#35BBF4"/> | ||
Check failure on line 3 in packages/donate-button-v4/src/components/widget/icons/DafIcon.tsx GitHub Actions / lint
|
||
<path fill-rule="evenodd" clip-rule="evenodd" d="M4 0C1.79086 0 0 1.79086 0 4V15C0 17.2091 1.79086 19 4 19H32.4127C34.6218 19 36.4127 17.2091 36.4127 15V4C36.4127 1.79086 34.6218 0 32.4127 0H4ZM4.50829 4.36V14.952C5.11629 15.032 6.01229 15.112 7.27629 15.112C9.38829 15.112 11.1163 14.664 12.2523 13.72C13.2923 12.84 14.0443 11.416 14.0443 9.352C14.0443 7.448 13.3403 6.12 12.2203 5.288C11.1803 4.504 9.85229 4.136 7.80429 4.136C6.57229 4.136 5.40429 4.216 4.50829 4.36ZM6.95629 13.16V6.104C7.16429 6.056 7.51629 6.008 8.06029 6.008C10.1563 6.008 11.4683 7.192 11.4523 9.432C11.4523 12.008 10.0123 13.224 7.80429 13.208C7.50029 13.208 7.16429 13.208 6.95629 13.16ZM17.7509 12.232H20.8389L21.6709 15H24.2949L20.9509 4.216H17.7509L14.4549 15H16.9829L17.7509 12.232ZM20.4869 10.408H18.1029L18.7429 8.12C18.8484 7.74614 18.9481 7.30336 19.0455 6.8708C19.1106 6.58139 19.1748 6.29655 19.2389 6.04H19.2709C19.2969 6.14386 19.3237 6.25193 19.3512 6.36285C19.4932 6.93544 19.6541 7.58386 19.8149 8.12L20.4869 10.408ZM25.5789 4.216V15H28.0269V10.664H31.8989V8.68H28.0269V6.216H32.1709V4.216H25.5789Z" fill="#35BBF4"/> | ||
</svg> | ||
); |