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"
|
||||
>
|
||||
<Icon
|
||||
name="ci:bi-arrow-right"
|
||||
name="ci:arrow-right"
|
||||
class="**:stroke-blue-500"
|
||||
/>
|
||||
<span class="text-blue-500">
|
||||
@@ -49,7 +49,7 @@ const hasCartItem = computed(() => !!cart.value && cart.value.items.length! > 0)
|
||||
</NuxtLink>
|
||||
</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 }}
|
||||
</h1>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user