Compare commits
10 commits
v2024.08.2
...
master
Author | SHA1 | Date | |
---|---|---|---|
f5444a9bf6 | |||
1d39acd298 | |||
098d68b393 | |||
5dc6252c4c | |||
d857991d18 | |||
d8915dcca4 | |||
61f01750ff | |||
a715ae58af | |||
97d8f4447d | |||
01be7aafc6 |
4
.gitignore
vendored
|
@ -18,3 +18,7 @@ yarn-error.log
|
||||||
/.idea
|
/.idea
|
||||||
/.vscode
|
/.vscode
|
||||||
**/.DS_Store
|
**/.DS_Store
|
||||||
|
/log
|
||||||
|
/storage
|
||||||
|
/tmp
|
||||||
|
/public/pub
|
||||||
|
|
16
app/Http/Controllers/PrivacyController.php
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
use Illuminate\View\View;
|
||||||
|
|
||||||
|
class PrivacyController extends Controller{
|
||||||
|
/**
|
||||||
|
* Shows the page
|
||||||
|
* @return View
|
||||||
|
*/
|
||||||
|
public function show(): View {
|
||||||
|
return view('privacy');
|
||||||
|
}
|
||||||
|
}
|
|
@ -31,13 +31,15 @@ public function getDiscordPresence(): mixed {
|
||||||
|
|
||||||
$response = Http::get('https://api.lanyard.rest/v1/users/' . Config::get('services.lanyard.user_id'));
|
$response = Http::get('https://api.lanyard.rest/v1/users/' . Config::get('services.lanyard.user_id'));
|
||||||
$data = $response->json();
|
$data = $response->json();
|
||||||
|
if (!isset($data["data"])) return null;
|
||||||
$presence = $data["data"];
|
$presence = $data["data"];
|
||||||
Cache::put('discord_presence', $presence, now()->addSeconds(60));
|
Cache::put('discord_presence', $presence, now()->addSeconds(60));
|
||||||
return $presence;
|
return $presence;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getOnlineStatus(): array {
|
public function getOnlineStatus(): ?array {
|
||||||
$presence = $this->getDiscordPresence();
|
$presence = $this->getDiscordPresence();
|
||||||
|
if ($presence == null) return null;
|
||||||
return match ($presence["discord_status"]) {
|
return match ($presence["discord_status"]) {
|
||||||
"online", "dnd" => [
|
"online", "dnd" => [
|
||||||
"text" => "online",
|
"text" => "online",
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
namespace App\View\Components;
|
namespace App\View\Components;
|
||||||
|
|
||||||
use Closure;
|
use Closure;
|
||||||
|
use Exception;
|
||||||
use Illuminate\Contracts\View\View;
|
use Illuminate\Contracts\View\View;
|
||||||
use Illuminate\Support\Facades\Cache;
|
use Illuminate\Support\Facades\Cache;
|
||||||
use Illuminate\Support\Facades\Config;
|
use Illuminate\Support\Facades\Config;
|
||||||
|
@ -25,11 +26,16 @@ public function getWeatherData(): mixed {
|
||||||
return Cache::get('weather_data');
|
return Cache::get('weather_data');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
$response = Http::get('http://' . Config::get('services.weatherlink') . '/v1/current_conditions');
|
$response = Http::get('http://' . Config::get('services.weatherlink') . '/v1/current_conditions');
|
||||||
$data = $response->json();
|
$data = $response->json();
|
||||||
$conditions = $data["data"]["conditions"];
|
$conditions = $data["data"]["conditions"];
|
||||||
Cache::put('weather_data', $conditions, now()->addSeconds(60));
|
Cache::put('weather_data', $conditions, now()->addSeconds(60));
|
||||||
return $conditions;
|
return $conditions;
|
||||||
|
} catch (Exception $ex) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
39
app/View/Components/wah.php
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\View\Components;
|
||||||
|
|
||||||
|
use Closure;
|
||||||
|
use Illuminate\Contracts\View\View;
|
||||||
|
use Illuminate\Support\Facades\Cache;
|
||||||
|
use Illuminate\Support\Facades\Config;
|
||||||
|
use Illuminate\Support\Facades\Http;
|
||||||
|
use Illuminate\View\Component;
|
||||||
|
|
||||||
|
class Wah extends Component
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Create a new component instance.
|
||||||
|
*/
|
||||||
|
public function __construct() {}
|
||||||
|
|
||||||
|
|
||||||
|
public function getWah(): string {
|
||||||
|
try {
|
||||||
|
$response = Http::get('https://api.tinyfox.dev/img.json?animal=wah');
|
||||||
|
$data = $response->json();
|
||||||
|
return "https://tinyfox.dev".$data["loc"];
|
||||||
|
} catch (Exception $ex) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the view / contents that represent the component.
|
||||||
|
*/
|
||||||
|
public function render(): View|Closure|string {
|
||||||
|
return view('components.wah', [
|
||||||
|
'wah' => $this->getWah(),
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
}
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'name' => env('APP_NAME', 'diskfloppy.me'),
|
'name' => env('APP_NAME', 'diskfloppy.me'),
|
||||||
'version' => '2024.08.22',
|
'version' => '2024.08.30',
|
||||||
'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'),
|
||||||
|
|
|
@ -1,336 +1,237 @@
|
||||||
@font-face {
|
:root {
|
||||||
font-family: 'BigBlue TerminalPlus';
|
--background: #f2efbd;
|
||||||
src: url('/fonts/BigBlue_TerminalPlus.woff2') format('woff2'),
|
--foreground: #2a271c;
|
||||||
url('/fonts/BigBlue_TerminalPlus.woff') format('woff');
|
--border-color: #f27405;
|
||||||
font-weight: normal;
|
--border: var(--border-color) 2px solid;
|
||||||
font-style: normal;
|
--shadow-color: hsla(11, 96%, 43%, 0.4);
|
||||||
font-display: swap;
|
--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);
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
html {
|
||||||
font-family: pixel nes;
|
|
||||||
src: url("/fonts/Pixel_NES.eot?") format("eot"),
|
|
||||||
url("/fonts/Pixel_NES.woff") format("woff"),
|
|
||||||
url("/fonts/Pixel_NES.ttf") format("truetype");
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: nec_apc3;
|
|
||||||
src: url("/fonts/Web437_NEC_APC3_8x16.woff") format("woff");
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: nec_apc3;
|
|
||||||
src: url("/fonts/Web437_Nix8810_M16.woff") format("woff");
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 700;
|
|
||||||
}
|
|
||||||
|
|
||||||
@supports (-moz-appearance:none) {
|
|
||||||
h2 {
|
|
||||||
text-shadow: var(--firefox-shadow) var(--shadow) !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
html,
|
|
||||||
body,
|
|
||||||
.container {
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
color-scheme: light;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: var(--background);
|
|
||||||
color: var(--foreground);
|
color: var(--foreground);
|
||||||
|
min-height: 100%;
|
||||||
|
background-color: hsla(0, 0%, 0%, 0);
|
||||||
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
body,
|
/*noinspection CssUnknownTarget*/
|
||||||
button,
|
body::before {
|
||||||
select {
|
content: "";
|
||||||
font-family: russiangothic, ms ui gothic, "nec_apc3", Tahoma, sans-serif;
|
position: fixed;
|
||||||
}
|
top: 0;
|
||||||
|
left: 0;
|
||||||
h1,
|
background-image: url("/images/background.jpg");
|
||||||
h2,
|
width: 100%;
|
||||||
h3,
|
height: 100%;
|
||||||
h4 {
|
z-index: -1;
|
||||||
font-family: "pixel nes", sans-serif;
|
opacity: 0.8;
|
||||||
|
background-size: cover;
|
||||||
|
background-attachment: fixed;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
h3,
|
h3,
|
||||||
h4,
|
h4,
|
||||||
|
h5,
|
||||||
|
h6 {
|
||||||
|
margin: 20px 0 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
p,
|
||||||
ul,
|
ul,
|
||||||
p {
|
ol,
|
||||||
|
dl,
|
||||||
|
menu,
|
||||||
|
dir {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
border: none;
|
||||||
|
border-top: var(--border);
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: var(--links);
|
color: var(--links);
|
||||||
text-decoration: underline dotted;
|
text-decoration: underline dotted;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover {
|
||||||
text-decoration: underline;
|
color: var(--links-hover);
|
||||||
|
text-decoration: underline solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
div.page-container {
|
||||||
list-style: square;
|
width: 800px;
|
||||||
padding-left: 0;
|
margin: 5px auto;
|
||||||
list-style-position: inside;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
div.page-container > div {
|
||||||
display: flex;
|
|
||||||
/*align-items: center;*/
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.page {
|
|
||||||
min-width: var(--page-width);
|
|
||||||
max-width: var(--page-width);
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar {
|
|
||||||
border: var(--foreground) solid 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar ul {
|
|
||||||
list-style-type: none;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar li {
|
|
||||||
float: left;
|
|
||||||
border-right: solid var(--foreground) 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar li a {
|
|
||||||
display: block;
|
|
||||||
text-align: center;
|
|
||||||
color: var(--foreground);
|
|
||||||
text-decoration: none;
|
|
||||||
padding: 5px 7px 5px 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar li a:hover {
|
|
||||||
background-color: var(--foreground);
|
|
||||||
color: var(--background);
|
|
||||||
}
|
|
||||||
|
|
||||||
.pathbar {
|
|
||||||
border: 1px solid var(--foreground);
|
|
||||||
padding: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
gap: 10px;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.section {
|
|
||||||
border: var(--foreground) 1px solid;
|
|
||||||
padding: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sidebar {
|
|
||||||
flex-basis: var(--sidebar-width);
|
|
||||||
flex-grow: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
main {
|
|
||||||
flex-basis: 0;
|
|
||||||
flex-grow: 999;
|
|
||||||
min-inline-size: 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar,
|
|
||||||
.content,
|
|
||||||
header,
|
|
||||||
footer {
|
|
||||||
margin: 10px 10px 0 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
header,
|
|
||||||
footer,
|
|
||||||
.navbar {
|
|
||||||
padding: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
footer {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(2, 1fr);
|
|
||||||
grid-template-rows: 1fr;
|
|
||||||
grid-column-gap: 0;
|
|
||||||
grid-row-gap: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
footer div:last-child {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
select {
|
|
||||||
background-color: var(--background-secondary);
|
|
||||||
border: 1px solid var(--foreground);
|
|
||||||
color: var(--foreground);
|
|
||||||
padding: 0.25em;
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
background-color: var(--background);
|
background-color: var(--background);
|
||||||
color: var(--foreground);
|
filter: var(--shadow);
|
||||||
border: 1px solid var(--foreground);
|
padding: 10px;
|
||||||
padding: 0.25em 0.5em;
|
border: var(--border);
|
||||||
|
margin-bottom: 20px;
|
||||||
|
/* temporary */
|
||||||
|
/* height: 600px; */
|
||||||
}
|
}
|
||||||
|
|
||||||
button:hover {
|
div.page-container > div:last-child {
|
||||||
background-color: var(--foreground);
|
|
||||||
color: var(--background);
|
|
||||||
}
|
|
||||||
|
|
||||||
img.pixel {
|
|
||||||
image-rendering: pixelated;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.button,
|
|
||||||
a.button:hover {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.button:hover img {
|
|
||||||
opacity: 80%;
|
|
||||||
}
|
|
||||||
|
|
||||||
main > .section,
|
|
||||||
.sidebar > .section {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
main > .section:last-child,
|
|
||||||
.sidebar > .section:last-child {
|
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-icon {
|
div#header h1 {
|
||||||
margin-right: 0.25em;
|
margin: 0;
|
||||||
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navlinks {
|
div#header h1,
|
||||||
padding-left: 10px;
|
div#header p {
|
||||||
}
|
|
||||||
|
|
||||||
.online-status {
|
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
.centerbox {
|
div#content {
|
||||||
text-align: center;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.quote {
|
div#content::after {
|
||||||
padding-left: 10px;
|
display: block;
|
||||||
border-left: solid 2px var(--foreground);
|
content: "";
|
||||||
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
.music-top10 {
|
div.wah {
|
||||||
width: 100%;
|
float: right;
|
||||||
}
|
border: var(--border);
|
||||||
|
|
||||||
.music-top10 td,
|
|
||||||
.music-top10 th {
|
|
||||||
border: none;
|
|
||||||
border-left: 1px dotted var(--foreground);
|
|
||||||
padding: 2px 5px
|
|
||||||
}
|
|
||||||
|
|
||||||
.music-top10 tr:nth-child(1) th {
|
|
||||||
border-bottom: 1px dotted var(--foreground);
|
|
||||||
}
|
|
||||||
|
|
||||||
.music-top10 tr:nth-child(2) td {
|
|
||||||
padding-top: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.music-top10 td:first-child,
|
|
||||||
.music-top10 th:first-child {
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.music-top10 tr th:first-child {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.music-top10 td {
|
|
||||||
max-width: 200px;
|
|
||||||
white-space: nowrap;
|
|
||||||
text-overflow:ellipsis;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.music-top10 tr td:first-child {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.music-top10 tr td:nth-child(2),
|
|
||||||
.music-top10 tr td:nth-child(3) {
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.current-track h2 {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
table.computers {
|
|
||||||
table-layout: auto;
|
|
||||||
width: 75%;
|
|
||||||
}
|
|
||||||
|
|
||||||
table.computers td ul {
|
|
||||||
margin: 0;
|
|
||||||
padding-left: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
table.computers .section-title {
|
|
||||||
text-decoration: underline;
|
|
||||||
font-style: italic;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
table.computers p.description {
|
|
||||||
font-style: italic;
|
|
||||||
margin: 5px 0 2px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
table.computers th {
|
|
||||||
background-color: var(--background-secondary);
|
|
||||||
}
|
|
||||||
|
|
||||||
table.computers td:first-child {
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
table.computers td,
|
|
||||||
table.computers th {
|
|
||||||
border: var(--foreground) solid 1px;
|
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
|
filter: var(--shadow-small);
|
||||||
|
background-color: var(--background);
|
||||||
}
|
}
|
||||||
|
|
||||||
.calculator-spec-table td {
|
div.wah img {
|
||||||
border: var(--foreground) solid 1px;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.calculator-spec-table td {
|
div.wah h3,
|
||||||
padding: 5px 10px 5px 5px;
|
div.wah p {
|
||||||
|
text-align: center;
|
||||||
|
margin: 5px 0;
|
||||||
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
.calculator-spec-table tr td:first-child {
|
div.wah p {
|
||||||
background-color: var(--background-secondary);
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.wah img {
|
||||||
|
width: 250px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div#footer {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: auto 1fr;
|
||||||
|
grid-template-rows: 1fr;
|
||||||
|
grid-column-gap: 0px;
|
||||||
|
grid-row-gap: 0px;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
div#footer div:last-child {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
div#footer div:last-child img {
|
||||||
|
image-rendering: pixelated;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
width: 88px;
|
||||||
|
height: 31px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Guestbook **/
|
||||||
|
table.form input,
|
||||||
|
table.form textarea,
|
||||||
|
table.form button {
|
||||||
|
background-color: var(--background);
|
||||||
|
border: var(--border);
|
||||||
|
filter: var(--shadow-small);
|
||||||
|
}
|
||||||
|
|
||||||
|
table.form input,
|
||||||
|
table.form textarea {
|
||||||
|
width: 250px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.form button:hover {
|
||||||
|
background-color: var(--border-color);
|
||||||
|
color: var(--background);
|
||||||
|
filter: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.form tr td,
|
||||||
|
table.gb-entry-form-container td:last-child {
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.gb-entry {
|
||||||
|
border: var(--border);
|
||||||
|
filter: var(--shadow-small);
|
||||||
|
background-color: var(--background);
|
||||||
|
width: 75%;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Music **/
|
||||||
|
table.music-top10 {
|
||||||
|
border: var(--border);
|
||||||
|
filter: var(--shadow-small);
|
||||||
|
background-color: var(--background);
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.music-top10 th,
|
||||||
|
table.music-top10 td {
|
||||||
|
padding: 2px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.music-top10 th:first-child {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.music-top10 tr:first-child th {
|
||||||
|
border-right: var(--border);
|
||||||
|
border-bottom: var(--border);
|
||||||
|
}
|
||||||
|
|
||||||
|
table.music-top10 tr:first-child th:last-child {
|
||||||
|
border-right: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.music-top10 tr td {
|
||||||
|
border-right: var(--border);
|
||||||
|
}
|
||||||
|
|
||||||
|
table.music-top10 tr td:last-child {
|
||||||
|
border-right: none;
|
||||||
|
}
|
||||||
|
table.music-top10 tr:first-child th,
|
||||||
|
table.music-top10 tr td:first-child {
|
||||||
|
background-color: var(--table-header);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/** Bookmarks **/
|
||||||
|
div.bookmark-category:first-child h2 {
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
BIN
public/images/background.jpg
Normal file
After Width: | Height: | Size: 837 KiB |
3
public/images/background.svg
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev/svgjs" viewBox="0 0 800 800" preserveAspectRatio="xMidYMid slice"><defs><pattern id="pppixelate-pattern" width="20" height="20" patternUnits="userSpaceOnUse" patternTransform="translate(0 0) scale(8) rotate(0)" shape-rendering="crispEdges">
|
||||||
|
<rect width="1" height="1" x="9" y="0" fill="#FFFFFF80"></rect><rect width="1" height="1" x="10" y="0" fill="#FFFFFF80"></rect><rect width="1" height="1" x="9" y="1" fill="#FFFFFF80"></rect><rect width="1" height="1" x="10" y="1" fill="#FFFFFF80"></rect><rect width="1" height="1" x="9" y="2" fill="#FFFFFF80"></rect><rect width="1" height="1" x="10" y="2" fill="#FFFFFF80"></rect><rect width="1" height="1" x="9" y="3" fill="#FFFFFF80"></rect><rect width="1" height="1" x="10" y="3" fill="#FFFFFF80"></rect><rect width="1" height="1" x="9" y="4" fill="#FFFFFF80"></rect><rect width="1" height="1" x="10" y="4" fill="#FFFFFF80"></rect><rect width="1" height="1" x="9" y="5" fill="#FFFFFF80"></rect><rect width="1" height="1" x="10" y="5" fill="#FFFFFF80"></rect><rect width="1" height="1" x="9" y="6" fill="#FFFFFF80"></rect><rect width="1" height="1" x="10" y="6" fill="#FFFFFF80"></rect><rect width="1" height="1" x="9" y="7" fill="#FFFFFF80"></rect><rect width="1" height="1" x="10" y="7" fill="#FFFFFF80"></rect><rect width="1" height="1" x="9" y="8" fill="#FFFFFF80"></rect><rect width="1" height="1" x="10" y="8" fill="#FFFFFF80"></rect><rect width="1" height="1" x="0" y="9" fill="#FFFFFF80"></rect><rect width="1" height="1" x="1" y="9" fill="#FFFFFF80"></rect><rect width="1" height="1" x="2" y="9" fill="#FFFFFF80"></rect><rect width="1" height="1" x="3" y="9" fill="#FFFFFF80"></rect><rect width="1" height="1" x="4" y="9" fill="#FFFFFF80"></rect><rect width="1" height="1" x="5" y="9" fill="#FFFFFF80"></rect><rect width="1" height="1" x="6" y="9" fill="#FFFFFF80"></rect><rect width="1" height="1" x="7" y="9" fill="#FFFFFF80"></rect><rect width="1" height="1" x="8" y="9" fill="#FFFFFF80"></rect><rect width="1" height="1" x="9" y="9" fill="#FFFFFFbf"></rect><rect width="1" height="1" x="10" y="9" fill="#FFFFFFbf"></rect><rect width="1" height="1" x="11" y="9" fill="#FFFFFF80"></rect><rect width="1" height="1" x="12" y="9" fill="#FFFFFF80"></rect><rect width="1" height="1" x="13" y="9" fill="#FFFFFF80"></rect><rect width="1" height="1" x="14" y="9" fill="#FFFFFF80"></rect><rect width="1" height="1" x="15" y="9" fill="#FFFFFF80"></rect><rect width="1" height="1" x="16" y="9" fill="#FFFFFF80"></rect><rect width="1" height="1" x="17" y="9" fill="#FFFFFF80"></rect><rect width="1" height="1" x="18" y="9" fill="#FFFFFF80"></rect><rect width="1" height="1" x="19" y="9" fill="#FFFFFF80"></rect><rect width="1" height="1" x="0" y="10" fill="#FFFFFF80"></rect><rect width="1" height="1" x="1" y="10" fill="#FFFFFF80"></rect><rect width="1" height="1" x="2" y="10" fill="#FFFFFF80"></rect><rect width="1" height="1" x="3" y="10" fill="#FFFFFF80"></rect><rect width="1" height="1" x="4" y="10" fill="#FFFFFF80"></rect><rect width="1" height="1" x="5" y="10" fill="#FFFFFF80"></rect><rect width="1" height="1" x="6" y="10" fill="#FFFFFF80"></rect><rect width="1" height="1" x="7" y="10" fill="#FFFFFF80"></rect><rect width="1" height="1" x="8" y="10" fill="#FFFFFF80"></rect><rect width="1" height="1" x="9" y="10" fill="#FFFFFFbf"></rect><rect width="1" height="1" x="10" y="10" fill="#FFFFFFbf"></rect><rect width="1" height="1" x="11" y="10" fill="#FFFFFF80"></rect><rect width="1" height="1" x="12" y="10" fill="#FFFFFF80"></rect><rect width="1" height="1" x="13" y="10" fill="#FFFFFF80"></rect><rect width="1" height="1" x="14" y="10" fill="#FFFFFF80"></rect><rect width="1" height="1" x="15" y="10" fill="#FFFFFF80"></rect><rect width="1" height="1" x="16" y="10" fill="#FFFFFF80"></rect><rect width="1" height="1" x="17" y="10" fill="#FFFFFF80"></rect><rect width="1" height="1" x="18" y="10" fill="#FFFFFF80"></rect><rect width="1" height="1" x="19" y="10" fill="#FFFFFF80"></rect><rect width="1" height="1" x="9" y="11" fill="#FFFFFF80"></rect><rect width="1" height="1" x="10" y="11" fill="#FFFFFF80"></rect><rect width="1" height="1" x="9" y="12" fill="#FFFFFF80"></rect><rect width="1" height="1" x="10" y="12" fill="#FFFFFF80"></rect><rect width="1" height="1" x="9" y="13" fill="#FFFFFF80"></rect><rect width="1" height="1" x="10" y="13" fill="#FFFFFF80"></rect><rect width="1" height="1" x="9" y="14" fill="#FFFFFF80"></rect><rect width="1" height="1" x="10" y="14" fill="#FFFFFF80"></rect><rect width="1" height="1" x="9" y="15" fill="#FFFFFF80"></rect><rect width="1" height="1" x="10" y="15" fill="#FFFFFF80"></rect><rect width="1" height="1" x="9" y="16" fill="#FFFFFF80"></rect><rect width="1" height="1" x="10" y="16" fill="#FFFFFF80"></rect><rect width="1" height="1" x="9" y="17" fill="#FFFFFF80"></rect><rect width="1" height="1" x="10" y="17" fill="#FFFFFF80"></rect><rect width="1" height="1" x="9" y="18" fill="#FFFFFF80"></rect><rect width="1" height="1" x="10" y="18" fill="#FFFFFF80"></rect><rect width="1" height="1" x="9" y="19" fill="#FFFFFF80"></rect><rect width="1" height="1" x="10" y="19" fill="#FFFFFF80"></rect>
|
||||||
|
</pattern></defs><rect width="100%" height="100%" fill="url(#pppixelate-pattern)"></rect></svg>
|
After Width: | Height: | Size: 5.2 KiB |
BIN
public/images/buttons/aliasing.png
Normal file
After Width: | Height: | Size: 786 B |
BIN
public/images/buttons/brokenimage.gif
Normal file
After Width: | Height: | Size: 1 KiB |
BIN
public/images/buttons/cnfunknown.gif
Normal file
After Width: | Height: | Size: 524 B |
BIN
public/images/buttons/csshard.gif
Normal file
After Width: | Height: | Size: 495 B |
BIN
public/images/buttons/juli.gif
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
public/images/buttons/paws.gif
Normal file
After Width: | Height: | Size: 885 B |
BIN
public/images/buttons/thnlqd.png
Normal file
After Width: | Height: | Size: 996 B |
BIN
public/images/buttons/transrights.gif
Normal file
After Width: | Height: | Size: 471 B |
BIN
public/images/buttons/x86.gif
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
public/images/buttons/yuri.gif
Normal file
After Width: | Height: | Size: 534 B |
BIN
public/images/noik.png
Normal file
After Width: | Height: | Size: 137 KiB |
|
@ -1 +0,0 @@
|
||||||
/srv/pubfiles
|
|
|
@ -1,46 +1,29 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!--suppress ALL -->
|
<!-- created with www.mysitemapgenerator.com -->
|
||||||
<urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9">
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.diskfloppy.me</loc>
|
<loc>https://www.diskfloppy.me/</loc>
|
||||||
<lastmod>2023-10-10</lastmod>
|
<lastmod>2024-11-27T23:59:26+00:00</lastmod>
|
||||||
<changefreq>always</changefreq>
|
<priority>1.0</priority>
|
||||||
<priority>0.5</priority>
|
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.diskfloppy.me/pub</loc>
|
<loc>https://www.diskfloppy.me/pub/</loc>
|
||||||
<lastmod>2023-10-10</lastmod>
|
<lastmod>2024-11-27T23:59:26+00:00</lastmod>
|
||||||
<changefreq>always</changefreq>
|
<priority>0.8</priority>
|
||||||
<priority>0.5</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc>https://www.diskfloppy.me/computers</loc>
|
|
||||||
<lastmod>2023-10-10</lastmod>
|
|
||||||
<changefreq>always</changefreq>
|
|
||||||
<priority>0.5</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc>https://www.diskfloppy.me/guestbook</loc>
|
|
||||||
<lastmod>2023-10-10</lastmod>
|
|
||||||
<changefreq>always</changefreq>
|
|
||||||
<priority>0.5</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc>https://www.diskfloppy.me/weather</loc>
|
|
||||||
<lastmod>2023-10-10</lastmod>
|
|
||||||
<changefreq>always</changefreq>
|
|
||||||
<priority>0.5</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc>https://www.diskfloppy.me/music</loc>
|
|
||||||
<lastmod>2023-10-10</lastmod>
|
|
||||||
<changefreq>always</changefreq>
|
|
||||||
<priority>0.5</priority>
|
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.diskfloppy.me/bookmarks</loc>
|
<loc>https://www.diskfloppy.me/bookmarks</loc>
|
||||||
<lastmod>2023-10-10</lastmod>
|
<lastmod>2024-11-27T23:59:26+00:00</lastmod>
|
||||||
<changefreq>always</changefreq>
|
<priority>1.0</priority>
|
||||||
<priority>0.5</priority>
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://www.diskfloppy.me/guestbook</loc>
|
||||||
|
<lastmod>2024-11-27T23:59:26+00:00</lastmod>
|
||||||
|
<priority>1.0</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://www.diskfloppy.me/music</loc>
|
||||||
|
<lastmod>2024-11-27T23:59:26+00:00</lastmod>
|
||||||
|
<priority>1.0</priority>
|
||||||
</url>
|
</url>
|
||||||
</urlset>
|
</urlset>
|
||||||
|
|
|
@ -1,11 +1,21 @@
|
||||||
<x-layout>
|
<x-layout>
|
||||||
<x-slot:title>Bookmarks</x-slot:title>
|
<x-slot:title>Bookmarks</x-slot:title>
|
||||||
@foreach($categories as $category)
|
@foreach($categories as $category)
|
||||||
<div class="section">
|
<div class="bookmark-category">
|
||||||
<h2>{{ $category->name }}</h2>
|
<h2>{{ $category->name }}</h2>
|
||||||
|
@if($category->id == 1)
|
||||||
|
<p><em>(These are shuffled every load)</em></p>
|
||||||
|
@php
|
||||||
|
$sites = $category->sites->shuffle();
|
||||||
|
@endphp
|
||||||
|
@else
|
||||||
|
@php
|
||||||
|
$sites = $category->sites;
|
||||||
|
@endphp
|
||||||
|
@endif
|
||||||
<hr>
|
<hr>
|
||||||
<ul>
|
<ul>
|
||||||
@foreach($category->sites as $site)
|
@foreach($sites as $site)
|
||||||
<li><a href="{{ $site->url }}">{{ $site->name }}</a> - {{ $site->description }}</li>
|
<li><a href="{{ $site->url }}">{{ $site->name }}</a> - {{ $site->description }}</li>
|
||||||
@endforeach
|
@endforeach
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="section current-track">
|
<div class="current-track">
|
||||||
<h2>Last/Current Track:</h2>
|
<h2>Last/Current Track:</h2>
|
||||||
<a href="{{ $track["url"] }}">{{ $track["title"] }} • {{ $track["artist"] }}</a><br>
|
<a href="{{ $track["url"] }}">{{ $track["title"] }} • {{ $track["artist"] }}</a><br>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
@if($status == null)
|
||||||
|
<p>Status Unavailable</p>
|
||||||
|
@else
|
||||||
<span>I'm</span>
|
<span>I'm</span>
|
||||||
<h2 class="online-status" style="color: {{ $status["color"] }};text-shadow: var(--firefox-shadow) {{ $status["color"] }}4f !important">{{ $status["text"] }}!</h2>
|
<h2 class="online-status" style="color: {{ $status["color"] }};text-shadow: var(--firefox-shadow) {{ $status["color"] }}4f !important">{{ $status["text"] }}!</h2>
|
||||||
|
@endif
|
||||||
<p><strong>Time in Britain:</strong> <span id="clock"></span></p>
|
<p><strong>Time in Britain:</strong> <span id="clock"></span></p>
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
@php // Get colorscheme from cookie and apply immediately
|
|
||||||
$colorscheme = request()->cookie('colorscheme', 'catppuccin-macchiato');
|
|
||||||
@endphp
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
@ -8,13 +5,10 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<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="#333333">
|
<meta name="theme-color" content="#f27405">
|
||||||
<link rel="stylesheet" href="{{ asset("/css/colorschemes/$colorscheme.css") }}" id="css-colorscheme"/>
|
|
||||||
<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"/>
|
||||||
<script src="{{ asset('/js/schemeSwap.js') }}"></script>
|
|
||||||
<script src="{{ asset('/js/liveClock.js') }}"></script>
|
|
||||||
{!! (intval(date('n')) == 12) ? '<script src="/js/christmas/snow.js"></script>' : '' !!}
|
{!! (intval(date('n')) == 12) ? '<script src="/js/christmas/snow.js"></script>' : '' !!}
|
||||||
|
|
||||||
<!-- Page-specific -->
|
<!-- Page-specific -->
|
||||||
|
@ -22,66 +16,40 @@
|
||||||
<meta property="og:title" content="{{ str_replace("www.", "", Request::getHost()) }} | {{ $title }}">
|
<meta property="og:title" content="{{ str_replace("www.", "", Request::getHost()) }} | {{ $title }}">
|
||||||
<meta property="og:image" content="/favicon-128x128.png">
|
<meta property="og:image" content="/favicon-128x128.png">
|
||||||
</head>
|
</head>
|
||||||
<body onload="setSchemeSelector()">
|
<body>
|
||||||
<div class="container">
|
<div class="page-container">
|
||||||
<div class="page">
|
<div id="header">
|
||||||
<header>
|
<h1>wah!</h1>
|
||||||
<h1>{{ str_replace("www.", "", Request::getHost()) }}</h1>
|
|
||||||
</header>
|
|
||||||
<div class="navbar">
|
|
||||||
<p>
|
<p>
|
||||||
<strong>Current Path:</strong>
|
(dot moe)
|
||||||
@if(Request::getRequestUri() == "/")
|
|
||||||
/
|
|
||||||
@else
|
|
||||||
{{ str_replace("/", " / ", rtrim(Request::getRequestUri(), "/")) }}
|
|
||||||
@endif
|
|
||||||
</p>
|
</p>
|
||||||
|
<x-navigation></x-navigation>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div id="content">
|
||||||
<main>
|
|
||||||
{{ $slot }}
|
{{ $slot }}
|
||||||
</main>
|
|
||||||
<div class="sidebar">
|
|
||||||
<div class="section"><nav><x-navigation/></nav></div>
|
|
||||||
<div class="section"><x-settings/></div>
|
|
||||||
<div class="section centerbox"><x-discord-status/></div>
|
|
||||||
<div class="section"><x-weather/></div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div id="footer">
|
||||||
<footer>
|
|
||||||
<div>
|
<div>
|
||||||
(c) floppydisk 2021-{{ date('Y') }}<br>
|
<span>
|
||||||
|
℗ floppydisk 2021-{{ date('Y') }}<br>
|
||||||
v{{ config('app.version') }}, <a href="https://git.frzn.dev/fwoppydwisk/diskfloppy.me/releases/latest">Source</a><br>
|
v{{ config('app.version') }}, <a href="https://git.frzn.dev/fwoppydwisk/diskfloppy.me/releases/latest">Source</a><br>
|
||||||
Served by {{ gethostname() }}
|
Served by {{ gethostname() }}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<a href="https://dimden.dev/" class="button">
|
<img src="{{ URL::asset('images/buttons/cnfunknown.gif') }}">
|
||||||
<img src="https://dimden.dev/services/images/88x31.gif" width="88" height="31"
|
<img src="{{ URL::asset('images/buttons/juli.gif') }}">
|
||||||
class="pixel" alt="dimden.dev">
|
<img src="{{ URL::asset('images/buttons/x86.gif') }}">
|
||||||
</a>
|
<img src="{{ URL::asset('images/buttons/thnlqd.png') }}">
|
||||||
<a href="https://www.linux.org/" class="button">
|
<img src="https://dimden.dev/services/images/88x31.gif">
|
||||||
<img src="{{ URL::asset('images/buttons/linuxnow.gif') }}" width="88"
|
<img src="{{ URL::asset('images/buttons/csshard.gif') }}"><br>
|
||||||
class="pixel" height="31" alt="Linux NOW!">
|
<img src="{{ URL::asset('images/buttons/linuxnow.gif') }}">
|
||||||
</a>
|
<img src="{{ URL::asset('images/buttons/paws.gif') }}">
|
||||||
<a href="https://www.vim.org/" class="button">
|
<img src="{{ URL::asset('images/buttons/transrights.gif') }}">
|
||||||
<img src="{{ URL::asset('images/buttons/vim.gif') }}" width="88" height="31"
|
<img src="{{ URL::asset('images/buttons/debian.gif') }}">
|
||||||
class="pixel" alt="vim">
|
<img src="{{ URL::asset('images/buttons/vim.gif') }}">
|
||||||
</a><br>
|
<img src="{{ URL::asset('images/buttons/aliasing.png') }}">
|
||||||
<a href="https://wave.webaim.org/" class="button">
|
|
||||||
<img src="{{ URL::asset('images/buttons/evaluatedWAVE.png') }}" width="88" height="31"
|
|
||||||
class="pixel" alt="Evaluated to be accessible!">
|
|
||||||
</a>
|
|
||||||
<a href="https://jigsaw.w3.org/css-validator/check/referer" class="button">
|
|
||||||
<img src="{{ URL::asset('images/buttons/vcss-blue.gif') }}" width="88" height="31"
|
|
||||||
class="pixel" alt="Valid CSS!">
|
|
||||||
</a>
|
|
||||||
<a href="https://wiby.me/" class="button">
|
|
||||||
<img src="{{ URL::asset('images/buttons/wiby.gif') }}" width="88" height="31"
|
|
||||||
class="pixel" alt="Wiby - Search Engine for the Classic Web">
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<meta name="theme-color" content="#f27405">
|
||||||
|
<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-16x16.png') }}" sizes="16x16"/>
|
||||||
|
<title>{{ $title ?? 'Unknown' }}</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
{{ $slot }}
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -1,30 +1,9 @@
|
||||||
<p><strong>Navigation:</strong></p>
|
<nav>
|
||||||
<div class="navlinks">
|
<strong>Pages:</strong>
|
||||||
<a href="/">
|
<a href="/">home</a> |
|
||||||
<img class="pixel navbar-icon" src="{{ asset('images/icons/nav/home2.png') }}" width="16" height="16" alt="">Home
|
<a href="//git.wah.moe">git</a> |
|
||||||
</a><br>
|
<a href="/pub">files</a> |
|
||||||
<a href="//git.diskfloppy.me/">
|
<a href="/bookmarks">bookmarks</a> |
|
||||||
<img class="pixel navbar-icon" src="{{ asset('images/icons/nav/repo.png') }}" width="16" height="16" alt="">Git
|
<a href="/guestbook">guestbook</a> |
|
||||||
</a><br>
|
<a href="/music">music</a>
|
||||||
<a href="/pub/">
|
</nav>
|
||||||
<img class="pixel navbar-icon" src="{{ asset('images/icons/nav/pubfiles.png') }}" width="16" height="16" alt="">Public Files
|
|
||||||
</a><br>
|
|
||||||
<a href="/computers/">
|
|
||||||
<img class="pixel navbar-icon" src="{{ asset('images/icons/nav/computers.png') }}" width="16" height="16" alt="">Computers
|
|
||||||
</a><br>
|
|
||||||
<a href="/calculators/">
|
|
||||||
<img class="pixel navbar-icon" src="{{ asset('images/icons/nav/calculators.png') }}" width="16" height="16" alt="">Calculators
|
|
||||||
</a><br>
|
|
||||||
<a href="/bookmarks/">
|
|
||||||
<img class="pixel navbar-icon" src="{{ asset('images/icons/nav/bookmarks.png') }}" width="16" height="16" alt="">Bookmarks
|
|
||||||
</a><br>
|
|
||||||
<a href="/guestbook/">
|
|
||||||
<img class="pixel navbar-icon" src="{{ asset('images/icons/nav/guestbook.png') }}" width="16" height="16" alt="">Guestbook
|
|
||||||
</a><br>
|
|
||||||
<a href="//weather.diskfloppy.me/">
|
|
||||||
<img class="pixel navbar-icon" src="{{ asset('images/icons/nav/weather.png') }}" width="16" height="16" alt="">Weather
|
|
||||||
</a><br>
|
|
||||||
<a href="/music/">
|
|
||||||
<img class="pixel navbar-icon" src="{{ asset('images/icons/nav/music.png') }}" width="16" height="16" alt="">Music
|
|
||||||
</a><br>
|
|
||||||
</div>
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
<div class="section">
|
|
||||||
<table class="music-top10">
|
<table class="music-top10">
|
||||||
<caption>
|
<caption>
|
||||||
<h2 style="margin-bottom: 5px">Top 10 Tracks (Last 30 days):</h2>
|
<h2 style="margin-bottom: 5px">Top 10 Tracks (Last 30 days):</h2>
|
||||||
|
@ -15,4 +14,3 @@
|
||||||
<x-track :track="$track" :count="$count"/>
|
<x-track :track="$track" :count="$count"/>
|
||||||
@endforeach
|
@endforeach
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
|
|
5
resources/views/components/wah.blade.php
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<div class="wah">
|
||||||
|
<h3>Random Wah!</h3>
|
||||||
|
<img src="{{ $wah }}">
|
||||||
|
<p>Image "stolen" from <a href="https://tinyfox.dev/">tinyfox.dev</a></p>
|
||||||
|
</div>
|
|
@ -1,5 +1,8 @@
|
||||||
<p><strong>Weather Conditions:</strong></p>
|
<p><strong>Weather Conditions:</strong></p>
|
||||||
<hr style="margin: 4px 0">
|
<hr style="margin: 4px 0">
|
||||||
|
@if($conditions == null)
|
||||||
|
<p>Data Unavailable</p>
|
||||||
|
@else
|
||||||
<p><strong>Temperature:</strong> {{ round(($conditions[0]["temp"] - 32) * (5/9), 1) }} degC</p>
|
<p><strong>Temperature:</strong> {{ round(($conditions[0]["temp"] - 32) * (5/9), 1) }} degC</p>
|
||||||
<p><strong>Rain:</strong> {{ ($conditions[0]["rain_rate_last"] * 0.2) }}mm/hr ({{ $conditions[0]["rainfall_daily"] }}mm today)</p>
|
<p><strong>Rain:</strong> {{ ($conditions[0]["rain_rate_last"] * 0.2) }}mm/hr ({{ $conditions[0]["rainfall_daily"] }}mm today)</p>
|
||||||
@if ($conditions[0]["wind_speed_last"] != 0)
|
@if ($conditions[0]["wind_speed_last"] != 0)
|
||||||
|
@ -9,3 +12,4 @@
|
||||||
@endif
|
@endif
|
||||||
<p><strong>Humidity:</strong> {{ round($conditions[0]["hum"], 1) }}%</p>
|
<p><strong>Humidity:</strong> {{ round($conditions[0]["hum"], 1) }}%</p>
|
||||||
<p><strong>Pressure:</strong> {{ round($conditions[2]["bar_sea_level"], 1) }} inHg</p>
|
<p><strong>Pressure:</strong> {{ round($conditions[2]["bar_sea_level"], 1) }} inHg</p>
|
||||||
|
@endif
|
||||||
|
|
|
@ -1,9 +1,13 @@
|
||||||
<x-minimal>
|
<x-minimal>
|
||||||
<x-slot:title>Error 429: Overclocking Detected!</x-slot:title>
|
<x-slot:title>Error 429: Overclocking Detected!</x-slot:title>
|
||||||
<h1>Error 429: Overclocking Detected!</h1>
|
<div class="page-container">
|
||||||
|
<div>
|
||||||
|
<h1 style="margin-top: 0">Error 429: Overclocking Detected!</h1>
|
||||||
<hr>
|
<hr>
|
||||||
<p>Whoa there! Your submissions are going at warp speed.</p>
|
<p>Whoa there! Your submissions are going at warp speed.</p>
|
||||||
<p>Remember you can only submit an entry <u>once every hour</u>!</p>
|
<p>Remember you can only submit an entry <u>once every hour</u>!</p>
|
||||||
<br>
|
<br>
|
||||||
Click <a href="/guestbook">here</a> to go back to the guestbook.
|
Click <a href="/guestbook">here</a> to go back to the guestbook.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</x-minimal>
|
</x-minimal>
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
@php
|
@php
|
||||||
$user_agent = $parser->parse($entry->agent);
|
$user_agent = $parser->parse($entry->agent);
|
||||||
@endphp
|
@endphp
|
||||||
<div class="section">
|
<div class="gb-entry">
|
||||||
Submitted by <strong>{{ $entry->name }}</strong>
|
Submitted by <strong>{{ $entry->name }}</strong>
|
||||||
on <strong>{{ $entry->created_at->format('Y-m-d') }}</strong>
|
on <strong>{{ $entry->created_at->format('Y-m-d') }}</strong>
|
||||||
at <strong>{{ $entry->created_at->format('h:i:s A (e)') }}</strong>
|
at <strong>{{ $entry->created_at->format('h:i:s A (e)') }}</strong>
|
||||||
|
|
|
@ -1,42 +1,45 @@
|
||||||
<x-layout>
|
<x-layout>
|
||||||
<x-slot:title>Home</x-slot:title>
|
<x-slot:title>Home</x-slot:title>
|
||||||
|
|
||||||
<div class="section">
|
<x-wah></x-wah>
|
||||||
<h2>About Me</h2>
|
<p>Hi! This is my personal homepage on the <strong>W</strong>orld <strong>W</strong>ide
|
||||||
<hr>
|
<strong>W</strong>eb.
|
||||||
<p>Hi! This is my personal homepage on the <strong>W</strong>orld <strong>W</strong>ide <strong>W</strong>eb.</p>
|
</p>
|
||||||
<br>
|
<br>
|
||||||
<p>QuickFacts™:</p>
|
<p>Some quick facts about me:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>{{ $age }} y/o, he/him, British</li>
|
<li>19 y/o, he/him, British</li>
|
||||||
<li>Theatre Technician, "Web Developer" and NixOS User</li>
|
<li>Theatre Technician and "Web Developer"</li>
|
||||||
<li>Loves ETC desks, prefers Generics to LEDs for some reason</li>
|
<li>Loves ETC desks, prefers Generics to LEDs for some reason</li>
|
||||||
<li>Has a crippling Soundcraft addiction</li>
|
|
||||||
<li>Spends way too much time on his computer</li>
|
<li>Spends way too much time on his computer</li>
|
||||||
<li>Favorite games: <a href="https://steamcommunity.com/id/floppydisk05/recommended/420530/">OneShot</a>, Minecraft, Stardew Valley, N++ and Starbound</li>
|
<li>Favorite games: <a href="https://steamcommunity.com/id/fwoppydwisk/recommended/420530/">OneShot</a>,
|
||||||
|
Minecraft, Stardew Valley, N++ and Starbound</li>
|
||||||
<li><a href="http://wxqa.com/">CWOP</a> member</li>
|
<li><a href="http://wxqa.com/">CWOP</a> member</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
<p>Interests:</p>
|
<p>Interests:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><strong>Tech Theatre</strong> - Lighting, Stage Management, etc. (<a href="https://www.controlbooth.com/members/floppydisk.28673/">ControlBooth</a>)</li>
|
<li><strong>Tech Theatre</strong> - Lighting, Stage Management, etc. (<a
|
||||||
<li><strong>Programming</strong> - HTML, CSS, JavaScript, C#, Java, PHP, Ruby, Python (<a href="https://github.com/floppydisk05">GitHub</a>)</li>
|
href="https://www.controlbooth.com/members/floppydisk.28673/">ControlBooth</a>)</li>
|
||||||
|
<li><strong>Programming</strong> - HTML, CSS, JavaScript, C#, Java, PHP, Ruby, Python (<a
|
||||||
|
href="https://github.com/floppydisk05">GitHub</a>)</li>
|
||||||
<li><strong>Photography</strong> - <a href="https://www.flickr.com/photos/floppydisk/">Flickr</a></li>
|
<li><strong>Photography</strong> - <a href="https://www.flickr.com/photos/floppydisk/">Flickr</a></li>
|
||||||
<li><strong>Gaming</strong> - <a href="https://steamcommunity.com/id/floppydisk05/">Steam Profile</a></li>
|
<li><strong>Gaming</strong> - <a href="https://steamcommunity.com/id/fwoppydwisk/">Steam Profile</a>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
|
||||||
<div class="section">
|
{{-- <div class="section">--}}
|
||||||
<h2>Random Quote</h2>
|
{{-- <h2>Random Quote</h2>--}}
|
||||||
<hr>
|
{{-- <hr>--}}
|
||||||
<x-toh-quote/>
|
{{-- <x-toh-quote/>--}}
|
||||||
</div>
|
{{-- </div>--}}
|
||||||
<div class="section">
|
{{-- <div class="section">--}}
|
||||||
<h2>Contact</h2>
|
{{-- <h2>Contact</h2>--}}
|
||||||
<hr>
|
{{-- <hr>--}}
|
||||||
<p>
|
{{-- <p>--}}
|
||||||
<strong>E-mail:</strong> <a href="mailto:contact@diskfloppy.me">contact@diskfloppy.me</a><br>
|
{{-- <strong>E-mail:</strong> <a href="mailto:contact@diskfloppy.me">contact@diskfloppy.me</a><br>--}}
|
||||||
<strong>Mastodon:</strong> <a rel="me" href="https://c.im/@floppydisk">@floppydisk@c.im</a><br>
|
{{-- <strong>Mastodon:</strong> <a rel="me" href="https://c.im/@floppydisk">@floppydisk@c.im</a><br>--}}
|
||||||
<strong>Matrix:</strong> <a href="https://matrix.to/#/@floppydisk:arcticfoxes.net">@floppydisk:arcticfoxes.net</a>
|
{{-- <strong>Matrix:</strong> <a href="https://matrix.to/#/@floppydisk:arcticfoxes.net">@floppydisk:arcticfoxes.net</a>--}}
|
||||||
</p>
|
{{-- </p>--}}
|
||||||
</div>
|
{{-- </div>--}}
|
||||||
</x-layout>
|
</x-layout>
|
||||||
|
|
26
resources/views/privacy.blade.php
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
<x-layout>
|
||||||
|
<x-slot:title>Privacy</x-slot:title>
|
||||||
|
<div class="section">
|
||||||
|
<h2>What am I doing with your data?</h2>
|
||||||
|
<hr>
|
||||||
|
<h3>1. What's collected?</h3>
|
||||||
|
<p>This site uses the Apache2 webserver and thus, for every request received, the following is logged:</p>
|
||||||
|
<ul>
|
||||||
|
<li>IP address</li>
|
||||||
|
<li>Request time</li>
|
||||||
|
<li>Request type</li>
|
||||||
|
<li>Location of requested resource</li>
|
||||||
|
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer">Referrer</a> (what website linked you to this one)</li>
|
||||||
|
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent">User Agent</a> (Type and version of your web browser, often also operating system and version)</li>
|
||||||
|
</ul>
|
||||||
|
<p>My website doesn't collect any more than stated above (except MediaWiki maybe)</p><br>
|
||||||
|
<h3>2. Why are logs kept?</h3>
|
||||||
|
<p>So I can examine and prevent attacks such as spam or DDoS-ing attempts</p><br>
|
||||||
|
<h3>3. When are the logs analyzed?</h3>
|
||||||
|
<p>Usually, unless I suspect an attack of some kind, I won't actively spend hours perusing the logs.</p><br>
|
||||||
|
<h3>4. Can I opt-out?</h3>
|
||||||
|
<p>Maybe? If you want to, you can email <a href="mailto:wehmaster@weh.moe">wehmaster@weh.moe</a> and I'll try and sort it out as fast as possible (assuming I can figure out how)</p><br>
|
||||||
|
<address>Any outlinks and hotlinked/embedded resources are subject to their own privacy policies and have nothing to do with me.</address>
|
||||||
|
<address>Last updated: September 9th, 2024</address>
|
||||||
|
</div>
|
||||||
|
</x-layout>
|
|
@ -6,6 +6,7 @@
|
||||||
use App\Http\Controllers\GuestbookController;
|
use App\Http\Controllers\GuestbookController;
|
||||||
use App\Http\Controllers\HomeController;
|
use App\Http\Controllers\HomeController;
|
||||||
use App\Http\Controllers\MusicController;
|
use App\Http\Controllers\MusicController;
|
||||||
|
use App\Http\Controllers\PrivacyController;
|
||||||
use Illuminate\Support\Facades\Route;
|
use Illuminate\Support\Facades\Route;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -26,5 +27,6 @@
|
||||||
Route::get('/calculators', [CalculatorsController::class, 'show']);
|
Route::get('/calculators', [CalculatorsController::class, 'show']);
|
||||||
Route::get('/computers', [ComputersController::class, 'show']);
|
Route::get('/computers', [ComputersController::class, 'show']);
|
||||||
Route::get('/music', [MusicController::class, 'show']);
|
Route::get('/music', [MusicController::class, 'show']);
|
||||||
|
Route::get('/privacy', [PrivacyController::class, 'show']);
|
||||||
Route::post('/guestbook', [GuestbookController::class, 'addEntry'])
|
Route::post('/guestbook', [GuestbookController::class, 'addEntry'])
|
||||||
->middleware('rate_limit');
|
->middleware('rate_limit');
|
||||||
|
|