diff --git a/config/services.php b/config/services.php
index 0d74bbf0..aa0d8e8e 100644
--- a/config/services.php
+++ b/config/services.php
@@ -35,6 +35,15 @@
'key' => env('ANYSTACK_API_KEY'),
],
+ 'kit' => [
+ /*
+ * The Bifrost waitlist form on Kit. The waitlist modal posts here with fetch and
+ * reads Kit's JSON reply; the hosted page is the fallback if that request fails.
+ */
+ 'waitlist_subscribe_url' => env('KIT_WAITLIST_SUBSCRIBE_URL', 'https://app.kit.com/forms/10242151/subscriptions'),
+ 'waitlist_hosted_url' => env('KIT_WAITLIST_HOSTED_URL', 'https://bifrost-technologies.kit.com/03a1490f56'),
+ ],
+
'mailcoach' => [
/*
* The public subscribe endpoint for the NativePHP newsletter list. Forms post
diff --git a/resources/views/components/bifrost-waitlist-banner.blade.php b/resources/views/components/bifrost-waitlist-banner.blade.php
new file mode 100644
index 00000000..bc14ccdb
--- /dev/null
+++ b/resources/views/components/bifrost-waitlist-banner.blade.php
@@ -0,0 +1,40 @@
+
+ {{-- Label --}}
+
+
+ {{-- Call to action --}}
+
+ Get the free guides
+
+
+ {{-- Arrow --}}
+
+
+
+
diff --git a/resources/views/components/bifrost-waitlist-modal.blade.php b/resources/views/components/bifrost-waitlist-modal.blade.php
new file mode 100644
index 00000000..1f62e1a3
--- /dev/null
+++ b/resources/views/components/bifrost-waitlist-modal.blade.php
@@ -0,0 +1,210 @@
+@props(['user' => null])
+
+{{--
+ Bifrost waitlist modal. Opened from anywhere on the site by dispatching an
+ `open-bifrost-waitlist-modal` window event, and on load when the URL has
+ `?waitlist`. The form posts to Kit with fetch and shows Kit's reply in place,
+ so people never leave the page. If the request itself fails, it points to
+ the hosted Kit form instead. Pass a signed-in `user` to prefill their first
+ name and email, so signing up is one click.
+--}}
+
has('waitlist'))
+ x-init="show()"
+ @endif
+ @open-bifrost-waitlist-modal.window="show()"
+ @keydown.escape.window="open = false"
+>
+ {{-- Backdrop --}}
+
+
+
+
+ {{-- Decorative glow --}}
+
+
+ {{-- Close --}}
+
+
+ Close
+
+
+ {{-- Signup --}}
+
+
+
+
+
+ Ship your PHP app to the App Store
+
+
+
+ Free, practical guides from the Bifrost team on native
+ builds, signing and getting through store review.
+
+
+
+
+
+
+ {{-- Done --}}
+
+
+
+
Check your inbox
+
+
+ We've sent you a confirmation email. Click the link in it and
+ the first guide is on its way.
+
+
+
+ Done
+
+
+
+
+
diff --git a/resources/views/components/layout.blade.php b/resources/views/components/layout.blade.php
index ee8e92f9..699daf6f 100644
--- a/resources/views/components/layout.blade.php
+++ b/resources/views/components/layout.blade.php
@@ -124,7 +124,7 @@ class="min-h-screen overflow-x-clip bg-white font-poppins antialiased selection:
@if (now()->isBefore('2026-12-01T08:00:00Z'))
@elseif (now()->isBefore('2027-01-01T00:00:00Z'))
-
+
@else
@endif
@@ -140,6 +140,7 @@ class="mx-auto w-full max-w-5xl px-5 lg:px-3 xl:max-w-7xl 2xl:max-w-360"
+
diff --git a/resources/views/components/layouts/dashboard.blade.php b/resources/views/components/layouts/dashboard.blade.php
index 54dd2366..7086ae0f 100644
--- a/resources/views/components/layouts/dashboard.blade.php
+++ b/resources/views/components/layouts/dashboard.blade.php
@@ -263,6 +263,8 @@ class="min-h-screen bg-white font-poppins antialiased dark:bg-zinc-900 dark:text
+
+
@livewireScriptConfig
diff --git a/resources/views/livewire/customer/dashboard.blade.php b/resources/views/livewire/customer/dashboard.blade.php
index 9956497d..115a9f2f 100644
--- a/resources/views/livewire/customer/dashboard.blade.php
+++ b/resources/views/livewire/customer/dashboard.blade.php
@@ -102,6 +102,50 @@ class="w-full shrink-0 rounded-xl bg-white/70 p-4 ring-1 ring-violet-200 sm:w-au
@endif
+ {{-- Bifrost Waitlist Banner --}}
+ @unless(now()->isBefore('2026-12-01T08:00:00Z'))
+
+
+
+ Dismiss
+
+
+
+
+
+
+
+ Ship your PHP app to the App Store without the usual pain
+
+
+ Free, practical guides from the Bifrost team on native builds, signing and getting through store review.
+
+
+
+ Get the free guides
+
+
+
+
+
+ @endunless
+
{{-- Banners --}}
@feature(App\Features\ShowPlugins::class)
diff --git a/tests/Feature/BifrostBirthdayBannerTest.php b/tests/Feature/BifrostBirthdayBannerTest.php
index 9efeb9f8..cee93ee7 100644
--- a/tests/Feature/BifrostBirthdayBannerTest.php
+++ b/tests/Feature/BifrostBirthdayBannerTest.php
@@ -23,13 +23,14 @@ public function the_banner_offers_the_birthday_discount_on_annual_bifrost_plans(
}
#[Test]
- public function the_homepage_carries_the_birthday_banner_instead_of_the_newsletter_offer_during_the_sale(): void
+ public function the_homepage_carries_the_waitlist_banner_instead_of_the_birthday_or_newsletter_banner_in_december(): void
{
$this->travelTo(Carbon::parse('2026-12-31T23:59:59Z'));
$this->get('/')
->assertOk()
- ->assertSee('HAPPYBIRTHDAY')
+ ->assertSee('bifrost_waitlist_banner_click', escape: false)
+ ->assertDontSee('HAPPYBIRTHDAY')
->assertDontSee('newsletter_banner_click', escape: false);
}
diff --git a/tests/Feature/BifrostBlackFridayBannerTest.php b/tests/Feature/BifrostBlackFridayBannerTest.php
index e187ff35..d53aca56 100644
--- a/tests/Feature/BifrostBlackFridayBannerTest.php
+++ b/tests/Feature/BifrostBlackFridayBannerTest.php
@@ -2,6 +2,7 @@
namespace Tests\Feature;
+use App\Models\User;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Carbon;
use PHPUnit\Framework\Attributes\Test;
@@ -43,13 +44,83 @@ public function the_homepage_carries_the_black_friday_banner_until_the_sale_ends
}
#[Test]
- public function the_birthday_banner_comes_back_once_the_sale_ends(): void
+ public function the_waitlist_banner_replaces_the_black_friday_banner_once_the_sale_ends(): void
{
$this->travelTo(Carbon::parse('2026-12-01T08:00:00Z'));
$this->get('/')
->assertOk()
->assertDontSee('bifrost_black_friday_banner_click', escape: false)
- ->assertSee('bifrost_birthday_banner_click', escape: false);
+ ->assertDontSee('bifrost_birthday_banner_click', escape: false)
+ ->assertSee('bifrost_waitlist_banner_click', escape: false);
+ }
+
+ #[Test]
+ public function the_waitlist_banner_opens_the_waitlist_modal(): void
+ {
+ $this->blade(' ')
+ ->assertSee('Ship your PHP app to the App Store without the usual pain.')
+ ->assertSee('open-bifrost-waitlist-modal', escape: false)
+ ->assertSee('bifrost_waitlist_banner_click', escape: false)
+ ->assertDontSee('href=', escape: false);
+ }
+
+ #[Test]
+ public function the_waitlist_modal_posts_name_and_email_to_the_kit_form(): void
+ {
+ config(['services.kit.waitlist_subscribe_url' => 'https://app.kit.com/forms/123/subscriptions']);
+
+ $this->blade(' ')
+ ->assertSee('action="https://app.kit.com/forms/123/subscriptions"', escape: false)
+ ->assertSee('name="email_address"', escape: false)
+ ->assertSee('name="fields[first_name]"', escape: false)
+ ->assertSee('@open-bifrost-waitlist-modal.window', escape: false);
+ }
+
+ #[Test]
+ public function the_waitlist_modal_opens_itself_from_the_waitlist_link(): void
+ {
+ $this->get('/?waitlist=1')
+ ->assertOk()
+ ->assertSee('bifrost-waitlist-modal-heading', escape: false)
+ ->assertSee('x-init="show()"', escape: false);
+ }
+
+ #[Test]
+ public function every_page_carries_the_waitlist_modal(): void
+ {
+ $this->get('/')
+ ->assertOk()
+ ->assertSee('@open-bifrost-waitlist-modal.window', escape: false);
+ }
+
+ #[Test]
+ public function the_waitlist_modal_prefills_a_signed_in_users_first_name_and_email(): void
+ {
+ $user = User::factory()->make(['name' => 'Ada Lovelace', 'email' => 'ada@example.com']);
+
+ $this->blade(' ', ['user' => $user])
+ ->assertSee('value="Ada"', escape: false)
+ ->assertSee('value="ada@example.com"', escape: false)
+ ->assertDontSee('Lovelace');
+ }
+
+ #[Test]
+ public function the_waitlist_modal_is_empty_for_guests(): void
+ {
+ $html = (string) $this->blade(' ');
+
+ $this->assertSame(2, substr_count($html, 'value=""'));
+ }
+
+ #[Test]
+ public function the_site_waitlist_modal_is_prefilled_for_the_signed_in_user(): void
+ {
+ $user = User::factory()->create(['name' => 'Ada Lovelace', 'email' => 'ada@example.com']);
+
+ $this->actingAs($user)
+ ->get('/')
+ ->assertOk()
+ ->assertSee('value="ada@example.com"', escape: false);
}
}
diff --git a/tests/Feature/DashboardLayoutTest.php b/tests/Feature/DashboardLayoutTest.php
index 72cc1746..d7a536c9 100644
--- a/tests/Feature/DashboardLayoutTest.php
+++ b/tests/Feature/DashboardLayoutTest.php
@@ -172,6 +172,32 @@ public function test_dashboard_hides_team_card_for_non_ultra_user(): void
->assertDontSee('Create a team');
}
+ // ========================================
+ // Bifrost Waitlist Banner Tests
+ // ========================================
+
+ public function test_dashboard_hides_bifrost_waitlist_banner_during_black_friday(): void
+ {
+ $this->travelTo(Carbon::parse('2026-12-01T07:59:59Z'));
+
+ Livewire::actingAs(User::factory()->create())
+ ->test(Dashboard::class)
+ ->assertOk()
+ ->assertDontSee('bifrost_waitlist_dashboard_click', escape: false);
+ }
+
+ public function test_dashboard_shows_bifrost_waitlist_banner_after_black_friday(): void
+ {
+ $this->travelTo(Carbon::parse('2026-12-01T08:00:00Z'));
+
+ Livewire::actingAs(User::factory()->create())
+ ->test(Dashboard::class)
+ ->assertOk()
+ ->assertSee('Ship your PHP app to the App Store without the usual pain')
+ ->assertSee('open-bifrost-waitlist-modal', escape: false)
+ ->assertSee('bifrost_waitlist_dashboard_click', escape: false);
+ }
+
// ========================================
// Ultra Upsell Banner Tests
// ========================================