Compare commits

..

2 commits

Author SHA1 Message Date
5dc6252c4c
Update page layout
- Add more buttons
- Style <hr> elements
- Remove 'pixel nes' font from <h3> and <h4> elements
- Change footer grid column sizes to auto (previously 1fr)
- Add 5px top margin to sidebar buttons
2024-10-06 04:11:46 +01:00
d857991d18
Add privacy page 2024-10-06 04:11:08 +01:00
11 changed files with 81 additions and 14 deletions

View 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');
}
}

View file

@ -54,9 +54,7 @@ select {
} }
h1, h1,
h2, h2 {
h3,
h4 {
font-family: "pixel nes", sans-serif; font-family: "pixel nes", sans-serif;
} }
@ -69,6 +67,11 @@ p {
margin: 0; margin: 0;
} }
hr {
border: none;
border-top: 1px solid var(--foreground);
}
a { a {
color: var(--links); color: var(--links);
text-decoration: underline dotted; text-decoration: underline dotted;
@ -167,7 +170,7 @@ .navbar {
footer { footer {
display: grid; display: grid;
grid-template-columns: repeat(2, 1fr); grid-template-columns: repeat(2, auto);
grid-template-rows: 1fr; grid-template-rows: 1fr;
grid-column-gap: 0; grid-column-gap: 0;
grid-row-gap: 0; grid-row-gap: 0;
@ -334,3 +337,7 @@ .calculator-spec-table td {
.calculator-spec-table tr td:first-child { .calculator-spec-table tr td:first-child {
background-color: var(--background-secondary); background-color: var(--background-secondary);
} }
.sidebar > .section > button {
margin-top: 5px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 786 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 524 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 885 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View file

@ -52,10 +52,30 @@
<footer> <footer>
<div> <div>
(c) floppydisk 2021-{{ date('Y') }}<br> (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() }} Served by {{ gethostname() }}
</div> </div>
<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"> <a href="https://dimden.dev/" class="button">
<img src="https://dimden.dev/services/images/88x31.gif" width="88" height="31" <img src="https://dimden.dev/services/images/88x31.gif" width="88" height="31"
class="pixel" alt="dimden.dev"> class="pixel" alt="dimden.dev">
@ -67,19 +87,15 @@ class="pixel" height="31" alt="Linux NOW!">
<a href="https://www.vim.org/" class="button"> <a href="https://www.vim.org/" class="button">
<img src="{{ URL::asset('images/buttons/vim.gif') }}" width="88" height="31" <img src="{{ URL::asset('images/buttons/vim.gif') }}" width="88" height="31"
class="pixel" alt="vim"> class="pixel" alt="vim">
</a><br> </a>
<a href="https://wave.webaim.org/" class="button"> <a href="https://wave.webaim.org/" class="button">
<img src="{{ URL::asset('images/buttons/evaluatedWAVE.png') }}" width="88" height="31" <img src="{{ URL::asset('images/buttons/evaluatedWAVE.png') }}" width="88" height="31"
class="pixel" alt="Evaluated to be accessible!"> class="pixel" alt="Evaluated to be accessible!">
</a> </a>
<a href="https://jigsaw.w3.org/css-validator/check/referer" class="button"> <img src="{{ URL::asset('images/buttons/aliasing.png') }}" width="88" height="31"
<img src="{{ URL::asset('images/buttons/vcss-blue.gif') }}" width="88" height="31" class="pixel" alt="I heart aliasing!">
class="pixel" alt="Valid CSS!"> <img src="{{ URL::asset('images/buttons/paws.gif') }}" width="88" height="31"
</a> class="pixel" alt="Made with my own two paws">
<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> </footer>
</div> </div>

View 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>

View file

@ -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');