aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfloppydiskette <floppydisk@hyprcat.net>2024-09-13 22:31:05 +0100
committerfloppydiskette <floppydisk@hyprcat.net>2024-09-13 22:31:05 +0100
commit2204944c1b9154acc5e40e97b00933d5b55e9d57 (patch)
tree9efd283d0ef95f71b36aa3a6a4179fdd477758e2
parentd8915dcca4d9752f6f254e86afa39ef7f83617d1 (diff)
Multiple in-progress changes
-rw-r--r--app/Http/Controllers/PrivacyController.php16
-rw-r--r--public/css/master.css15
-rw-r--r--public/images/buttons/aliasing.pngbin0 -> 786 bytes
-rw-r--r--public/images/buttons/brokenimage.gifbin0 -> 1060 bytes
-rw-r--r--public/images/buttons/cnfunknown.gifbin0 -> 524 bytes
-rw-r--r--public/images/buttons/juli.gifbin0 -> 2121 bytes
-rw-r--r--public/images/buttons/paws.gifbin0 -> 885 bytes
-rw-r--r--public/images/buttons/x86.gifbin0 -> 2436 bytes
-rw-r--r--resources/views/components/layout.blade.php36
-rw-r--r--resources/views/privacy.blade.php26
-rw-r--r--routes/web.php2
11 files changed, 81 insertions, 14 deletions
diff --git a/app/Http/Controllers/PrivacyController.php b/app/Http/Controllers/PrivacyController.php
new file mode 100644
index 0000000..277bf35
--- /dev/null
+++ b/app/Http/Controllers/PrivacyController.php
@@ -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');
+ }
+}
diff --git a/public/css/master.css b/public/css/master.css
index 1dcebd9..6c91fc1 100644
--- a/public/css/master.css
+++ b/public/css/master.css
@@ -54,9 +54,7 @@ select {
}
h1,
-h2,
-h3,
-h4 {
+h2 {
font-family: "pixel nes", sans-serif;
}
@@ -69,6 +67,11 @@ p {
margin: 0;
}
+hr {
+ border: none;
+ border-top: 1px solid var(--foreground);
+}
+
a {
color: var(--links);
text-decoration: underline dotted;
@@ -167,7 +170,7 @@ footer,
footer {
display: grid;
- grid-template-columns: repeat(2, 1fr);
+ grid-template-columns: repeat(2, auto);
grid-template-rows: 1fr;
grid-column-gap: 0;
grid-row-gap: 0;
@@ -334,3 +337,7 @@ table.computers th {
.calculator-spec-table tr td:first-child {
background-color: var(--background-secondary);
}
+
+.sidebar > .section > button {
+ margin-top: 5px;
+}
diff --git a/public/images/buttons/aliasing.png b/public/images/buttons/aliasing.png
new file mode 100644
index 0000000..27b53e9
--- /dev/null
+++ b/public/images/buttons/aliasing.png
Binary files differ
diff --git a/public/images/buttons/brokenimage.gif b/public/images/buttons/brokenimage.gif
new file mode 100644
index 0000000..32bf833
--- /dev/null
+++ b/public/images/buttons/brokenimage.gif
Binary files differ
diff --git a/public/images/buttons/cnfunknown.gif b/public/images/buttons/cnfunknown.gif
new file mode 100644
index 0000000..b8e9239
--- /dev/null
+++ b/public/images/buttons/cnfunknown.gif
Binary files differ
diff --git a/public/images/buttons/juli.gif b/public/images/buttons/juli.gif
new file mode 100644
index 0000000..4ff0364
--- /dev/null
+++ b/public/images/buttons/juli.gif
Binary files differ
diff --git a/public/images/buttons/paws.gif b/public/images/buttons/paws.gif
new file mode 100644
index 0000000..b585800
--- /dev/null
+++ b/public/images/buttons/paws.gif
Binary files differ
diff --git a/public/images/buttons/x86.gif b/public/images/buttons/x86.gif
new file mode 100644
index 0000000..f271daa
--- /dev/null
+++ b/public/images/buttons/x86.gif
Binary files differ
diff --git a/resources/views/components/layout.blade.php b/resources/views/components/layout.blade.php
index 7e36de5..2ac3632 100644
--- a/resources/views/components/layout.blade.php
+++ b/resources/views/components/layout.blade.php
@@ -52,10 +52,30 @@
<footer>
<div>
(c) 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>,
+ <a href="/privacy">Privacy Policy?</a><br>
Served by {{ gethostname() }}
</div>
<div>
+ <a href="https://confusionunknown.nekoweb.org/" class="button">
+ <img src="{{ URL::asset('images/buttons/cnfunknown.gif') }}" width="88" height="31"
+ class="pixel" alt="confusionunknown">
+ </a>
+ <a href="https://julimiro.eu/" class="button">
+ <img src="{{ URL::asset('images/buttons/juli.gif') }}" width="88" height="31"
+ class="pixel" alt="julimiro">
+ </a>
+ <a href="https://x86.breadtf.com/" class="button">
+ <img src="{{ URL::asset('images/buttons/x86.gif') }}" width="88" height="31"
+ class="pixel" alt="x86Overflow">
+ </a>
+ <img src="{{ URL::asset('images/buttons/brokenimage.gif') }}" width="88" height="31"
+ class="pixel" alt="Made with my own two paws">
+ <img src="{{ URL::asset('images/buttons/brokenimage.gif') }}" width="88" height="31"
+ class="pixel" alt="Made with my own two paws">
+ <img src="{{ URL::asset('images/buttons/brokenimage.gif') }}" width="88" height="31"
+ class="pixel" alt="Made with my own two paws"><br>
<a href="https://dimden.dev/" class="button">
<img src="https://dimden.dev/services/images/88x31.gif" width="88" height="31"
class="pixel" alt="dimden.dev">
@@ -67,19 +87,15 @@
<a href="https://www.vim.org/" class="button">
<img src="{{ URL::asset('images/buttons/vim.gif') }}" width="88" height="31"
class="pixel" alt="vim">
- </a><br>
+ </a>
<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>
+ <img src="{{ URL::asset('images/buttons/aliasing.png') }}" width="88" height="31"
+ class="pixel" alt="I heart aliasing!">
+ <img src="{{ URL::asset('images/buttons/paws.gif') }}" width="88" height="31"
+ class="pixel" alt="Made with my own two paws">
</div>
</footer>
</div>
diff --git a/resources/views/privacy.blade.php b/resources/views/privacy.blade.php
new file mode 100644
index 0000000..0d0ebfa
--- /dev/null
+++ b/resources/views/privacy.blade.php
@@ -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>
diff --git a/routes/web.php b/routes/web.php
index 0b10251..af97484 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -6,6 +6,7 @@ use App\Http\Controllers\ComputersController;
use App\Http\Controllers\GuestbookController;
use App\Http\Controllers\HomeController;
use App\Http\Controllers\MusicController;
+use App\Http\Controllers\PrivacyController;
use Illuminate\Support\Facades\Route;
/*
@@ -26,5 +27,6 @@ Route::get('/guestbook', [GuestbookController::class, 'show']);
Route::get('/calculators', [CalculatorsController::class, 'show']);
Route::get('/computers', [ComputersController::class, 'show']);
Route::get('/music', [MusicController::class, 'show']);
+Route::get('/privacy', [PrivacyController::class, 'show']);
Route::post('/guestbook', [GuestbookController::class, 'addEntry'])
->middleware('rate_limit');