Skip to content

Commit

Permalink
Add more icons
Browse files Browse the repository at this point in the history
  • Loading branch information
didair committed Nov 7, 2023
1 parent d0bd3d0 commit 092c578
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 4 deletions.
39 changes: 36 additions & 3 deletions src/components/Icon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,6 @@ const Icon = ({ name, className }: {
case 'computer':
return <FontAwesomeIcon icon={solid('computer')} className={className} />

case 'champagne-glasses':
return <FontAwesomeIcon icon={solid('champagne-glasses')} className={className} />

case 'ArchetypesBollard':
return <ArchetypesBollard />

Expand Down Expand Up @@ -477,6 +474,42 @@ const Icon = ({ name, className }: {
case 'rotate':
return <FontAwesomeIcon icon={solid('rotate')} className={className} />

case 'blender':
return <FontAwesomeIcon icon={solid('blender')} className={className} />

case 'mug':
return <FontAwesomeIcon icon={solid('mug-hot')} className={className} />

case 'beer':
return <FontAwesomeIcon icon={solid('beer-mug-empty')} className={className} />

case 'wine-glass':
return <FontAwesomeIcon icon={solid('wine-glass')} className={className} />

case 'wine-bottle':
return <FontAwesomeIcon icon={solid('wine-bottle')} className={className} />

case 'whiskey-glass':
return <FontAwesomeIcon icon={solid('whiskey-glass')} className={className} />

case 'martini-citrus':
return <FontAwesomeIcon icon={solid('martini-glass-citrus')} className={className} />

case 'martini':
return <FontAwesomeIcon icon={solid('martini-glass')} className={className} />

case 'champagne-glasses':
return <FontAwesomeIcon icon={solid('champagne-glasses')} className={className} />

case 'glass-water':
return <FontAwesomeIcon icon={solid('glass-water')} className={className} />

case 'burger':
return <FontAwesomeIcon icon={solid('burger')} className={className} />

case 'pizza-slice':
return <FontAwesomeIcon icon={solid('pizza-slice')} className={className} />

default:
return null;
};
Expand Down
67 changes: 66 additions & 1 deletion src/constants/icons.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export const IconsList = [
{
name: 'arrow-up-down',
Expand Down Expand Up @@ -672,6 +671,72 @@ export const IconsList = [
on: 'rotate',
off: 'rotate',
},
{
name: 'mug',
preview: 'mug',
on: 'mug',
off: 'mug',
},
{
name: 'blender',
preview: 'blender',
on: 'blender',
off: 'blender',
},
{
name: 'beer',
preview: 'beer',
on: 'beer',
off: 'beer',
},
{
name: 'wine-glass',
preview: 'wine-glass',
on: 'wine-glass',
off: 'wine-glass',
},
{
name: 'wine-bottle',
preview: 'wine-bottle',
on: 'wine-bottle',
off: 'wine-bottle',
},
{
name: 'whiskey-glass',
preview: 'whiskey-glass',
on: 'whiskey-glass',
off: 'whiskey-glass',
},
{
name: 'martini-citrus',
preview: 'martini-citrus',
on: 'martini-citrus',
off: 'martini-citrus',
},
{
name: 'martini',
preview: 'martini',
on: 'martini',
off: 'martini',
},
{
name: 'glass-water',
preview: 'glass-water',
on: 'glass-water',
off: 'glass-water',
},
{
name: 'burger',
preview: 'burger',
on: 'burger',
off: 'burger',
},
{
name: 'pizza-slice',
preview: 'pizza-slice',
on: 'pizza-slice',
off: 'pizza-slice',
},
];

export type IconNames = typeof IconsList[number]['name'];

0 comments on commit 092c578

Please sign in to comment.