Skip to content

Commit

Permalink
fix: template element removed for lend cta
Browse files Browse the repository at this point in the history
  • Loading branch information
roger-in-kiva committed Nov 22, 2023
1 parent 75e4ad8 commit b42bc07
Showing 1 changed file with 20 additions and 22 deletions.
42 changes: 20 additions & 22 deletions src/components/WwwFrame/TheHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -111,28 +111,26 @@
</a>
</div>

<template>
<!-- Lend -->
<router-link
:id="lendMenuId"
to="/lend-by-category"
data-testid="header-lend"
class="header__button header__lend"
v-kv-track-event="['TopNav','click-Lend']"
@pointerenter.native.stop="onLendLinkPointerEnter"
@pointerleave.native.stop="onLendLinkPointerLeave"
@pointerup.native.stop="onLendLinkPointerUp"
@click.native.stop="onLendLinkClick"
>
<span class="tw-flex tw-items-center">Lend
<kv-material-icon
class="tw-w-3 tw-h-3 tw-transition-transform tw-duration-300"
:icon="mdiChevronDown"
:class="{'tw-rotate-180' : isLendMenuVisible}"
/>
</span>
</router-link>
</template>
<!-- Lend -->
<router-link
:id="lendMenuId"
to="/lend-by-category"
data-testid="header-lend"
class="header__button header__lend"
v-kv-track-event="['TopNav','click-Lend']"
@pointerenter.native.stop="onLendLinkPointerEnter"
@pointerleave.native.stop="onLendLinkPointerLeave"
@pointerup.native.stop="onLendLinkPointerUp"
@click.native.stop="onLendLinkClick"
>
<span class="tw-flex tw-items-center">Lend
<kv-material-icon
class="tw-w-3 tw-h-3 tw-transition-transform tw-duration-300"
:icon="mdiChevronDown"
:class="{'tw-rotate-180' : isLendMenuVisible}"
/>
</span>
</router-link>

<transition name="kvfastfade">
<div
Expand Down

0 comments on commit b42bc07

Please sign in to comment.