From 0a50c93d3a5a5b3d79fbcf0c0891906b99fb6a38 Mon Sep 17 00:00:00 2001 From: floppydiskette Date: Fri, 27 Dec 2024 20:28:16 +0000 Subject: Server-side "is it christmas" --- resources/views/components/layout.blade.php | 4 +++- resources/views/home.blade.php | 17 +---------------- 2 files changed, 4 insertions(+), 17 deletions(-) (limited to 'resources/views') diff --git a/resources/views/components/layout.blade.php b/resources/views/components/layout.blade.php index 4538be4..e7ced26 100644 --- a/resources/views/components/layout.blade.php +++ b/resources/views/components/layout.blade.php @@ -10,7 +10,8 @@ - {!! (intval(date('n')) == 12) ? '' : '' !!} + @if ($isChristmas)@endif + @@ -36,6 +37,7 @@