2023-08-24 14:14:09 +00:00
|
|
|
<x-pricing-plans>
|
|
|
|
@if (config('subscription.provider') === 'stripe')
|
|
|
|
<x-slot:basic>
|
2023-12-07 18:06:32 +00:00
|
|
|
<x-forms.button x-show="selected === 'monthly'" x-cloak aria-describedby="tier-basic" class="w-full h-10 buyme"
|
|
|
|
wire:click="subscribeStripe('basic-monthly')">
|
2023-09-18 11:42:35 +00:00
|
|
|
{{ $isTrial ? 'Start Trial' : 'Subscribe' }}
|
2023-08-24 14:14:09 +00:00
|
|
|
</x-forms.button>
|
|
|
|
|
2023-12-07 18:06:32 +00:00
|
|
|
<x-forms.button x-show="selected === 'yearly'" x-cloak aria-describedby="tier-basic" class="w-full h-10 buyme"
|
|
|
|
wire:click="subscribeStripe('basic-yearly')">
|
2023-09-18 11:42:35 +00:00
|
|
|
{{ $isTrial ? 'Start Trial' : 'Subscribe' }}
|
2023-08-24 14:14:09 +00:00
|
|
|
</x-forms.button>
|
|
|
|
</x-slot:basic>
|
|
|
|
<x-slot:pro>
|
2023-12-07 18:06:32 +00:00
|
|
|
<x-forms.button x-show="selected === 'monthly'" x-cloak aria-describedby="tier-pro" class="w-full h-10 buyme"
|
|
|
|
wire:click="subscribeStripe('pro-monthly')">
|
2023-09-18 11:42:35 +00:00
|
|
|
{{ $isTrial ? 'Start Trial' : 'Subscribe' }}
|
2023-08-24 14:14:09 +00:00
|
|
|
</x-forms.button>
|
|
|
|
|
|
|
|
<x-forms.button x-show="selected === 'yearly'" x-cloak aria-describedby="tier-pro" class="w-full h-10 buyme"
|
2023-09-18 11:42:35 +00:00
|
|
|
wire:click="subscribeStripe('pro-yearly')"> {{ $isTrial ? 'Start Trial' : 'Subscribe' }}
|
2023-08-24 14:14:09 +00:00
|
|
|
</x-forms.button>
|
|
|
|
</x-slot:pro>
|
|
|
|
<x-slot:ultimate>
|
|
|
|
<x-forms.button x-show="selected === 'monthly'" x-cloak aria-describedby="tier-ultimate"
|
2023-12-07 18:06:32 +00:00
|
|
|
class="w-full h-10 buyme"><a class="text-white hover:no-underline" href="{{ config('coolify.docs') }}"
|
|
|
|
target="_blank">
|
2023-09-18 11:42:35 +00:00
|
|
|
Contact Us</a>
|
2023-08-24 14:14:09 +00:00
|
|
|
</x-forms.button>
|
|
|
|
|
|
|
|
<x-forms.button x-show="selected === 'yearly'" x-cloak aria-describedby="tier-ultimate"
|
2023-12-07 18:06:32 +00:00
|
|
|
class="w-full h-10 buyme"><a class="text-white hover:no-underline" href="{{ config('coolify.docs') }}"
|
|
|
|
target="_blank">
|
2023-09-18 11:42:35 +00:00
|
|
|
Contact Us</a>
|
2023-08-24 14:14:09 +00:00
|
|
|
</x-forms.button>
|
|
|
|
</x-slot:ultimate>
|
|
|
|
@endif
|
|
|
|
@if (config('subscription.provider') === 'paddle')
|
|
|
|
<x-paddle />
|
|
|
|
@endif
|
|
|
|
@if (config('subscription.provider') === 'lemon')
|
|
|
|
<x-slot:basic>
|
|
|
|
<x-forms.button x-show="selected === 'monthly'" x-cloak aria-describedby="tier-basic"
|
|
|
|
class="w-full h-10 buyme" wire:click="getSubscriptionLink('basic-monthly')"> Subscribe
|
|
|
|
</x-forms.button>
|
|
|
|
|
|
|
|
<x-forms.button x-show="selected === 'yearly'" x-cloak aria-describedby="tier-basic"
|
|
|
|
class="w-full h-10 buyme" wire:click="getSubscriptionLink('basic-yearly')"> Subscribe
|
|
|
|
</x-forms.button>
|
|
|
|
</x-slot:basic>
|
|
|
|
<x-slot:pro>
|
|
|
|
<x-forms.button x-show="selected === 'monthly'" x-cloak aria-describedby="tier-pro"
|
|
|
|
class="w-full h-10 buyme" wire:click="getSubscriptionLink('pro-monthly')"> Subscribe
|
|
|
|
</x-forms.button>
|
|
|
|
|
|
|
|
<x-forms.button x-show="selected === 'yearly'" x-cloak aria-describedby="tier-pro" class="w-full h-10 buyme"
|
|
|
|
wire:click="getSubscriptionLink('pro-yearly')"> Subscribe
|
|
|
|
</x-forms.button>
|
|
|
|
</x-slot:pro>
|
|
|
|
<x-slot:ultimate>
|
|
|
|
<x-forms.button x-show="selected === 'monthly'" x-cloak aria-describedby="tier-ultimate"
|
|
|
|
class="w-full h-10 buyme" wire:click="getSubscriptionLink('ultimate-monthly')"> Subscribe
|
|
|
|
</x-forms.button>
|
|
|
|
|
|
|
|
<x-forms.button x-show="selected === 'yearly'" x-cloak aria-describedby="tier-ultimate"
|
|
|
|
class="w-full h-10 buyme" wire:click="getSubscriptionLink('ultimate-yearly')"> Subscribe
|
|
|
|
</x-forms.button>
|
|
|
|
</x-slot:ultimate>
|
|
|
|
@endif
|
|
|
|
</x-pricing-plans>
|