koel/resources/assets/js/components/koel-plus/BtnUpgradeToPlus.vue

19 lines
508 B
Vue
Raw Normal View History

2024-01-08 16:59:05 +00:00
<template>
2024-04-04 22:20:42 +00:00
<Btn
class="block w-full rounded-md px-4 py-3 text-white/80 hover:text-white bg-gradient-to-r to-[#c62be8] from-[#671ce4] !text-left"
@click.prevent="openModal"
>
2024-03-19 22:48:12 +00:00
<Icon :icon="faPlus" fixed-width />
Upgrade to Plus
2024-04-04 22:20:42 +00:00
</Btn>
2024-01-08 16:59:05 +00:00
</template>
2024-04-23 21:01:27 +00:00
<script lang="ts" setup>
import { faPlus } from '@fortawesome/free-solid-svg-icons'
import { eventBus } from '@/utils'
2024-01-08 16:59:05 +00:00
2024-04-04 22:20:42 +00:00
import Btn from '@/components/ui/form/Btn.vue'
2024-01-14 12:43:53 +00:00
const openModal = () => eventBus.emit('MODAL_SHOW_KOEL_PLUS')
2024-01-08 16:59:05 +00:00
</script>