Update AssetsPreview for .html files
This commit is contained in:
parent
7ec8f94fb6
commit
db44f85fdc
@ -96,6 +96,18 @@ export const AssetsPreview = ({ assetFilesArray, updateMetadataFileIndex }: Asse
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{getAssetType(assetSource.name) === 'html' && (
|
||||||
|
<div className="flex absolute flex-col items-center mt-4 ml-2">
|
||||||
|
<img
|
||||||
|
key={`html-${index}`}
|
||||||
|
alt="html_icon"
|
||||||
|
className={clsx('mb-2 ml-1 w-10 h-10 thumbnail')}
|
||||||
|
src="/html.png"
|
||||||
|
/>
|
||||||
|
<span className="flex self-center">{assetSource.name.toLowerCase()}</span>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
</label>
|
</label>
|
||||||
</button>
|
</button>
|
||||||
))
|
))
|
||||||
|
@ -488,7 +488,7 @@ export const UploadDetails = ({ onChange, minterType, baseMinterAcquisitionMetho
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<Conditional test={assetFilesArray.length > 1}>
|
<Conditional test={assetFilesArray.length >= 1}>
|
||||||
<MetadataModal
|
<MetadataModal
|
||||||
assetFile={assetFilesArray[metadataFileArrayIndex]}
|
assetFile={assetFilesArray[metadataFileArrayIndex]}
|
||||||
metadataFile={metadataFilesArray[metadataFileArrayIndex]}
|
metadataFile={metadataFilesArray[metadataFileArrayIndex]}
|
||||||
|
BIN
public/html.png
Normal file
BIN
public/html.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
Loading…
Reference in New Issue
Block a user