pride month
This commit is contained in:
parent
b9ce0a9f61
commit
35a520becc
4 changed files with 14 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
return [
|
||||
'name' => env('APP_NAME', 'wah.moe'),
|
||||
'version' => '2026.05.25',
|
||||
'version' => '2026.06.01',
|
||||
'env' => env('APP_ENV', 'production'),
|
||||
'debug' => (bool)env('APP_DEBUG', false),
|
||||
'url' => env('APP_URL', 'http://localhost'),
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ table.music-top10,
|
|||
form button,
|
||||
form input,
|
||||
form textarea,
|
||||
div.rosco-leko-gallery > div{
|
||||
div.pandamonium-gallery > div{
|
||||
background-color: #FAF8F6;
|
||||
}
|
||||
|
||||
|
|
@ -32,7 +32,7 @@ table.music-top10 tr:first-child th {
|
|||
|
||||
table.music-top10 tr:first-child th,
|
||||
table.music-top10 tr td:first-child {
|
||||
background-color: rgba(250, 110, 210, 0.5);
|
||||
background-color: rgba(250, 110, 210, 1);
|
||||
}
|
||||
|
||||
hr,
|
||||
|
|
@ -43,7 +43,7 @@ form input,
|
|||
form textarea,
|
||||
div.gb-entry,
|
||||
div.current-track img,
|
||||
div.rosco-leko-gallery > div {
|
||||
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;
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
<link rel="icon" type="image/png" href="{{ asset('/favicon-32x32.png') }}" sizes="32x32"/>
|
||||
<link rel="icon" type="image/png" href="{{ asset('/favicon-16x16.png') }}" sizes="16x16"/>
|
||||
@if ($event == 'christmas')<script src="{{ asset('/js/christmas/snowstorm.js') }}"></script>@endif
|
||||
@if ($event == 'april-fools')<link rel="stylesheet" href="{{ asset('/css/alternate/aprilfools.css') }}">@endif
|
||||
@if ($event == 'april-fools' || $event == 'pride')<link rel="stylesheet" href="{{ asset('/css/alternate/rainbow.css') }}">@endif
|
||||
|
||||
<!-- Page-specific -->
|
||||
<meta property="og:title" content="wah! (dot moe) - {{ $title }}">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue