Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: added not for sale case
Browse files Browse the repository at this point in the history
flobarreto committed May 22, 2023
1 parent f7bb18c commit c6c41d3
Showing 1 changed file with 38 additions and 1 deletion.
39 changes: 38 additions & 1 deletion webapp/src/components/AssetPage/BuyNFTBox/BuyNFTBox.tsx
Original file line number Diff line number Diff line change
@@ -144,7 +144,44 @@ const BuyNFTBox = ({ nft, address }: Props) => {
.
</span>
</div>
) : null}
) : (
nft && (
<div className={`${styles.containerColumn} ${styles.fullWidth}`}>
<div className={styles.informationContainer}>
<div className={styles.columnListing}>
<span className={styles.informationTitle}>
{t('best_buying_option.minting.price').toUpperCase()}
</span>
<div className={`${styles.containerRow} ${styles.issueNumber}`}>
{t('best_buying_option.buy_listing.no_offer')}
</div>
</div>
<div className={styles.columnListing}>
<span className={styles.informationTitle}>
{t('best_buying_option.buy_listing.make_offer').toUpperCase()}
</span>
<div className={`${styles.containerRow} ${styles.issueNumber}`}>
#{nft.issuedId}
</div>
</div>
</div>
<Button
href={locations.nft(nft.contractAddress, nft.tokenId)}
inverted
className={styles.makeOfferButton}
as={Link}
to={locations.bid(nft.contractAddress, nft.tokenId)}
>
<img
src={makeOffer}
alt={t('best_buying_option.buy_listing.make_offer')}
/>
&nbsp;
{t('best_buying_option.buy_listing.make_offer')}
</Button>
</div>
)
)}
</div>
)
}

0 comments on commit c6c41d3

Please sign in to comment.