From 779c4ffefe657adf890ff37f9218388b49b7c610 Mon Sep 17 00:00:00 2001 From: Steven Fox <62109327+steven-fox@users.noreply.github.com> Date: Thu, 29 May 2025 17:16:29 -0400 Subject: [PATCH 1/6] adjust content for end of EAP --- app/Notifications/LicenseKeyGenerated.php | 2 +- config/subscriptions.php | 6 +- .../views/components/eap-banner.blade.php | 59 --------------- .../views/components/navigation-bar.blade.php | 9 +-- .../desktop/1/getting-started/sponsoring.md | 36 ++++----- resources/views/early-adopter.blade.php | 74 ++++++++++++++++++- .../views/livewire/mobile-pricing.blade.php | 66 ++--------------- .../views/livewire/order-success.blade.php | 28 +++++-- tests/Feature/Livewire/OrderSuccessTest.php | 2 +- 9 files changed, 124 insertions(+), 158 deletions(-) delete mode 100644 resources/views/components/eap-banner.blade.php diff --git a/app/Notifications/LicenseKeyGenerated.php b/app/Notifications/LicenseKeyGenerated.php index 6e2efc99..c1e627c5 100644 --- a/app/Notifications/LicenseKeyGenerated.php +++ b/app/Notifications/LicenseKeyGenerated.php @@ -37,7 +37,7 @@ public function toMail(object $notifiable): MailMessage return (new MailMessage) ->subject('Your NativePHP License Key') ->greeting($greeting) - ->line('Thank you for purchasing a license for the early access program of mobile NativePHP.') + ->line('Thank you for purchasing a NativePHP for Mobile license.') ->line('Your license key is:') ->line("**{$this->licenseKey}**") ->line('When prompted by Composer, use your email address as the username and this license key as the password.') diff --git a/config/subscriptions.php b/config/subscriptions.php index ea97182f..6db497e1 100644 --- a/config/subscriptions.php +++ b/config/subscriptions.php @@ -3,21 +3,21 @@ return [ 'plans' => [ \App\Enums\Subscription::Mini->value => [ - 'name' => 'Early Access (Mini)', + 'name' => 'Mini', 'stripe_price_id' => env('STRIPE_MINI_PRICE_ID'), 'stripe_payment_link' => env('STRIPE_MINI_PAYMENT_LINK'), 'anystack_product_id' => env('ANYSTACK_PRODUCT_ID'), 'anystack_policy_id' => env('ANYSTACK_MINI_POLICY_ID'), ], \App\Enums\Subscription::Pro->value => [ - 'name' => 'Early Access (Pro)', + 'name' => 'Pro', 'stripe_price_id' => env('STRIPE_PRO_PRICE_ID'), 'stripe_payment_link' => env('STRIPE_PRO_PAYMENT_LINK'), 'anystack_product_id' => env('ANYSTACK_PRODUCT_ID'), 'anystack_policy_id' => env('ANYSTACK_PRO_POLICY_ID'), ], \App\Enums\Subscription::Max->value => [ - 'name' => 'Early Access (Max)', + 'name' => 'Max', 'stripe_price_id' => env('STRIPE_MAX_PRICE_ID'), 'stripe_payment_link' => env('STRIPE_MAX_PAYMENT_LINK'), 'anystack_product_id' => env('ANYSTACK_PRODUCT_ID'), diff --git a/resources/views/components/eap-banner.blade.php b/resources/views/components/eap-banner.blade.php deleted file mode 100644 index 79494a81..00000000 --- a/resources/views/components/eap-banner.blade.php +++ /dev/null @@ -1,59 +0,0 @@ - -
- {{-- Text --}} -
-
- Join our Mobile Early Access Program -
-
- {{-- Arrow --}} - -
- - {{-- Countdown --}} -
-
Ends in
-
- -
d
-
-
:
-
- -
h
-
-
:
-
- -
m
-
-
:
-
- -
s
-
-
-
diff --git a/resources/views/components/navigation-bar.blade.php b/resources/views/components/navigation-bar.blade.php index 70bb440a..19d708b6 100644 --- a/resources/views/components/navigation-bar.blade.php +++ b/resources/views/components/navigation-bar.blade.php @@ -1,10 +1,5 @@ @props(['hasMenu' => false]) -
- -
+