Skip to content

Commit dee3e09

Browse files
committed
use Subscription enum in view
1 parent f27f0b8 commit dee3e09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

resources/views/components/mobile-pricing.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class="size-5 shrink-0"
120120

121121
{{-- Button --}}
122122
<a
123-
href="{{ config('subscriptions.plans.mini.stripe_payment_link') }}"
123+
href="{{ \App\Enums\Subscription::Mini->stripePaymentLink() }}"
124124
class="my-5 block w-full rounded-2xl bg-zinc-200 py-4 text-center text-sm font-medium transition duration-200 ease-in-out hover:bg-zinc-800 hover:text-white dark:bg-slate-700/30 dark:hover:bg-slate-700/40"
125125
aria-label="Get started with Mini plan"
126126
>
@@ -283,7 +283,7 @@ class="size-5 shrink-0"
283283

284284
{{-- Button --}}
285285
<a
286-
href="{{ config('subscriptions.plans.pro.stripe_payment_link') }}"
286+
href="{{ \App\Enums\Subscription::Pro->stripePaymentLink() }}"
287287
class="my-5 block w-full rounded-2xl bg-zinc-200 py-4 text-center text-sm font-medium transition duration-200 ease-in-out hover:bg-zinc-800 hover:text-white dark:bg-slate-700/30 dark:hover:bg-slate-700/40"
288288
aria-label="Get started with Pro plan"
289289
>
@@ -454,7 +454,7 @@ class="size-5 shrink-0"
454454

455455
{{-- Button --}}
456456
<a
457-
href="{{ config('subscriptions.plans.max.stripe_payment_link') }}"
457+
href="{{ \App\Enums\Subscription::Max->stripePaymentLink() }}"
458458
class="my-5 block w-full rounded-2xl bg-zinc-800 py-4 text-center text-sm font-medium text-white transition duration-200 ease-in-out hover:bg-zinc-900 dark:bg-[#d68ffe] dark:text-black dark:hover:bg-[#e1acff]"
459459
aria-label="Get started with Max plan"
460460
>

0 commit comments

Comments
 (0)