Remove category count

This commit is contained in:
marzban-dev
2025-03-06 18:16:51 +03:30
parent 6a80b10a8b
commit f7dcebd278
+7 -15
View File
@@ -37,28 +37,20 @@ const { colorObject } = useImageColor(`#category-image-${id.value}`);
/>
<div
class="absolute z-20 bottom-0 p-4 md:p-6 flex items-end justify-between w-full"
class="absolute z-20 bottom-0 p-4 md:p-6 flex items-center justify-between w-full"
>
<div
:class="
colorObject?.isLight && !darkLayer
? 'text-black'
: 'text-white'
"
class="flex flex-col gap-2"
:class="colorObject?.isLight && !darkLayer ? 'text-black': 'text-white'"
class="typo-sub-h-sm md:typo-sub-h-md"
>
<div class="typo-sub-h-sm md:typo-sub-h-md">
{{ category }}
<span class="typo-p-xs -translate-y-1 inline-block mr-1">
{{ count }}
</span>
</div>
<span class="typo-p-sm md:typo-p-md">محصولات ما را مشاهده کنید</span>
{{ category }}
</div>
<Icon
name="ci:arrow-left"
class="mb-1 size-5 md:size-6"
class="size-5 md:size-6"
:class="
colorObject?.isLight && !darkLayer
? '**:stroke-black'