Skip to content

Commit

Permalink
feat: Add correct image for programmatic and standard third parties
Browse files Browse the repository at this point in the history
  • Loading branch information
LautaroPetaccio committed Oct 8, 2024
1 parent 5b309ba commit a038bb8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,12 @@
display: flex;
gap: 24px;
flex-direction: row;
align-items: center;
}

.item img {
width: 225px;
height: 120px;
height: 88px;
}

.description {
Expand All @@ -133,7 +134,7 @@

.action {
display: flex;
justify-content: end;
justify-content: start;
}

.loader {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ import { generateCatalystImage, getModelPath } from 'modules/item/utils'
import { ThumbnailFileTooBigError } from 'modules/item/errors'
import ItemImport from 'components/ItemImport'
import { InfoIcon } from 'components/InfoIcon'
// These images are place-holders for the real ones
import collectionsImage from '../../../images/collections.png'
import linkedCollectionsImage from '../../../images/linked-collections.png'
import standardKindImage from '../../../images/standard.webp'
import programmaticKindImage from '../../../images/programmatic.webp'
import { useThirdPartyPrice } from '../PublishWizardCollectionModal/hooks'
import {
CreateOrEditMultipleItemsModalType,
Expand Down Expand Up @@ -502,15 +501,15 @@ export const CreateAndEditMultipleItemsModal: FC<Props> = (props: Props) => {
subtitle: t('create_and_edit_multiple_items_modal.third_party_kind_selector.standard.subtitle', {
price: ethers.utils.formatEther(thirdPartyPrice?.item.usd ?? 0)
}),
img: collectionsImage,
img: standardKindImage,
action: () => handleSetThirdPartyType(false)
},
{
title: t('create_and_edit_multiple_items_modal.third_party_kind_selector.programmatic.title'),
subtitle: t('create_and_edit_multiple_items_modal.third_party_kind_selector.programmatic.subtitle', {
price: ethers.utils.formatEther(thirdPartyPrice?.programmatic.usd ?? 0)
}),
img: linkedCollectionsImage,
img: programmaticKindImage,
action: () => handleSetThirdPartyType(true)
}
].map(({ title, subtitle, img, action }, index) => (
Expand Down
Binary file added src/images/programmatic.webp
Binary file not shown.
Binary file added src/images/standard.webp
Binary file not shown.

0 comments on commit a038bb8

Please sign in to comment.