Add products page link before category name

This commit is contained in:
marzban-dev
2026-05-26 10:57:27 +03:30
parent ee90708751
commit 886a3ee541
@@ -80,12 +80,25 @@ watch(
<div class="flex max-lg:flex-col lg:gap-12 xl:gap-16 container pt-[5rem] pb-28">
<div class="flex flex-col gap-3 lg:hidden">
<div class="flex items-center justify-between w-full">
<div class="flex items-center gap-1.5">
<NuxtLink
to="#"
class="typo-label-sm"
>
محصولات
</NuxtLink>
<Icon
name="ci:bi-chevron-left"
size="14"
/>
<NuxtLink
to="#"
class="typo-label-sm"
>
{{ product!.category.name }}
</NuxtLink>
</div>
<button
@click="saveProductHandler"
:disabled="isSaveProductPending || isFetchingPending || !token"
@@ -146,12 +159,25 @@ watch(
/>
<div class="lg:w-1/2 flex flex-col gap-3 mt-12">
<div class="flex items-center justify-between w-full max-lg:hidden">
<div class="flex items-center gap-2.5">
<NuxtLink
to="#"
class="typo-label-sm"
>
محصولات
</NuxtLink>
<Icon
name="ci:bi-chevron-left"
size="14"
/>
<NuxtLink
to="#"
class="typo-label-sm"
>
{{ product!.category.name }}
</NuxtLink>
</div>
<button
@click="saveProductHandler"
:disabled="isSaveProductPending || isFetchingPending || !token"