Display updatable metadata price on collection details

This commit is contained in:
Serkan Reis 2023-09-21 14:29:21 +03:00
parent 23e6278f30
commit 2f2a7c6a76
2 changed files with 14 additions and 5 deletions

View File

@ -269,7 +269,10 @@ export const CollectionDetails = ({
> >
<div className={clsx('flex flex-col mt-11 space-y-2 w-full form-control')}> <div className={clsx('flex flex-col mt-11 space-y-2 w-full form-control')}>
<label className="justify-start cursor-pointer label"> <label className="justify-start cursor-pointer label">
<span className="mr-4 font-bold">Updatable Token Metadata</span> <div className="flex flex-col">
<span className="mr-4 font-bold">Updatable Token Metadata</span>
<span className="mr-4">(Price: 2000 STARS)</span>
</div>
<input <input
checked={updatable} checked={updatable}
className={`toggle ${updatable ? `bg-stargaze` : `bg-gray-600`}`} className={`toggle ${updatable ? `bg-stargaze` : `bg-gray-600`}`}
@ -391,11 +394,14 @@ export const CollectionDetails = ({
className={clsx( className={clsx(
minterType === 'base' minterType === 'base'
? 'flex flex-col -ml-16 space-y-2 w-1/2 form-control' ? 'flex flex-col -ml-16 space-y-2 w-1/2 form-control'
: 'flex flex-col space-y-2 w-3/4 form-control', : 'flex flex-col space-y-2 w-full form-control',
)} )}
> >
<label className="justify-start cursor-pointer label"> <label className="justify-start cursor-pointer label">
<span className="mr-4 font-bold">Updatable Token Metadata</span> <div className="flex flex-col">
<span className="mr-4 font-bold">Updatable Token Metadata</span>
<span className="mr-4">(Price: 2000 STARS)</span>
</div>
<input <input
checked={updatable} checked={updatable}
className={`toggle ${updatable ? `bg-stargaze` : `bg-gray-600`}`} className={`toggle ${updatable ? `bg-stargaze` : `bg-gray-600`}`}

View File

@ -370,9 +370,12 @@ export const CollectionDetails = ({
} }
placement="bottom" placement="bottom"
> >
<div className={clsx('flex flex-col space-y-2 w-3/4 form-control')}> <div className={clsx('flex flex-col space-y-2 w-full form-control')}>
<label className="justify-start cursor-pointer label"> <label className="justify-start cursor-pointer label">
<span className="mr-4 font-bold">Updatable Token Metadata</span> <div className="flex flex-col">
<span className="mr-4 font-bold">Updatable Token Metadata</span>
<span className="mr-4">(Price: 2000 STARS)</span>
</div>
<input <input
checked={updatable} checked={updatable}
className={`toggle ${updatable ? `bg-stargaze` : `bg-gray-600`}`} className={`toggle ${updatable ? `bg-stargaze` : `bg-gray-600`}`}