Compare commits
10 commits
v2026.05.0
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
9f10cbb6cc |
|||
|
2de9378b63 |
|||
|
9d0ae7ad55 |
|||
|
75fa9e88c1 |
|||
|
35a520becc |
|||
|
b9ce0a9f61 |
|||
|
496f280e09 |
|||
|
3a0654e65d |
|||
|
eb5c96a228 |
|||
|
94bd09e3cc |
9 changed files with 65 additions and 57 deletions
|
|
@ -25,7 +25,7 @@ public static function create(Request $request): GuestbookEntry {
|
|||
$newEntry = new GuestbookEntry;
|
||||
$newEntry->name = $request->get('name');
|
||||
$newEntry->message = $request->get('message');
|
||||
$newEntry->ip = $request->header('X-Forwarded-For') ?: '0.0.0.0';
|
||||
$newEntry->ip = $request->ip() ?: '0.0.0.0';
|
||||
$newEntry->agent = $request->userAgent();
|
||||
$newEntry->flagged = true;
|
||||
$newEntry->save();
|
||||
|
|
|
|||
|
|
@ -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.01',
|
||||
'version' => '2026.06.02-patch0',
|
||||
'env' => env('APP_ENV', 'production'),
|
||||
'debug' => (bool)env('APP_DEBUG', false),
|
||||
'url' => env('APP_URL', 'http://localhost'),
|
||||
|
|
|
|||
|
|
@ -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) }
|
||||
|
|
|
|||
47
public/css/alternate/rainbow.css
Normal file
47
public/css/alternate/rainbow.css
Normal file
|
|
@ -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;
|
||||
}
|
||||
BIN
public/images/buttons/dimden.gif
Normal file
BIN
public/images/buttons/dimden.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
BIN
public/images/buttons/freebsd.gif
Normal file
BIN
public/images/buttons/freebsd.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 999 B |
|
|
@ -6,8 +6,8 @@
|
|||
<title>wah! (dot moe) - {{ $title }}</title>
|
||||
</head>
|
||||
|
||||
@if($event === 'april-fools')
|
||||
<body background="/images/roscoe_tile_rainbow.jpg" bgcolor="#6595fb" text="#000000" link="#FFFFFF" alink="#999999" vlink="#FFFFFF">
|
||||
@if($event === 'april-fools' || $event == 'pride')
|
||||
<body background="/images/roscoe_tile_rainbow.jpg" bgcolor="#FF8A6A" text="#000000" link="#FFFFFF" alink="#999999" vlink="#FFFFFF">
|
||||
<table bgcolor="#9365FB" width="850px" cellpadding="0" cellspacing="0" border="0">
|
||||
<!-- HEADER -->
|
||||
<tr>
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@
|
|||
<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' || $event == 'pride')<link rel="stylesheet" href="{{ asset('/css/alternate/rainbow.css') }}">@endif
|
||||
@if ($event == 'april-fools')<link rel="stylesheet" href="{{ asset('/css/alternate/aprilfools.css') }}">@endif
|
||||
|
||||
<!-- Page-specific -->
|
||||
<meta property="og:title" content="wah! (dot moe) - {{ $title }}">
|
||||
<meta property="og:image" content="{{ $cardImage ?? "/favicon-128x128.png" }}">
|
||||
|
|
@ -26,8 +26,8 @@
|
|||
<div class="page-container">
|
||||
<header>
|
||||
<div>
|
||||
@if($event == 'april-fools')<img src="{{ asset('/images/logo-rainbow.png') }}" width="84" alt="A pixel art depiction of a paw, in rainbow colours.">
|
||||
@else <img class="logo_paw" src="{{ asset('/images/logo-v2.png') }}" width="84" alt="A pixel art depiction of a paw, in three alternating shades of blue.">@endif
|
||||
@if($event == 'april-fools' || $event == 'pride')<img src="{{ asset('/images/logo-rainbow.png') }}" width="84" alt="A pixel art depiction of a paw, in rainbow colours.">
|
||||
@else <img class="logo_paw" src="{{ asset('/images/logo-v3.png') }}" width="84" alt="A pixel art depiction of a paw, in three alternating shades of blue.">@endif
|
||||
</div>
|
||||
<div>
|
||||
<h1>wah!</h1>
|
||||
|
|
@ -50,13 +50,13 @@
|
|||
<a href="https://julimiro.eu/"><img src="{{ URL::asset('images/buttons/juli.gif') }}" alt="Julimiro.eu"></a>
|
||||
<a href="https://lunaisafox.xyz/"><img src="{{ URL::asset('images/buttons/x86.gif') }}" alt="x86Overflow"></a>
|
||||
<a href="https://lim95.com/gggg"><img src="{{ URL::asset('images/buttons/gggg.png') }}" alt="green guy goes grappling"></a>
|
||||
<a href="https://dimden.dev/"><img src="https://dimden.dev/services/images/88x31.gif" alt="Dimden's website"></a>
|
||||
<a href="https://dimden.dev/"><img src="{{ URL::asset('images/buttons/dimden.gif') }}" alt="Dimden's website"></a>
|
||||
<a href="https://un1x.hs.vc/"><img src="{{ URL::asset('images/buttons/violet.png') }}" alt="Violet"></a>
|
||||
<a href="https://sillydomain.name/"><img src="{{ URL::asset('images/buttons/benjae.png') }}" alt="ben"></a>
|
||||
<a href="https://doskel.net/DSKLwiki"><img src="{{ URL::asset('images/buttons/doskel2.png') }}" alt="doskel"></a>
|
||||
<a href="https://synth.download"><img src="https://synth.download/assets/buttons/sneexy.svg" alt="Sneexy"></a><br>
|
||||
<img src="{{ URL::asset('images/buttons/servfail.png') }}" alt="Servfail DNS">
|
||||
<a href="https://linux.org/"><img src="{{ URL::asset('images/buttons/linuxnow.gif') }}" alt="Linux NOW!"></a>
|
||||
<a href="https://www.freebsd.org/"><img src="{{ URL::asset('images/buttons/freebsd.gif') }}" alt="Powered by FreeBSD"></a>
|
||||
<img src="{{ URL::asset('images/buttons/paws-aliased.png') }}" alt="Made with my own two paws">
|
||||
<img src="{{ URL::asset('images/buttons/transrights.gif') }}" alt="Trans Rights NOW!">
|
||||
<a href="https://www.vim.org/"><img src="{{ URL::asset('images/buttons/vim.gif') }}" alt="Vim"></a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue