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 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 flex-col gap-3 lg:hidden">
|
||||||
<div class="flex items-center justify-between w-full">
|
<div class="flex items-center justify-between w-full">
|
||||||
<NuxtLink
|
<div class="flex items-center gap-1.5">
|
||||||
to="#"
|
<NuxtLink
|
||||||
class="typo-label-sm"
|
to="#"
|
||||||
>
|
class="typo-label-sm"
|
||||||
{{ product!.category.name }}
|
>
|
||||||
</NuxtLink>
|
محصولات
|
||||||
|
</NuxtLink>
|
||||||
|
<Icon
|
||||||
|
name="ci:bi-chevron-left"
|
||||||
|
size="14"
|
||||||
|
/>
|
||||||
|
<NuxtLink
|
||||||
|
to="#"
|
||||||
|
class="typo-label-sm"
|
||||||
|
>
|
||||||
|
{{ product!.category.name }}
|
||||||
|
</NuxtLink>
|
||||||
|
</div>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
@click="saveProductHandler"
|
@click="saveProductHandler"
|
||||||
:disabled="isSaveProductPending || isFetchingPending || !token"
|
:disabled="isSaveProductPending || isFetchingPending || !token"
|
||||||
@@ -146,12 +159,25 @@ watch(
|
|||||||
/>
|
/>
|
||||||
<div class="lg:w-1/2 flex flex-col gap-3 mt-12">
|
<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 justify-between w-full max-lg:hidden">
|
||||||
<NuxtLink
|
<div class="flex items-center gap-2.5">
|
||||||
to="#"
|
<NuxtLink
|
||||||
class="typo-label-sm"
|
to="#"
|
||||||
>
|
class="typo-label-sm"
|
||||||
{{ product!.category.name }}
|
>
|
||||||
</NuxtLink>
|
محصولات
|
||||||
|
</NuxtLink>
|
||||||
|
<Icon
|
||||||
|
name="ci:bi-chevron-left"
|
||||||
|
size="14"
|
||||||
|
/>
|
||||||
|
<NuxtLink
|
||||||
|
to="#"
|
||||||
|
class="typo-label-sm"
|
||||||
|
>
|
||||||
|
{{ product!.category.name }}
|
||||||
|
</NuxtLink>
|
||||||
|
</div>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
@click="saveProductHandler"
|
@click="saveProductHandler"
|
||||||
:disabled="isSaveProductPending || isFetchingPending || !token"
|
:disabled="isSaveProductPending || isFetchingPending || !token"
|
||||||
|
|||||||
Reference in New Issue
Block a user