Skip to content

Commit

Permalink
Merge pull request #102 from Giveth/resolving_givback_icons
Browse files Browse the repository at this point in the history
Fixing giveth 32 and 64 GIV economy back icons
  • Loading branch information
MohammadPCh authored Jun 2, 2024
2 parents d83976b + 55f6d57 commit 3eb9553
Show file tree
Hide file tree
Showing 7 changed files with 99 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/icons/giv-economy/Back/Back32.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ export const IconGIVBack32: FC<IIconProps> = ({
width={size}
height={size}
fill='none'
viewBox='0 0 24 24'
viewBox='0 0 32 32'
xmlns='http://www.w3.org/2000/svg'
>
<path
d='M53.384 18.356a4.182 4.182 0 0 0-3.769-.58.608.608 0 0 0-.398.557v11.405c0 .308-.123.602-.343.82a1.176 1.176 0 0 1-1.655 0 1.154 1.154 0 0 1-.343-.82V14.67a3.978 3.978 0 0 0-.443-1.836 4.02 4.02 0 0 0-1.242-1.433 4.182 4.182 0 0 0-3.84-.58.608.608 0 0 0-.398.557v14.883c0 .307-.123.602-.342.82a1.176 1.176 0 0 1-1.656 0 1.153 1.153 0 0 1-.342-.82V10.034a4.06 4.06 0 0 0-1.19-2.823A4.14 4.14 0 0 0 34.586 6c-.472.002-.94.088-1.381.255a.561.561 0 0 0-.374.533v19.473c0 .307-.124.602-.343.82a1.177 1.177 0 0 1-1.656 0 1.154 1.154 0 0 1-.343-.82V14.67a4.037 4.037 0 0 0-1.2-2.869 4.117 4.117 0 0 0-2.896-1.188 4.117 4.117 0 0 0-2.897 1.188 4.037 4.037 0 0 0-1.2 2.869v23.182a.575.575 0 0 1-.414.565.59.59 0 0 1-.663-.24l-4.962-6.955a4.08 4.08 0 0 0-5.55-.822 4.007 4.007 0 0 0-1.635 2.52 3.979 3.979 0 0 0 .583 2.938L22.46 53.755a7.514 7.514 0 0 0 2.697 2.38 7.597 7.597 0 0 0 3.507.865h11.704c3.88 0 7.602-1.526 10.346-4.244a14.418 14.418 0 0 0 4.285-10.245V21.648a3.978 3.978 0 0 0-.406-1.84 4.018 4.018 0 0 0-1.21-1.452ZM46.36 43.253l-7.35 7.673a1.2 1.2 0 0 1-.843.348 1.132 1.132 0 0 1-.843-.348l-7.444-7.673a5.476 5.476 0 0 1-1.552-3.01 5.447 5.447 0 0 1 .522-3.342 5.41 5.41 0 0 1 1.607-2.025 5.48 5.48 0 0 1 2.373-1.058 5.577 5.577 0 0 1 2.601.197c.84.27 1.6.735 2.22 1.356l.399.371.374-.37a5.557 5.557 0 0 1 2.233-1.36 5.6 5.6 0 0 1 2.613-.194 5.46 5.46 0 0 1 2.41.996 5.39 5.39 0 0 1 1.663 1.995 5.447 5.447 0 0 1 .556 3.39 5.476 5.476 0 0 1-1.586 3.054h.047Z'
d='M29.8487 7.75273C29.5127 7.50898 29.1226 7.34872 28.711 7.28544C28.2995 7.22215 27.8786 7.2577 27.4839 7.38909C27.4115 7.41551 27.349 7.463 27.3044 7.52531C27.2598 7.58762 27.2353 7.66183 27.2342 7.73818V14.8945C27.2342 15.0874 27.1568 15.2724 27.0191 15.4088C26.8813 15.5452 26.6946 15.6218 26.4998 15.6218C26.305 15.6218 26.1182 15.5452 25.9805 15.4088C25.8427 15.2724 25.7654 15.0874 25.7654 14.8945V5.44C25.7666 5.03947 25.6713 4.64443 25.4874 4.28772C25.3035 3.931 25.0362 3.62292 24.7078 3.38909C24.3668 3.13821 23.969 2.97389 23.5491 2.9105C23.1291 2.84711 22.6999 2.88657 22.299 3.02545C22.2266 3.05188 22.164 3.09937 22.1195 3.16168C22.0749 3.22399 22.0504 3.2982 22.0493 3.37455V12.7127C22.0493 12.9056 21.9719 13.0906 21.8342 13.227C21.6964 13.3634 21.5096 13.44 21.3148 13.44C21.1201 13.44 20.9333 13.3634 20.7955 13.227C20.6578 13.0906 20.5804 12.9056 20.5804 12.7127V2.53091C20.573 1.86696 20.3053 1.23186 19.834 0.759643C19.3626 0.287427 18.7244 0.0150496 18.0541 0C17.7578 0.00107155 17.4642 0.0552801 17.1875 0.16C17.1178 0.184365 17.0577 0.229763 17.0155 0.289787C16.9734 0.349812 16.9513 0.421434 16.9525 0.494546V12.7127C16.9525 12.9056 16.8751 13.0906 16.7374 13.227C16.5996 13.3634 16.4128 13.44 16.218 13.44C16.0233 13.44 15.8365 13.3634 15.6987 13.227C15.561 13.0906 15.4836 12.9056 15.4836 12.7127V5.44C15.4836 4.7649 15.2128 4.11746 14.7308 3.64009C14.2487 3.16273 13.5949 2.89455 12.9132 2.89455C12.2315 2.89455 11.5777 3.16273 11.0956 3.64009C10.6136 4.11746 10.3428 4.7649 10.3428 5.44V19.9855C10.3442 20.0645 10.3195 20.1418 10.2726 20.2058C10.2256 20.2697 10.1589 20.3167 10.0825 20.3398C10.0062 20.3628 9.92431 20.3605 9.84935 20.3333C9.77439 20.3061 9.71042 20.2555 9.66712 20.1891L6.55323 15.8255C6.15242 15.3108 5.56607 14.9697 4.91698 14.8735C4.26789 14.7774 3.60641 14.9337 3.07107 15.3096C2.53572 15.6856 2.16805 16.2522 2.04504 16.8906C1.92203 17.529 2.05323 18.1898 2.41116 18.7345L10.4456 29.9636C10.8791 30.5901 11.4599 31.1029 12.1379 31.4576C12.816 31.8124 13.5711 31.9985 14.338 32H21.682C24.1168 32 26.4518 31.0422 28.1734 29.3373C29.895 27.6325 30.8622 25.3202 30.8622 22.9091V9.81818C30.8708 9.41897 30.7834 9.02344 30.6072 8.66429C30.431 8.30514 30.171 7.99268 29.8487 7.75273ZM25.4422 23.3745L20.8301 28.1891C20.69 28.3283 20.4998 28.4068 20.3014 28.4073C20.2027 28.4096 20.1047 28.3913 20.0136 28.3538C19.9225 28.3162 19.8404 28.2601 19.7726 28.1891L15.1017 23.3745C14.5847 22.8618 14.244 22.2007 14.128 21.4853C14.0119 20.7698 14.1265 20.0364 14.4555 19.3891C14.6833 18.8911 15.0293 18.4551 15.4641 18.1182C15.8989 17.7814 16.4095 17.5537 16.9525 17.4545C17.4987 17.3659 18.0585 17.4082 18.5849 17.5777C19.1113 17.7473 19.5891 18.0392 19.9782 18.4291L20.2279 18.6618L20.4629 18.4291C20.8543 18.038 21.3346 17.7454 21.8636 17.5759C22.3925 17.4063 22.9548 17.3647 23.5034 17.4545C24.0514 17.5378 24.5706 17.7523 25.016 18.0792C25.4613 18.4062 25.8194 18.8359 26.0591 19.3309C26.4019 19.9848 26.5241 20.7303 26.4078 21.458C26.2915 22.1857 25.9428 22.8574 25.4128 23.3745H25.4422Z'
fill={color}
/>
</svg>
Expand Down
4 changes: 2 additions & 2 deletions src/components/icons/giv-economy/Back/Back64.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ export const IconGIVBack64: FC<IIconProps> = ({
width={size}
height={size}
fill='none'
viewBox='0 0 24 24'
viewBox='0 0 64 64'
xmlns='http://www.w3.org/2000/svg'
>
<path
d='M53.384 18.356a4.182 4.182 0 0 0-3.769-.58.608.608 0 0 0-.398.557v11.405c0 .308-.123.602-.343.82a1.176 1.176 0 0 1-1.655 0 1.154 1.154 0 0 1-.343-.82V14.67a3.978 3.978 0 0 0-.443-1.836 4.02 4.02 0 0 0-1.242-1.433 4.182 4.182 0 0 0-3.84-.58.608.608 0 0 0-.398.557v14.883c0 .307-.123.602-.342.82a1.176 1.176 0 0 1-1.656 0 1.153 1.153 0 0 1-.342-.82V10.034a4.06 4.06 0 0 0-1.19-2.823A4.14 4.14 0 0 0 34.586 6c-.472.002-.94.088-1.381.255a.561.561 0 0 0-.374.533v19.473c0 .307-.124.602-.343.82a1.177 1.177 0 0 1-1.656 0 1.154 1.154 0 0 1-.343-.82V14.67a4.037 4.037 0 0 0-1.2-2.869 4.117 4.117 0 0 0-2.896-1.188 4.117 4.117 0 0 0-2.897 1.188 4.037 4.037 0 0 0-1.2 2.869v23.182a.575.575 0 0 1-.414.565.59.59 0 0 1-.663-.24l-4.962-6.955a4.08 4.08 0 0 0-5.55-.822 4.007 4.007 0 0 0-1.635 2.52 3.979 3.979 0 0 0 .583 2.938L22.46 53.755a7.514 7.514 0 0 0 2.697 2.38 7.597 7.597 0 0 0 3.507.865h11.704c3.88 0 7.602-1.526 10.346-4.244a14.418 14.418 0 0 0 4.285-10.245V21.648a3.978 3.978 0 0 0-.406-1.84 4.018 4.018 0 0 0-1.21-1.452ZM46.36 43.253l-7.35 7.673a1.2 1.2 0 0 1-.843.348 1.132 1.132 0 0 1-.843-.348l-7.444-7.673a5.476 5.476 0 0 1-1.552-3.01 5.447 5.447 0 0 1 .522-3.342 5.41 5.41 0 0 1 1.607-2.025 5.48 5.48 0 0 1 2.373-1.058 5.577 5.577 0 0 1 2.601.197c.84.27 1.6.735 2.22 1.356l.399.371.374-.37a5.557 5.557 0 0 1 2.233-1.36 5.6 5.6 0 0 1 2.613-.194 5.46 5.46 0 0 1 2.41.996 5.39 5.39 0 0 1 1.663 1.995 5.447 5.447 0 0 1 .556 3.39 5.476 5.476 0 0 1-1.586 3.054h.047Z'
d='M53.3838 18.3559C52.8484 17.9674 52.2266 17.712 51.5707 17.6112C50.9148 17.5103 50.2441 17.567 49.6149 17.7764C49.4996 17.8185 49.3999 17.8942 49.3289 17.9935C49.2578 18.0928 49.2188 18.211 49.217 18.3327V29.7382C49.217 30.0456 49.0937 30.3404 48.8741 30.5578C48.6546 30.7752 48.3569 30.8973 48.0465 30.8973C47.7361 30.8973 47.4384 30.7752 47.2189 30.5578C46.9994 30.3404 46.876 30.0456 46.876 29.7382V14.67C46.8781 14.0317 46.7262 13.4021 46.433 12.8335C46.1399 12.265 45.7139 11.774 45.1906 11.4014C44.6472 11.0015 44.0131 10.7396 43.3438 10.6386C42.6746 10.5376 41.9905 10.6005 41.3515 10.8218C41.2362 10.8639 41.1364 10.9396 41.0654 11.0389C40.9944 11.1382 40.9554 11.2565 40.9535 11.3782V26.2609C40.9535 26.5683 40.8302 26.8631 40.6107 27.0805C40.3912 27.2979 40.0935 27.42 39.783 27.42C39.4726 27.42 39.1749 27.2979 38.9554 27.0805C38.7359 26.8631 38.6126 26.5683 38.6126 26.2609V10.0336C38.6007 8.97547 38.1741 7.96327 37.4229 7.21068C36.6716 6.45809 35.6545 6.02399 34.5862 6C34.114 6.00171 33.6461 6.0881 33.205 6.255C33.0941 6.29383 32.9982 6.36618 32.931 6.46185C32.8638 6.55751 32.8287 6.67166 32.8305 6.78818V26.2609C32.8305 26.5683 32.7072 26.8631 32.4877 27.0805C32.2681 27.2979 31.9704 27.42 31.66 27.42C31.3496 27.42 31.0519 27.2979 30.8324 27.0805C30.6129 26.8631 30.4895 26.5683 30.4895 26.2609V14.67C30.4895 13.5941 30.0579 12.5622 29.2897 11.8014C28.5214 11.0406 27.4794 10.6132 26.3929 10.6132C25.3064 10.6132 24.2644 11.0406 23.4962 11.8014C22.7279 12.5622 22.2963 13.5941 22.2963 14.67V37.8518C22.2985 37.9778 22.2593 38.1011 22.1844 38.2029C22.1096 38.3048 22.0033 38.3798 21.8816 38.4165C21.7598 38.4532 21.6294 38.4496 21.5099 38.4062C21.3904 38.3629 21.2885 38.2822 21.2195 38.1764L16.2567 31.2218C15.6179 30.4016 14.6834 29.8579 13.6489 29.7047C12.6145 29.5514 11.5602 29.8005 10.707 30.3997C9.85381 30.999 9.26783 31.9019 9.07178 32.9193C8.87574 33.9368 9.08484 34.99 9.65529 35.8582L22.4602 53.7545C23.151 54.753 24.0767 55.5702 25.1574 56.1356C26.2381 56.701 27.4414 56.9976 28.6636 57H40.3683C44.2486 57 47.97 55.4735 50.7138 52.7564C53.4576 50.0392 54.9991 46.354 54.9991 42.5114V21.6477C55.0129 21.0115 54.8736 20.3811 54.5927 19.8087C54.3119 19.2363 53.8975 18.7383 53.3838 18.3559ZM46.361 43.2532L39.0105 50.9264C38.7872 51.1483 38.4841 51.2733 38.1678 51.2741C38.0106 51.2778 37.8543 51.2487 37.7092 51.1888C37.564 51.1289 37.4331 51.0395 37.3251 50.9264L29.8809 43.2532C29.0569 42.436 28.5138 41.3824 28.3289 40.2422C28.144 39.1019 28.3267 37.933 28.8509 36.9014C29.2139 36.1077 29.7655 35.4128 30.4584 34.8759C31.1514 34.339 31.9652 33.9761 32.8305 33.8182C33.7011 33.677 34.5932 33.7443 35.4322 34.0145C36.2712 34.2847 37.0326 34.75 37.6528 35.3714L38.0507 35.7423L38.4253 35.3714C39.049 34.7481 39.8145 34.2818 40.6575 34.0116C41.5006 33.7414 42.3968 33.675 43.271 33.8182C44.1444 33.9509 44.9719 34.2927 45.6817 34.8138C46.3915 35.3349 46.9622 36.0197 47.3442 36.8086C47.8905 37.8508 48.0853 39.0389 47.8999 40.1987C47.7145 41.3585 47.1588 42.429 46.3142 43.2532H46.361Z'
fill={color}
/>
</svg>
Expand Down
19 changes: 19 additions & 0 deletions src/stories/icons/GIVEconomyBack/GIVEconomyBack.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import React from 'react';
import { ComponentStory, ComponentMeta } from '@storybook/react';

import { IconGIVBack } from '../../../components/icons/giv-economy/Back/Back';

export default {
title: 'Example/Icons/GIVEconomyBack/GIVEconomyBack',
component: IconGIVBack,
} as ComponentMeta<typeof IconGIVBack>;

const Template: ComponentStory<typeof IconGIVBack> = args => (
<IconGIVBack {...args} />
);

export const GIVEconomyBack = Template.bind({});
GIVEconomyBack.args = {
color: 'white',
size: 24,
};
19 changes: 19 additions & 0 deletions src/stories/icons/GIVEconomyBack/GIVEconomyBack16.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import React from 'react';
import { ComponentStory, ComponentMeta } from '@storybook/react';

import { IconGIVBack16 } from '../../../components/icons/giv-economy/Back/Back16';

export default {
title: 'Example/Icons/GIVEconomyBack/GIVEconomyBack16',
component: IconGIVBack16,
} as ComponentMeta<typeof IconGIVBack16>;

const Template: ComponentStory<typeof IconGIVBack16> = args => (
<IconGIVBack16 {...args} />
);

export const GIVEconomyBack16 = Template.bind({});
GIVEconomyBack16.args = {
color: 'white',
size: 16,
};
19 changes: 19 additions & 0 deletions src/stories/icons/GIVEconomyBack/GIVEconomyBack24.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import React from 'react';
import { ComponentStory, ComponentMeta } from '@storybook/react';

import { IconGIVBack24 } from '../../../components/icons/giv-economy/Back/Back24';

export default {
title: 'Example/Icons/GIVEconomyBack/GIVEconomyBack24',
component: IconGIVBack24,
} as ComponentMeta<typeof IconGIVBack24>;

const Template: ComponentStory<typeof IconGIVBack24> = args => (
<IconGIVBack24 {...args} />
);

export const GIVEconomyBack24 = Template.bind({});
GIVEconomyBack24.args = {
color: 'white',
size: 24,
};
19 changes: 19 additions & 0 deletions src/stories/icons/GIVEconomyBack/GIVEconomyBack32.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import React from 'react';
import { ComponentStory, ComponentMeta } from '@storybook/react';

import { IconGIVBack32 } from '../../../components/icons/giv-economy/Back/Back32';

export default {
title: 'Example/Icons/GIVEconomyBack/GIVEconomyBack32',
component: IconGIVBack32,
} as ComponentMeta<typeof IconGIVBack32>;

const Template: ComponentStory<typeof IconGIVBack32> = args => (
<IconGIVBack32 {...args} />
);

export const GIVEconomyBack32 = Template.bind({});
GIVEconomyBack32.args = {
color: 'white',
size: 32,
};
19 changes: 19 additions & 0 deletions src/stories/icons/GIVEconomyBack/GIVEconomyBack64.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import React from 'react';
import { ComponentStory, ComponentMeta } from '@storybook/react';

import { IconGIVBack64 } from '../../../components/icons/giv-economy/Back/Back64';

export default {
title: 'Example/Icons/GIVEconomyBack/GIVEconomyBack64',
component: IconGIVBack64,
} as ComponentMeta<typeof IconGIVBack64>;

const Template: ComponentStory<typeof IconGIVBack64> = args => (
<IconGIVBack64 {...args} />
);

export const GIVEconomyBack64 = Template.bind({});
GIVEconomyBack64.args = {
color: 'white',
size: 64,
};

0 comments on commit 3eb9553

Please sign in to comment.