2024-01-08 16:59:05 +00:00
|
|
|
<template>
|
2024-04-04 20:13:35 +00:00
|
|
|
<a href class="upgrade-to-plus-btn inset-when-pressed" @click.prevent="openModal">
|
2024-03-19 22:48:12 +00:00
|
|
|
<Icon :icon="faPlus" fixed-width />
|
2024-01-08 22:52:25 +00:00
|
|
|
Upgrade to Plus
|
|
|
|
</a>
|
2024-01-08 16:59:05 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
2024-01-08 22:52:25 +00:00
|
|
|
import { faPlus } from '@fortawesome/free-solid-svg-icons'
|
2024-01-13 17:57:24 +00:00
|
|
|
import { eventBus } from '@/utils'
|
2024-01-08 16:59:05 +00:00
|
|
|
|
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>
|
|
|
|
|
2024-04-04 20:13:35 +00:00
|
|
|
<style scoped lang="postcss">
|
2024-01-08 22:52:25 +00:00
|
|
|
a.upgrade-to-plus-btn {
|
|
|
|
background: linear-gradient(97.78deg, #671ce4 17.5%, #c62be8 113.39%);
|
2024-01-08 16:59:05 +00:00
|
|
|
border-radius: 5px;
|
2024-01-08 22:52:25 +00:00
|
|
|
border-style: solid;
|
|
|
|
padding: .65rem 1rem;
|
2024-01-08 16:59:05 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--color-text-primary) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2024-04-04 20:13:35 +00:00
|
|
|
padding: .65rem 1rem; /* prevent layout jump in sidebar */
|
2024-01-08 16:59:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|