Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add gimme app #409

Merged
merged 1 commit into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/components/YearnApps.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import {LogoGimme} from '../icons/LogoGimme';
import {LogoJuiced} from '../icons/LogoJuiced';
import {LogoYearn} from '../icons/LogoYearn';
import {VEYFI_DYFI_ADDRESS, YCRV_TOKEN_ADDRESS} from '../utils/constants';
Expand All @@ -22,6 +23,12 @@ export const APPS = {
host: 'juiced.yearn.fi',
icon: <LogoJuiced className={'size-8'} />
},
Gimme: {
name: 'GIMME',
href: 'https://gimme.mom',
host: 'gimme.mom',
icon: <LogoGimme className={'size-8'} />
},
Vaults: {
name: 'Vaults',
href: 'https://yearn.fi/vaults',
Expand Down
95 changes: 95 additions & 0 deletions src/icons/LogoGimme.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
import type {ReactElement} from 'react';

export function LogoGimme(props: React.SVGProps<SVGSVGElement> & {back?: string; front?: string}): ReactElement {
return (
<svg
{...props}
width={'400'}
height={'400'}
viewBox={'0 0 400 400'}
fill={'none'}
xmlns={'http://www.w3.org/2000/svg'}>
<g clipPath={'url(#clip0_1787_1240)'}>
<rect
width={'80'}
height={'80'}
rx={'40'}
fill={'#6FB5F9'}
/>
<path
d={
'M66.497 62.6523C88.367 67.1842 92.0542 77.1485 91.164 81.5642L73.9941 126.254L-53.5401 77.2549C-50.8721 66.2808 -42.4018 61.697 -38.5002 60.7769C-30.9319 42.5895 -14.4133 44.4686 -7.09996 47.6816C0.327199 33.8912 14.2055 36.5139 20.2163 39.549C31.9821 43.6823 34.8947 54.8651 34.8803 59.9399C47.9508 49.0918 61.4041 57.2281 66.497 62.6523Z'
}
fill={'#9ED3FB'}
/>
<path
d={
'M75.9936 25.7983C81.1106 33.986 90.5436 35.3784 94.6205 35.0511L103.904 -15.8223L-17.6142 -37.998C-19.6095 -26.0581 -10.6049 -18.1251 -5.85314 -15.6511C-5.98762 17.2881 18.3877 21.3308 30.5922 19.2347C37.9242 25.3474 45.9944 22.8871 49.1129 20.8929C57.929 30.9493 70.7067 28.3533 75.9936 25.7983Z'
}
fill={'#85C6F7'}
/>
<path
d={
'M-8.40042 78.4912C-14.9041 53.3797 -36.1767 57.038 -46 62.0061L-46 68.8938C-37.8327 65.8451 -19.1722 65.3483 -9.86827 87.75L42.0711 87.75C38.4579 80.2527 26.5646 81.2388 21.0695 82.669C13.0302 72.3714 -1.92682 75.5932 -8.40042 78.4912Z'
}
fill={'white'}
/>
<circle
cx={'13.7993'}
cy={'13.7993'}
r={'13.3681'}
transform={'matrix(-0.969728 0.244187 0.244187 0.969728 57.6965 9.70312)'}
fill={'#FFD915'}
stroke={'white'}
strokeWidth={'0.862458'}
/>
<path
d={
'M3.66348 94.4577C6.52141 83.7325 32.2346 74.5895 40.6493 71.8036C42.2911 71.26 43.3132 70.021 44.1466 68.0324C44.841 66.3753 49.9661 53.3745 52.373 46.8392C53.1612 42.9053 50.985 40.4443 49.9556 39.8882C48.8575 39.9424 47.603 40.2583 45.4579 39.6867C46.1701 38.1573 46.6724 36.5627 46.504 35.8938C46.2056 34.709 45.7142 32.7575 42.7855 32.6056C41.9335 32.5614 39.5528 33.8946 37.6058 34.9936C37.135 34.8898 36.2445 34.0023 35.7721 33.0095C33.9585 32.5768 31.2598 31.8667 29.9658 32.0258C28.2404 32.2379 26.5708 34.4371 28.1442 37.1538C28.9574 38.3286 30.1787 38.9994 30.9055 39.2897C27.0238 39.7681 19.3129 40.934 18.2675 41.1972C17.3295 41.4334 16.0202 41.9855 15.2395 44.1832C14.3721 46.625 11.8936 50.8288 11.2789 52.2955C10.8623 53.2898 10.8889 54.2787 11.1838 55.4496C8.38876 56.8202 4.46843 59.2175 1.20372 62.6147C0.264091 63.5924 -1.89676 66.0191 -3.02311 67.9036C-4.50225 69.3878 -6.57154 72.3546 -10.2749 77.9564C-11.5088 80.12 -15.0089 86.3525 -16.8453 88.9494L3.66348 94.4577Z'
}
fill={'#E9D9DE'}
/>
<path
d={
'M31.8678 39.5793C31.7622 39.556 31.1158 39.3737 30.9055 39.2897M30.9055 39.2897C30.1787 38.9994 28.9574 38.3286 28.1442 37.1538C26.5708 34.4371 28.2404 32.2379 29.9658 32.0258C31.2598 31.8667 33.9585 32.5768 35.7721 33.0095C36.2445 34.0023 37.135 34.8898 37.6058 34.9936M30.9055 39.2897C27.0238 39.7681 19.3129 40.934 18.2675 41.1972C17.3295 41.4334 16.0202 41.9855 15.2395 44.1832C14.3721 46.625 11.8936 50.8288 11.2789 52.2955C10.8623 53.2898 10.8889 54.2787 11.1838 55.4496M45.4716 47.6877C44.4948 47.3407 42.153 45.9878 41.1061 45.362C40.6721 46.7644 39.952 50.2148 39.3154 53.0178M38.7914 55.5955C38.9314 54.7873 39.1128 53.9098 39.3154 53.0178M39.3154 53.0178C39.0499 51.7505 38.2298 47.8908 38.2707 47.3469M42.7686 57.2622C41.3029 56.4454 36.9345 54.5789 32.2064 54.1686M29.6968 58.3303C29.9627 57.7688 30.2811 57.1656 30.6465 56.5348M30.6465 56.5348C32.5151 53.3085 35.6123 49.362 39.1944 46.6002C41.7019 45.0794 42.798 43.8399 43.4243 43.0893C44.2875 41.9037 44.9087 40.8663 45.4579 39.6867M30.6465 56.5348C31.1342 58.5613 32.1316 63.2314 32.2195 65.6995M23.4446 48.1204C27.2268 44.9594 30.3657 41.5164 31.5483 40.0764C32.7998 37.9825 34.87 36.491 36.0384 35.833C36.5604 35.539 36.9784 35.3477 37.6058 34.9936M23.4446 48.1204C23.0545 48.4464 22.6576 48.7694 22.2553 49.0869C21.5765 49.5912 20.5582 50.3185 19.4224 51.0817M23.4446 48.1204C22.6641 48.0946 21.5212 47.9377 21.0504 47.8339C20.8398 47.7875 20.5577 49.4092 19.4224 51.0817M19.4224 51.0817C17.5285 52.3543 15.3083 53.7266 13.7925 54.3307C11.4755 55.1365 5.71396 57.9214 1.20372 62.6147C0.264091 63.5924 -1.89676 66.0191 -3.02311 67.9036C-4.50225 69.3878 -6.57154 72.3546 -10.2749 77.9564C-11.5088 80.12 -15.0089 86.3525 -16.8453 88.9494L3.66348 94.4577C6.52141 83.7325 32.2346 74.5895 40.6493 71.8036C42.2911 71.26 43.3132 70.021 44.1466 68.0324C44.841 66.3753 49.9661 53.3745 52.373 46.8392C53.1612 42.9053 50.985 40.4443 49.9556 39.8882C48.8575 39.9424 47.603 40.2583 45.4579 39.6867M45.4579 39.6867C46.1701 38.1573 46.6724 36.5627 46.504 35.8938C46.2056 34.709 45.7142 32.7575 42.7855 32.6056C41.9335 32.5614 39.5528 33.8946 37.6058 34.9936'
}
stroke={'#F5F0FF'}
strokeWidth={'0.862458'}
strokeLinecap={'round'}
strokeLinejoin={'round'}
/>
<path
d={
'M3.66399 94.4585C6.52191 83.7333 32.2351 74.5903 40.6498 71.8044C42.2916 71.2608 43.3137 70.0219 44.1471 68.0333C44.8415 66.3761 49.9666 53.3754 52.3735 46.8401C53.1617 42.9062 50.8291 40.7069 49.7997 40.1508C48.1887 46.1151 46.7417 56.2627 39.9547 62.8633C37.7962 64.5927 35.3112 69.1465 25.275 71.6737C17.0528 74.6353 -0.67627 81.9905 -2.77113 92.7438L3.66399 94.4585Z'
}
fill={'#87B7EF'}
/>
<path
d={
'M39.1949 46.6011C41.7025 45.0803 42.7985 43.8408 43.4248 43.0901C44.288 41.9046 44.9092 40.8672 45.4584 39.6875C46.1706 38.1581 46.6729 36.5636 46.5045 35.8946C46.4491 35.3804 45.1861 33.3081 44.1392 32.6824C44.5107 35.924 40.1771 39.9057 36.8347 42.5261C32.8155 46.8734 31.1428 47.2946 29.0068 52.057C27.7538 54.8509 28.7216 58.5769 29.6973 58.3312C29.9632 57.7697 30.2816 57.1664 30.647 56.5356C32.5156 53.3094 35.6128 49.3629 39.1949 46.6011Z'
}
fill={'#87B7EF'}
/>
<path
d={
'M31.8678 39.5793C31.7622 39.556 31.1158 39.3737 30.9055 39.2897M30.9055 39.2897C30.1787 38.9994 28.9574 38.3286 28.1442 37.1538C26.5708 34.4371 28.2404 32.2379 29.9658 32.0258C31.2598 31.8667 33.9585 32.5768 35.7721 33.0095C36.2445 34.0023 37.135 34.8898 37.6058 34.9936M30.9055 39.2897C27.0238 39.7681 19.3129 40.934 18.2675 41.1972C17.3295 41.4334 16.0202 41.9855 15.2395 44.1832C14.3721 46.625 11.8936 50.8288 11.2789 52.2955C10.8623 53.2898 10.8889 54.2787 11.1838 55.4496M45.4716 47.6877C44.4948 47.3407 42.153 45.9878 41.1061 45.362C40.6721 46.7644 39.952 50.2148 39.3154 53.0178M38.7914 55.5955C38.9314 54.7873 39.1128 53.9098 39.3154 53.0178M39.3154 53.0178C39.0499 51.7505 38.2298 47.8908 38.2707 47.3469M42.7686 57.2622C41.3029 56.4454 36.9345 54.5789 32.2064 54.1686M29.6968 58.3303C29.9627 57.7688 30.2811 57.1656 30.6465 56.5348M30.6465 56.5348C32.5151 53.3085 35.6123 49.362 39.1944 46.6002C41.7019 45.0794 42.798 43.8399 43.4243 43.0893C44.2875 41.9037 44.9087 40.8663 45.4579 39.6867M30.6465 56.5348C31.1342 58.5613 32.1316 63.2314 32.2195 65.6995M23.4446 48.1204C27.2268 44.9594 30.3657 41.5164 31.5483 40.0764C32.7998 37.9825 34.87 36.491 36.0384 35.833C36.5604 35.539 36.9784 35.3477 37.6058 34.9936M23.4446 48.1204C23.0545 48.4464 22.6576 48.7694 22.2553 49.0869C21.5765 49.5912 20.5582 50.3185 19.4224 51.0817M23.4446 48.1204C22.6641 48.0946 21.5212 47.9377 21.0504 47.8339C20.8398 47.7875 20.5577 49.4092 19.4224 51.0817M19.4224 51.0817C17.5285 52.3543 15.3083 53.7266 13.7925 54.3307C11.4755 55.1365 5.71396 57.9214 1.20372 62.6147C0.264091 63.5924 -1.89676 66.0191 -3.02311 67.9036C-4.50225 69.3878 -6.57154 72.3546 -10.2749 77.9564C-11.5088 80.12 -15.0089 86.3525 -16.8453 88.9494L3.66348 94.4577C6.52141 83.7325 32.2346 74.5895 40.6493 71.8036C42.2911 71.26 43.3132 70.021 44.1466 68.0324C44.841 66.3753 49.9661 53.3745 52.373 46.8392C53.1612 42.9053 50.985 40.4443 49.9556 39.8882C48.8575 39.9424 47.603 40.2583 45.4579 39.6867M45.4579 39.6867C46.1701 38.1573 46.6724 36.5627 46.504 35.8938C46.2056 34.709 45.7142 32.7575 42.7855 32.6056C41.9335 32.5614 39.5528 33.8946 37.6058 34.9936'
}
stroke={'#F5F0FF'}
strokeWidth={'0.862458'}
strokeLinecap={'round'}
strokeLinejoin={'round'}
/>
</g>
<defs>
<clipPath id={'clip0_1787_1240'}>
<rect
width={'80'}
height={'80'}
rx={'40'}
fill={'white'}
/>
</clipPath>
</defs>
</svg>
);
}