Skip to content

Commit

Permalink
Feat: Bean boy illustrations (front, upleft, and animation steps 1-5)
Browse files Browse the repository at this point in the history
  • Loading branch information
KristamMoffett committed Dec 14, 2022
1 parent 2576b44 commit 86c98ce
Show file tree
Hide file tree
Showing 11 changed files with 3,569 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/hip-mirrors-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@web3uikit/core': patch
---

Added bean boy illustrations (front, upleft, and animation steps 1-5)
35 changes: 35 additions & 0 deletions packages/core/src/lib/Illustrations/Illustration.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,3 +167,38 @@ export const Data = Template.bind({});
Data.args = {
logo: 'data',
};

export const BeanBoyFront = Template.bind({});
BeanBoyFront.args = {
logo: 'beanBoyFront',
};

export const BeanBoyUpLeft = Template.bind({});
BeanBoyUpLeft.args = {
logo: 'beanBoyUpLeft',
};

export const BeanBoyStepOne = Template.bind({});
BeanBoyStepOne.args = {
logo: 'beanBoyStepOne',
};

export const BeanBoyStepTwo = Template.bind({});
BeanBoyStepTwo.args = {
logo: 'beanBoyStepTwo',
};

export const BeanBoyStepThree = Template.bind({});
BeanBoyStepThree.args = {
logo: 'beanBoyStepThree',
};

export const BeanBoyStepFour = Template.bind({});
BeanBoyStepFour.args = {
logo: 'beanBoyStepFour',
};

export const BeanBoyStepFive = Template.bind({});
BeanBoyStepFive.args = {
logo: 'beanBoyStepFive',
};
21 changes: 21 additions & 0 deletions packages/core/src/lib/Illustrations/Illustration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ import { Suspense } from 'react';
import { Skeleton } from '../Skeleton';
import plugins from './images/various/plugins';
import data from './images/various/data';
import beanBoyFront from './images/various/beanBoyFront';
import beanBoyUpLeft from './images/various/beanBoyUpLeft';
import beanBoyStepOne from './images/various/beanBoyStepOne';
import beanBoyStepTwo from './images/various/beanBoyStepTwo';
import beanBoyStepThree from './images/various/beanBoyStepThree';
import beanBoyStepFour from './images/various/beanBoyStepFour';
import beanBoyStepFive from './images/various/beanBoyStepFive';

const getLogo = (logo: Chain | Logo, width?: Size, height?: Size) => {
switch (logo) {
Expand Down Expand Up @@ -56,6 +63,20 @@ const getLogo = (logo: Chain | Logo, width?: Size, height?: Size) => {
return plugins(width, height);
case 'data':
return data(width, height);
case 'beanBoyFront':
return beanBoyFront(width, height);
case 'beanBoyUpLeft':
return beanBoyUpLeft(width, height);
case 'beanBoyStepOne':
return beanBoyStepOne(width, height);
case 'beanBoyStepTwo':
return beanBoyStepTwo(width, height);
case 'beanBoyStepThree':
return beanBoyStepThree(width, height);
case 'beanBoyStepFour':
return beanBoyStepFour(width, height);
case 'beanBoyStepFive':
return beanBoyStepFive(width, height);
default:
const chainLogos = Object.values(AllChains);
const ChainLogo = chainLogos.find(
Expand Down
486 changes: 486 additions & 0 deletions packages/core/src/lib/Illustrations/images/various/beanBoyFront.tsx

Large diffs are not rendered by default.

483 changes: 483 additions & 0 deletions packages/core/src/lib/Illustrations/images/various/beanBoyStepFive.tsx

Large diffs are not rendered by default.

503 changes: 503 additions & 0 deletions packages/core/src/lib/Illustrations/images/various/beanBoyStepFour.tsx

Large diffs are not rendered by default.

441 changes: 441 additions & 0 deletions packages/core/src/lib/Illustrations/images/various/beanBoyStepOne.tsx

Large diffs are not rendered by default.

Large diffs are not rendered by default.

484 changes: 484 additions & 0 deletions packages/core/src/lib/Illustrations/images/various/beanBoyStepTwo.tsx

Large diffs are not rendered by default.

645 changes: 645 additions & 0 deletions packages/core/src/lib/Illustrations/images/various/beanBoyUpLeft.tsx

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions packages/core/src/lib/Illustrations/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ export const logoState = [
'wizard',
'data',
'plugins',
'beanBoyFront',
'beanBoyUpLeft',
'beanBoyStepOne',
'beanBoyStepTwo',
'beanBoyStepThree',
'beanBoyStepFour',
'beanBoyStepFive',
] as const;

export type Logo = typeof logoState[number];
Expand Down

0 comments on commit 86c98ce

Please sign in to comment.