From db44f85fdc24e905af0a54895dbfdb45cca9cb4e Mon Sep 17 00:00:00 2001 From: Serkan Reis Date: Tue, 24 Jan 2023 11:16:29 +0300 Subject: [PATCH] Update AssetsPreview for .html files --- components/AssetsPreview.tsx | 12 ++++++++++++ .../collections/creation/UploadDetails.tsx | 2 +- public/html.png | Bin 0 -> 14672 bytes 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 public/html.png diff --git a/components/AssetsPreview.tsx b/components/AssetsPreview.tsx index a6f88e3..5803db4 100644 --- a/components/AssetsPreview.tsx +++ b/components/AssetsPreview.tsx @@ -96,6 +96,18 @@ export const AssetsPreview = ({ assetFilesArray, updateMetadataFileIndex }: Asse /> )} + + {getAssetType(assetSource.name) === 'html' && ( +
+ html_icon + {assetSource.name.toLowerCase()} +
+ )} )) diff --git a/components/collections/creation/UploadDetails.tsx b/components/collections/creation/UploadDetails.tsx index d576317..53ecb54 100644 --- a/components/collections/creation/UploadDetails.tsx +++ b/components/collections/creation/UploadDetails.tsx @@ -488,7 +488,7 @@ export const UploadDetails = ({ onChange, minterType, baseMinterAcquisitionMetho )} - 1}> + = 1}> ^&cZE3$E_8* zxP}w>1H%~KJJj)xp5~{>ZPNCn^;-Pc8T6797hshLT=3aHAmsX9{OfRc85V6g;eBnI zO#jP#$k|y4BTJP4D}nE1dnfx#K~~)1HrUj6)^BaVX6ncb`wo}fzR^>uG-}Afxk`{k z(0-d`6)o!-i}2Lz*kkYI#HzD7?JZUU@6)a4E_J0RtNv(TuO0J-SCqHq_&&3x9j-1K zwq`=~nscuOJWD*~Gw$_TLX4+FZJjuR7WT|v8d}jmhI=E*`Zncn*7Z!hby0Zj_sLa zzlnWAz5ec*G72Z;Ca8MWS@+OcA}G+v-*fmmbw~QNXYEFQTK$#LhfOSXexbU{cTqe zcZJ%nIyiRZ##r6qzKO47AQ4d17<`|`@ZD0^g_@xbxf z`w3cLXs8cV%zy6L}7^$g6_oizra(?gmYh&tSvpW_c51HaWaqn!) z)&}EBo5l4;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