april fops

This commit is contained in:
Roscoe 2025-03-31 23:21:44 +01:00
parent 6690d4e97e
commit e8ad39203f
Signed by: RoscoeDaWah
SSH key fingerprint: SHA256:Hqn452XQ1ETzUt/FthJu6+OFkS4NBxCv5VQSEvuk7CE
6 changed files with 32 additions and 13 deletions

View file

@ -18,7 +18,8 @@ public function __construct() {}
public function getWah(): string { public function getWah(): string {
try { try {
$response = Http::get('https://api.tinyfox.dev/img.json?animal=wah'); // $response = Http::get('https://api.tinyfox.dev/img.json?animal=wah');
$response = Http::get('https://api.tinyfox.dev/img.json?animal=fox');
$data = $response->json(); $data = $response->json();
if ($data == null) return ""; if ($data == null) return "";
return "https://api.tinyfox.dev" . $data["loc"]; return "https://api.tinyfox.dev" . $data["loc"];

View file

@ -5,7 +5,7 @@
return [ return [
'name' => env('APP_NAME', 'wah.moe'), 'name' => env('APP_NAME', 'wah.moe'),
'version' => '2025.02.08', 'version' => '2025.04.01',
'env' => env('APP_ENV', 'production'), 'env' => env('APP_ENV', 'production'),
'debug' => (bool) env('APP_DEBUG', false), 'debug' => (bool) env('APP_DEBUG', false),
'url' => env('APP_URL', 'http://localhost'), 'url' => env('APP_URL', 'http://localhost'),

View file

@ -1,9 +1,22 @@
/*:root {*/
/* --background: #f2efbd;*/
/* --foreground: #2a271c;*/
/* --border-color: #f27405;*/
/* --border: var(--border-color) 2px solid;*/
/* --shadow-color: hsla(11, 96%, 43%, 0.4);*/
/* --shadow: drop-shadow(8px 8px var(--shadow-color));*/
/* --shadow-small: drop-shadow(3px 3px var(--shadow-color));*/
/* --links: hsl(183, 93%, 27%);*/
/* --links-hover: hsl(183, 93%, 15%);*/
/* --table-header: hsla(11, 96%, 43%, 0.2);*/
/*}*/
:root { :root {
--background: #f2efbd; --background: #f2c7bd;
--foreground: #2a271c; --foreground: #2a1c1c;
--border-color: #f27405; --border-color: #f24c05;
--border: var(--border-color) 2px solid; --border: var(--border-color) 2px solid;
--shadow-color: hsla(11, 96%, 43%, 0.4); --shadow-color: hsla(0, 96%, 43%, 0.4);
--shadow: drop-shadow(8px 8px var(--shadow-color)); --shadow: drop-shadow(8px 8px var(--shadow-color));
--shadow-small: drop-shadow(3px 3px var(--shadow-color)); --shadow-small: drop-shadow(3px 3px var(--shadow-color));
--links: hsl(183, 93%, 27%); --links: hsl(183, 93%, 27%);
@ -11,6 +24,11 @@ :root {
--table-header: hsla(11, 96%, 43%, 0.2); --table-header: hsla(11, 96%, 43%, 0.2);
} }
table, div, p, h1, h2, h3 {
transform: rotate(1deg);
}
/* ───────────────────────────────────── Fonts ────────────────────────────────────── */ /* ───────────────────────────────────── Fonts ────────────────────────────────────── */
@font-face { @font-face {
font-family: "PT Sans"; font-family: "PT Sans";

View file

@ -6,7 +6,7 @@
<meta property="og:type" content="website"> <meta property="og:type" content="website">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#f27405"> <meta name="theme-color" content="#f27405">
<title>wah! (dot moe)</title> <title>fops! (dot moe)</title>
<link rel="stylesheet" href="{{ asset('/css/master.css') }}"/> <link rel="stylesheet" href="{{ asset('/css/master.css') }}"/>
<link rel="icon" type="image/png" href="{{ asset('/favicon-32x32.png') }}" sizes="32x32"/> <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"/> <link rel="icon" type="image/png" href="{{ asset('/favicon-16x16.png') }}" sizes="16x16"/>
@ -14,7 +14,7 @@
<!-- Page-specific --> <!-- Page-specific -->
<meta property="og:title" content="wah! (dot moe) - {{ $title }}"> <meta property="og:title" content="fops! (dot moe) - {{ $title }}">
<meta property="og:image" content="/favicon-128x128.png"> <meta property="og:image" content="/favicon-128x128.png">
</head> </head>
<body> <body>
@ -24,7 +24,7 @@
<img src="{{ asset('/images/logo.png') }}" width="65"> <img src="{{ asset('/images/logo.png') }}" width="65">
</div> </div>
<div> <div>
<h1>wah!</h1> <h1>fops!</h1>
<p> <p>
(dot moe) (dot moe)
</p> </p>
@ -37,7 +37,7 @@
<div id="footer"> <div id="footer">
<div> <div>
<span> <span>
&copy; RoscoeDaWah 2021-{{ date('Y') }}<br> &copy; RoscoeDaFops 2021-{{ date('Y') }}<br>
v{{ config('app.version') }}, <a href="https://git.frzn.dev/RoscoeDaWah/wah.moe/releases/latest">Source</a><br> v{{ config('app.version') }}, <a href="https://git.frzn.dev/RoscoeDaWah/wah.moe/releases/latest">Source</a><br>
Served by {{ gethostname() }} Served by {{ gethostname() }}
</span> </span>

View file

@ -1,7 +1,7 @@
<nav> <nav>
<strong>Pages:</strong> <strong>Pages:</strong>
<a href="/">home</a> | <a href="/">home</a> |
<a href="//wiki.wah.moe">wah-ki</a> | <a href="//wiki.wah.moe">fopwiki</a> |
<a href="//git.wah.moe">git</a> | <a href="//git.wah.moe">git</a> |
<a href="/pub">files</a> | <a href="/pub">files</a> |
<a href="/bookmarks">bookmarks</a> | <a href="/bookmarks">bookmarks</a> |

View file

@ -1,7 +1,7 @@
<div class="wah"> <div class="wah">
<h3>Random Wah!</h3> <h3>Random Fops!</h3>
@if ($wah !== "") @if ($wah !== "")
<img src="{{ $wah }}" alt="Random image featuring a Red Panda"> <img src="{{ $wah }}" alt="Random image featuring a Fox">
<p>Image "stolen" from <a href="https://tinyfox.dev/">tinyfox.dev</a></p> <p>Image "stolen" from <a href="https://tinyfox.dev/">tinyfox.dev</a></p>
@else @else
<img src="https://placehold.co/250x250" alt="250x250 Placeholder Image"> <img src="https://placehold.co/250x250" alt="250x250 Placeholder Image">