Skip to content

Commit

Permalink
feat: #841/add more icons for product type
Browse files Browse the repository at this point in the history
  • Loading branch information
tsvetelina-e-y committed May 26, 2020
1 parent 119388d commit 59ba7aa
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 4 deletions.
26 changes: 22 additions & 4 deletions apps/api/src/environments/environment.ts
Expand Up @@ -426,7 +426,7 @@ export const environment: IEnvironment = {
name: 'Physical Products',
description:
'Can be touched or tangible, solid, dust or liquid state in a container.',
icon: ProductTypesIconsEnum.RADIO_BTN_OFF,
icon: ProductTypesIconsEnum.CHECKMARK,
},
{
name: 'Digital Products',
Expand All @@ -450,12 +450,12 @@ export const environment: IEnvironment = {
name: 'Supplies',
description:
'Items purchased and typically used up during the year.',
icon: ProductTypesIconsEnum.SETTINGS,
icon: ProductTypesIconsEnum.SHOPPING_CART,
},
{
name: 'Experiences',
description: 'Knowledge or skill in a particular job or activity',
icon: ProductTypesIconsEnum.STAR,
icon: ProductTypesIconsEnum.LAYERS,
},
{
name: 'Specialty Goods',
Expand All @@ -470,7 +470,19 @@ export const environment: IEnvironment = {
{
name: 'Industrial goods',
description: 'Bought and used for industrial and business use',
icon: ProductTypesIconsEnum.HOME,
icon: ProductTypesIconsEnum.RADIO_BTN_OFF,
},
{
name: 'Amenities',
description:
'Any feature that provides comfort, convenience, or pleasure',
icon: ProductTypesIconsEnum.STAR,
},
{
name: 'Animals',
description:
'Animals consume organic material, breathe oxygen, are able to move',
icon: ProductTypesIconsEnum.HEART,
},
],
defaultProductCategories: [
Expand Down Expand Up @@ -532,6 +544,12 @@ export const environment: IEnvironment = {
'Used to make a room or building suitable for living or working in',
imageUrl: 'assets/images/products/furniture.png',
},
{
name: 'Pets',
description:
"An animal kept primarily for a person's company or entertainment rather than as a working animal",
imageUrl: 'assets/images/products/dog.png',
},
],
sentry: {
dns: 'https://19293d39eaa14d03aac4d3c156c4d30e@sentry.io/4397292',
Expand Down
Binary file added apps/gauzy/src/assets/images/products/dog.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions libs/models/src/lib/product.model.ts
Expand Up @@ -92,4 +92,12 @@ export enum ProductTypesIconsEnum {
STAR = 'star-outline',
SHOPPING_BAG = 'shopping-bag-outline',
SHARE = 'share-outline',
ACTIVITY = 'activity-outline',
ALERT = 'alert-triangle-outline',
BULB = 'bulb-outline',
CHECKMARK = 'checkmark-circle-outline',
GLOBE = 'globe-2-outline',
LAYERS = 'layers-outline',
PHONE = 'phone-outline',
SHOPPING_CART = 'shopping-cart-outline',
}

0 comments on commit 59ba7aa

Please sign in to comment.