hide if featured list is empty

This commit is contained in:
liangping 2023-12-03 09:50:37 +08:00
parent 5e36425f00
commit 4555bb9424

View File

@ -71,11 +71,11 @@ const chainStore = useBlockchain()
<progress class="progress progress-info w-80 h-1"></progress> <progress class="progress progress-info w-80 h-1"></progress>
</div> </div>
<div class="text-center text-base mt-6 text-primary"> <div v-if="featured.length>0" class="text-center text-base mt-6 text-primary">
<h2 class="mb-6"> Featured Blockchains 🔥 </h2> <h2 class="mb-6"> Featured Blockchains 🔥 </h2>
</div> </div>
<div <div v-if="featured.length>0"
class="grid grid-cols-1 gap-4 mt-6 md:!grid-cols-3 lg:!grid-cols-4 2xl:!grid-cols-5" class="grid grid-cols-1 gap-4 mt-6 md:!grid-cols-3 lg:!grid-cols-4 2xl:!grid-cols-5"
> >
<ChainSummary <ChainSummary