2024-01-08 16:59:05 +00:00
|
|
|
<template>
|
2024-01-08 22:52:25 +00:00
|
|
|
<a :href="storeUrl" target="_blank" class="upgrade-to-plus-btn">
|
|
|
|
<Icon :icon="faPlus" fixed-width/>
|
|
|
|
Upgrade to Plus
|
|
|
|
</a>
|
2024-01-08 16:59:05 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
import { useKoelPlus } from '@/composables'
|
2024-01-08 22:52:25 +00:00
|
|
|
import { faPlus } from '@fortawesome/free-solid-svg-icons'
|
2024-01-08 16:59:05 +00:00
|
|
|
|
|
|
|
const { storeUrl } = useKoelPlus()
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
2024-01-08 22:52:25 +00:00
|
|
|
a.upgrade-to-plus-btn {
|
2024-01-08 16:59:05 +00:00
|
|
|
@include inset-when-pressed();
|
|
|
|
|
2024-01-08 22:52:25 +00:00
|
|
|
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-01-08 22:52:25 +00:00
|
|
|
padding: .65rem 1rem; // prevent layout jump in sidebar
|
2024-01-08 16:59:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|