Add products page link before category name
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user