added placeholder

This commit is contained in:
Mamalizz
2025-02-14 01:26:45 +03:30
parent b28b5c94ec
commit cfc320e314
+1 -8
View File
@@ -112,14 +112,7 @@ watch(
</ul>
<div v-else class="w-full h-max">
<div v-if="!products?.length" class="flex flex-grow w-full">
<div
class="flex-col flex-grow py-[12rem] gap-6 border-2 border-slate-200 border-dashed size-full rounded-100 flex-center"
>
<Icon name="bi:search" size="50" class="**:fill-gray-500" />
<span class="text-lg text-gray-500">
محصولی یافت نشد :(
</span>
</div>
<Placeholder title="محصولی یافت نشد :(" icon="bi:search" />
</div>
<ul v-else class="w-full grid grid-cols-3 gap-[1.5rem]">
<li v-for="(product, index) in products" :key="index">