diff --git a/app/View/Components/Layout.php b/app/View/Components/Layout.php index 216d272..ea5ea8c 100644 --- a/app/View/Components/Layout.php +++ b/app/View/Components/Layout.php @@ -21,6 +21,7 @@ public function render(): View|Closure|string { $event = ''; if ($this->isItChristmas()) $event = 'christmas'; if ($this->isItAprilFools()) $event = 'april-fools'; + if ($this->isItPrideMonth()) $event = 'pride'; if (isLegacy()) { return view('components.layout-legacy', [ 'event' => $event @@ -52,4 +53,12 @@ public function isItAprilFools() : bool { return $currentDate == $aprilFools; } + + public function isItPrideMonth() { + $tz = new DateTimeZone("Europe/London"); + $currentDate = new DateTime("now", $tz); + $currentDate->setTime(0, 0); + + return date_format($currentDate,"n") == 6; + } } diff --git a/config/app.php b/config/app.php index 6629d46..077482d 100644 --- a/config/app.php +++ b/config/app.php @@ -5,7 +5,7 @@ return [ 'name' => env('APP_NAME', 'wah.moe'), - 'version' => '2026.05.01-patch0', + 'version' => '2026.06.02-patch0', 'env' => env('APP_ENV', 'production'), 'debug' => (bool)env('APP_DEBUG', false), 'url' => env('APP_URL', 'http://localhost'), diff --git a/public/css/alternate/aprilfools.css b/public/css/alternate/aprilfools.css index 6c6cc7c..90d2f38 100644 --- a/public/css/alternate/aprilfools.css +++ b/public/css/alternate/aprilfools.css @@ -2,59 +2,11 @@ font-family: "Comic Sans MS", cursive ; } -body { - background: url('/images/roscoe_tile_rainbow.jpg'); -} - button:hover, footer img:hover { animation: rotater 2s linear infinite; } -div.page-container, -div.wah, -table.music-top10, -form button, -form input, -form textarea, -div.rosco-leko-gallery > div{ - background-color: #FAF8F6; -} - -table.music-top10, -table.music-top10 tr td { - border: rgb(250, 122, 110); -} -table.music-top10 tr:first-child th { - border-right: rgb(250, 122, 110); - border-bottom: rgb(250, 122, 110); -} - -table.music-top10 tr:first-child th, -table.music-top10 tr td:first-child { - background-color: rgba(250, 110, 210, 0.5); -} - -hr, -div.page-container, -div.wah, -form button, -form input, -form textarea, -div.gb-entry, -div.current-track img, -div.rosco-leko-gallery > div { - border: 5px solid transparent; - border-image: linear-gradient(to bottom right, #b827fc 0%, #2c90fc 25%, #b8fd33 50%, #fec837 75%, #fd1892 100%); - border-image-slice: 1; -} - -hr { - border-bottom: none; - border-right: none; - border-left: none; -} - @keyframes rotater { 0% { transform: rotate(0deg) } 100% { transform: rotate(360deg) } diff --git a/public/css/alternate/rainbow.css b/public/css/alternate/rainbow.css new file mode 100644 index 0000000..ea8217d --- /dev/null +++ b/public/css/alternate/rainbow.css @@ -0,0 +1,47 @@ +body { + background: url('/images/roscoe_tile_rainbow.jpg'); +} + +div.page-container, +div.wah, +table.music-top10, +form button, +form input, +form textarea, +div.pandamonium-gallery > div{ + background-color: #FAF8F6; +} + +table.music-top10, +table.music-top10 tr td { + border: rgb(250, 122, 110); +} +table.music-top10 tr:first-child th { + border-right: rgb(250, 122, 110); + border-bottom: rgb(250, 122, 110); +} + +table.music-top10 tr:first-child th, +table.music-top10 tr td:first-child { + background-color: rgba(250, 110, 210, 1); +} + +hr, +div.page-container, +div.wah, +form button, +form input, +form textarea, +div.gb-entry, +div.current-track img, +div.pandamonium-gallery > div { + border: 5px solid transparent; + border-image: linear-gradient(to bottom right, #b827fc 0%, #2c90fc 25%, #b8fd33 50%, #fec837 75%, #fd1892 100%); + border-image-slice: 1; +} + +hr { + border-bottom: none; + border-right: none; + border-left: none; +} \ No newline at end of file diff --git a/public/images/buttons/dimden.gif b/public/images/buttons/dimden.gif new file mode 100644 index 0000000..d5019c8 Binary files /dev/null and b/public/images/buttons/dimden.gif differ diff --git a/public/images/buttons/freebsd.gif b/public/images/buttons/freebsd.gif new file mode 100644 index 0000000..cd41141 Binary files /dev/null and b/public/images/buttons/freebsd.gif differ diff --git a/resources/views/components/layout-legacy.blade.php b/resources/views/components/layout-legacy.blade.php index 76d50fb..b3bb878 100644 --- a/resources/views/components/layout-legacy.blade.php +++ b/resources/views/components/layout-legacy.blade.php @@ -6,8 +6,8 @@