Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion resources/views/components/layout.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
<x-black-friday-banner />
@elseif (now()->isBefore('2027-01-01T00:00:00Z'))
<x-bifrost-birthday-banner />
Expand Down
4 changes: 2 additions & 2 deletions tests/Feature/BifrostBlackFridayBannerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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()
Expand Down