fix: update arrow icon and conditionally render cart page title
This commit is contained in:
@@ -40,7 +40,7 @@ const hasCartItem = computed(() => !!cart.value && cart.value.items.length! > 0)
|
|||||||
class="flex items-center gap-2 text-sm lg:text-[1rem] font-medium"
|
class="flex items-center gap-2 text-sm lg:text-[1rem] font-medium"
|
||||||
>
|
>
|
||||||
<Icon
|
<Icon
|
||||||
name="ci:bi-arrow-right"
|
name="ci:arrow-right"
|
||||||
class="**:stroke-blue-500"
|
class="**:stroke-blue-500"
|
||||||
/>
|
/>
|
||||||
<span class="text-blue-500">
|
<span class="text-blue-500">
|
||||||
@@ -49,7 +49,7 @@ const hasCartItem = computed(() => !!cart.value && cart.value.items.length! > 0)
|
|||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h1 class="w-full text-center lg:w-6/12 typo-h-5 lg:typo-h-4">
|
<h1 v-if="pageTitle" class="w-full text-center lg:w-6/12 typo-h-5 lg:typo-h-4">
|
||||||
{{ pageTitle }}
|
{{ pageTitle }}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user