Skip to content

Commit 48f9f07

Browse files
committed
chore(frontend): add click action for button in free use section
1 parent 8064479 commit 48f9f07

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

frontend/src/components/HomePage/FreeUse.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<script lang="ts" setup>
22
import InteractiveHoverButton from '@/components/ui/InteractiveHoverButton.vue'
3+
import router from '@/router'
34
</script>
45

56
<template>
@@ -11,7 +12,12 @@ import InteractiveHoverButton from '@/components/ui/InteractiveHoverButton.vue'
1112
<span class="whitespace-pre-line text-center text-xl font-normal">{{
1213
$t('freeuse.description')
1314
}}</span>
14-
<InteractiveHoverButton :text="$t('freeuse.button')" size="lg" class="w-[11rem] text-base" />
15+
<InteractiveHoverButton
16+
@click="router.push('/dashboard')"
17+
:text="$t('freeuse.button')"
18+
size="lg"
19+
class="w-[11rem] text-base"
20+
/>
1521
<div
1622
class="bg-gradient absolute -top-96 left-0 right-0 -z-10 rounded-full p-52 blur-[100px]"
1723
></div>

0 commit comments

Comments
 (0)