From 9f5431e0ead4ee40c11ed575f9955be5527329e5 Mon Sep 17 00:00:00 2001 From: Simon Hamp Date: Thu, 26 Nov 2026 13:45:52 +0000 Subject: [PATCH] Keep the Black Friday banner up until the code expires --- resources/views/components/layout.blade.php | 2 +- tests/Feature/BifrostBlackFridayBannerTest.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/components/layout.blade.php b/resources/views/components/layout.blade.php index ee8e92f9..4fecbaea 100644 --- a/resources/views/components/layout.blade.php +++ b/resources/views/components/layout.blade.php @@ -121,7 +121,7 @@ " class="min-h-screen overflow-x-clip bg-white font-poppins antialiased selection:bg-black selection:text-[#b4a9ff] dark:bg-[#050714] dark:text-white" > - @if (now()->isBefore('2026-12-01T08:00:00Z')) + @if (now()->isBefore('2026-12-01T12:00:00Z')) @elseif (now()->isBefore('2027-01-01T00:00:00Z')) diff --git a/tests/Feature/BifrostBlackFridayBannerTest.php b/tests/Feature/BifrostBlackFridayBannerTest.php index e187ff35..54edd781 100644 --- a/tests/Feature/BifrostBlackFridayBannerTest.php +++ b/tests/Feature/BifrostBlackFridayBannerTest.php @@ -34,7 +34,7 @@ public function the_banner_never_shows_a_discount_code(): void #[Test] public function the_homepage_carries_the_black_friday_banner_until_the_sale_ends(): void { - $this->travelTo(Carbon::parse('2026-12-01T07:59:59Z')); + $this->travelTo(Carbon::parse('2026-12-01T11:59:59Z')); $this->get('/') ->assertOk() @@ -45,7 +45,7 @@ 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 { - $this->travelTo(Carbon::parse('2026-12-01T08:00:00Z')); + $this->travelTo(Carbon::parse('2026-12-01T12:00:00Z')); $this->get('/') ->assertOk()