diff options
Diffstat (limited to 'resources/views')
35 files changed, 0 insertions, 892 deletions
diff --git a/resources/views/bookmarks.blade.php b/resources/views/bookmarks.blade.php deleted file mode 100644 index f75e9b4..0000000 --- a/resources/views/bookmarks.blade.php +++ /dev/null @@ -1,24 +0,0 @@ -<x-layout> - <x-slot:title>Bookmarks</x-slot:title> - @foreach($categories as $category) - <div class="section"> - <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> - <ul> - @foreach($sites as $site) - <li><a href="{{ $site->url }}">{{ $site->name }}</a> - {{ $site->description }}</li> - @endforeach - </ul> - </div> - @endforeach -</x-layout> diff --git a/resources/views/calculators.blade.php b/resources/views/calculators.blade.php deleted file mode 100644 index e36ac43..0000000 --- a/resources/views/calculators.blade.php +++ /dev/null @@ -1,114 +0,0 @@ -<x-layout> - <x-slot:title>Calculators</x-slot:title> - <div class="section"> - <h2>CASIO fx-CG50</h2> - <p>TBD</p> - <br> - <p><strong>Pictures</strong></p> - <img src="{{ asset('images/calculators/casio-fx-cg50/1s.jpeg') }}" width="15%" alt="Casio fx-CG50 Front view"> - <img src="{{ asset('images/calculators/casio-fx-cg50/2s.jpeg') }}" width="15%" alt="Casio fx-CG50 Rear view (battery cover removed)"> - <img src="{{ asset('images/calculators/casio-fx-cg50/3s.jpeg') }}" width="15%" alt="Casio fx-CG50 Front view (top half)"> - <img src="{{ asset('images/calculators/casio-fx-cg50/4s.jpeg') }}" width="15%" alt="Casio fx-CG50 Front view (bottom half)"> - </div> - <div class="section"> - <h2>CASIO fx-120 (1977-78)</h2> - <p>TBD</p> - <br> - <p><strong>Specifications</strong></p> - <table class="calculator-spec-table"> - <tr> - <td><b>Size</b></td> - <td>8.4cm x 16.2cm x 2.4cm</td> - </tr> - <tr> - <td><b>Weight (w/ battery)</b></td> - <td>209g</td> - </tr> - <tr> - <td><b>Type</b></td> - <td>Scientific</td> - </tr> - <tr> - <td><b>CPU</b></td> - <td>Hitachi HD38111A</td> - </tr> - <tr> - <td><b>Registers</b></td> - <td>2 standard<br>1 constant<br>4 bracket<br>1 memory</td> - </tr> - <tr> - <td><b>Features</b></td> - <td>%, +/-, RV, F, Sci, a<sup>b</sup>⁄<sub>c</sub>, Sqr, x<sup>2</sup>, pi, <sup>1</sup>⁄<sub>x</sub>, trig,<br>hyp, DMS-DD, log, y<sup>x</sup>, SD, nCr, P-R, n!</td> - </tr> - <tr> - <td><b>Display</b></td> - <td>12-digit VFD (NEC LD8197A)</td> - </tr> - </table> - <br> - <p><strong>Pictures</strong></p> - <img src="{{ asset('images/calculators/casio-fx-120/1s.jpeg') }}" width="15%" alt="Casio fx-120 Front view"> - <img src="{{ asset('images/calculators/casio-fx-120/2s.jpeg') }}" width="15%" alt="Casio fx-120 Front view (top half)"> - <img src="{{ asset('images/calculators/casio-fx-120/3s.jpeg') }}" width="15%" alt="Casio fx-120 Front view (bottom half)"> - <img src="{{ asset('images/calculators/casio-fx-120/4s.jpeg') }}" width="15%" alt="Casio fx-120 Rear view (battery and expansion covers removed"> - </div> - <div class="section"> - <h2>CASIO fx-82 (1982-85)</h2> - <p>TBD</p> - <br> - <p><strong>Pictures</strong></p> - <img src="{{ asset('images/calculators/casio-fx-82/1s.jpeg') }}" width="15%" alt="Casio fx-82 Front view"> - <img src="{{ asset('images/calculators/casio-fx-82/2s.jpeg') }}" width="15%" alt="Casio fx-82 Rear view (battery cover removed)"> - <img src="{{ asset('images/calculators/casio-fx-82/3s.jpeg') }}" width="15%" alt="Casio fx-82 Front view (top half)"> - <img src="{{ asset('images/calculators/casio-fx-82/4s.jpeg') }}" width="15%" alt="Casio fx-82 Front view (bottom half)"> - </div> - <div class="section"> - <h2>Texas Instruments TI-30 (1976-90)</h2> - <p>TBD</p> - <br> - <p><strong>Pictures</strong></p> - <img src="{{ asset('images/calculators/ti-30/1s.jpeg') }}" width="15%" alt="Texas Instruments TI-30 Front view (with manual)"> - <img src="{{ asset('images/calculators/ti-30/2s.jpeg') }}" width="15%" alt="Texas Instruments TI-30 Rear view (battery cover removed)"> - <img src="{{ asset('images/calculators/ti-30/3s.jpeg') }}" width="15%" alt="Texas Instruments TI-30 Front view (top half)"> - <img src="{{ asset('images/calculators/ti-30/4s.jpeg') }}" width="15%" alt="Texas Instruments TI-30 Front view (bottom half)"> - </div> - <div class="section"> - <h2>Texet 880 Executive (1977-78)</h2> - <p>The calculator measures 74.2mm x 135mm x 22.2mm. It weighs 86g without the battery installed, which is a 9v PP3-type battery. Rather than the usual press-stud type holder, the housing has two metal slide clips. There is also what I assume to be a sponge at one end which is supposed to aid in holding the battery in, however it appears to have gone completely hard and I will most likely replace it in the future. There's small adaptor hole at the top, of which the input isn't specified (though it's generally agreed that it's 4.5v centre-positive).</p> - <p>The case is black & silvery colored with a thin brushed metallic front panel. The eight-digit bubble display has an absolutely <i>terrible</i> viewing angle, which means you either have to be holding it under your coat or against your face to read it!</p> - The keypad is particularly strange in the way that it has 3 cancel buttons, [CE], [C] and [CA], while the [CS] button is a Clear Sign button, <i>not</i> another cancel! The keys themselves are particularly stiff, and you really have to push them to get them to register. Many 880s suffered something referred to as the "pseudo fixed decimal bug" where, if you typed in 1 + 1.00 = , it would display 2.00 instead of the expected 2 - <br> - <p><strong>Specifications</strong></p> - <table class="calculator-spec-table"> - <tr> - <td><b>Size</b></td> - <td>7.4cm x 13.5cm x 2.2cm</td> - </tr> - <tr> - <td><b>Weight (w/o battery)</b></td> - <td>86</td> - </tr> - <tr> - <td><b>Type</b></td> - <td>Arithmetic</td> - </tr> - <tr> - <td><b>Logic</b></td> - <td>Algebraic</td> - </tr> - <tr> - <td><b>Power Source</b></td> - <td>PP3 9v</td> - </tr> - <tr> - <td><b>Display</b></td> - <td>8-digit LED</td> - </tr> - </table> - <p><strong>Pictures</strong></p> - <img src="{{ asset('images/calculators/texet-880/1s.jpeg') }}" width="15%" alt="Texet 880 Executive Front view"> - <img src="{{ asset('images/calculators/texet-880/2s.jpeg') }}" width="15%" alt="Texet 880 Executive Rear view (battery cover removed)"> - <img src="{{ asset('images/calculators/texet-880/3s.jpeg') }}" width="15%" alt="Texet 880 Executive Front view (top half)"> - <img src="{{ asset('images/calculators/texet-880/4s.jpeg') }}" width="15%" alt="Texet 880 Executive Front view (bottom half)"> - </div> -</x-layout> diff --git a/resources/views/components/current-track.blade.php b/resources/views/components/current-track.blade.php deleted file mode 100644 index 0770240..0000000 --- a/resources/views/components/current-track.blade.php +++ /dev/null @@ -1,4 +0,0 @@ -<div class="section current-track"> - <h2>Last/Current Track:</h2> - <a href="{{ $track["url"] }}">{{ $track["title"] }} • {{ $track["artist"] }}</a><br> -</div> diff --git a/resources/views/components/discord-status.blade.php b/resources/views/components/discord-status.blade.php deleted file mode 100644 index 868fc03..0000000 --- a/resources/views/components/discord-status.blade.php +++ /dev/null @@ -1,7 +0,0 @@ -@if($status == null) - <p>Status Unavailable</p> -@else - <span>I'm</span> - <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> diff --git a/resources/views/components/errors/api-error.blade.php b/resources/views/components/errors/api-error.blade.php deleted file mode 100644 index 1d4609a..0000000 --- a/resources/views/components/errors/api-error.blade.php +++ /dev/null @@ -1,4 +0,0 @@ -<div class="error-box"> - <p><b>API Error:</b> There was an error connecting to the API.</p> - <p>If this error persists, please notify me via <a href="mailto:webmaster@diskfloppy.me">e-mail</a>.</p> -</div> diff --git a/resources/views/components/errors/db-error.blade.php b/resources/views/components/errors/db-error.blade.php deleted file mode 100644 index 45f6157..0000000 --- a/resources/views/components/errors/db-error.blade.php +++ /dev/null @@ -1,4 +0,0 @@ -<div class="error-box"> - <p><b>DB Error:</b> There was an error connecting to the database.</p> - <p>If this error persists, please notify me via <a href="mailto:webmaster@diskfloppy.me">e-mail</a>.</p> -</div> diff --git a/resources/views/components/git.blade.php b/resources/views/components/git.blade.php deleted file mode 100644 index e66a6eb..0000000 --- a/resources/views/components/git.blade.php +++ /dev/null @@ -1,48 +0,0 @@ -@php -$api_root = app('config')->get('app')['api_root']; - -$commits = json_decode(file_get_contents($api_root.'/gitdata')); -$count = 0; - -function formatRelativeTime(DateTime $dateTime) { - $currentTimestamp = time(); - $dateTimeTimestamp = $dateTime->getTimestamp(); - $difference = $currentTimestamp - $dateTimeTimestamp; - - if ($difference < 60) { - return "just now"; - } elseif ($difference < 3600) { - $minutes = floor($difference / 60); - $suffix = ($minutes > 1) ? "s" : ""; - return $minutes . " minute" . $suffix . " ago"; - } elseif ($difference < 86400) { - $hours = floor($difference / 3600); - $suffix = ($hours > 1) ? "s" : ""; - return $hours . " hour" . $suffix . " ago"; - } elseif ($difference < 604800) { - $days = floor($difference / 86400); - $suffix = ($days > 1) ? "s" : ""; - return $days . " day" . $suffix . " ago"; - } else { - return $dateTime->format('Y-m-d H:i:s'); // Fallback to a specific format if desired - } -} -@endphp -<h1>Recent Site Updates</h1> - <table class="commits"> -@foreach ($commits as $commit) - - @if ($count >= 5) - </table> - @break - @endif - @php - $date = DateTime::createFromFormat("Y-m-d\TH:i:s\Z", $commit->author->date) - @endphp - <tr> - <td>•</td> - <td>{{ formatRelativeTime($date) }}</td> - <td><a href="{{ $commit->url }}">{{ $commit->message }}</a></td> - </tr> -@php $count++ @endphp -@endforeach diff --git a/resources/views/components/layout.blade.php b/resources/views/components/layout.blade.php deleted file mode 100644 index 7e36de5..0000000 --- a/resources/views/components/layout.blade.php +++ /dev/null @@ -1,88 +0,0 @@ -@php // Get colorscheme from cookie and apply immediately - $colorscheme = request()->cookie('colorscheme', 'catppuccin-macchiato'); -@endphp -<!DOCTYPE html> -<html lang="en"> -<head> - <!-- Global --> - <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="#333333"> - <link rel="stylesheet" href="{{ asset("/css/colorschemes/$colorscheme.css") }}" id="css-colorscheme"/> - <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"/> - <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>' : '' !!} - - <!-- Page-specific --> - <title>{{ $title ?? 'Unknown' }} - {{ 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"> -</head> -<body onload="setSchemeSelector()"> -<div class="container"> - <div class="page"> - <header> - <h1>{{ str_replace("www.", "", Request::getHost()) }}</h1> - </header> - <div class="navbar"> - <p> - <strong>Current Path:</strong> - @if(Request::getRequestUri() == "/") - / - @else - {{ str_replace("/", " / ", rtrim(Request::getRequestUri(), "/")) }} - @endif - </p> - </div> - <div class="content"> - <main> - {{ $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> - <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> - Served by {{ gethostname() }} - </div> - <div> - <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"> - </a> - <a href="https://www.linux.org/" class="button"> - <img src="{{ URL::asset('images/buttons/linuxnow.gif') }}" width="88" - class="pixel" height="31" alt="Linux NOW!"> - </a> - <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 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> - </footer> - </div> -</div> -</body> -</html> diff --git a/resources/views/components/minimal-error.blade.php b/resources/views/components/minimal-error.blade.php deleted file mode 100644 index 3be5511..0000000 --- a/resources/views/components/minimal-error.blade.php +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<html lang="en"> -<head> - <title>{{ $title ?? '' }}</title> - <link rel="stylesheet" href="{{ URL::asset ('css/minimal.css') }}"/> -</head> - -<body> - <h1>Error {{ $code }} | <strong>{{ $message }}</strong></h1> - <hr align="left"> - <p>Here, have a cat...</p> - <img src="https://http.cat/{{ $code }}" width="500"><br><br> - <p>If you believe this is a server error, contact the <a href="mailto:webmaster@diskfloppy.me">webmaster</a></p> - <br> - <h4>Diagnostic Info</h4> - <table><tr><td> - <code> - Server: {{ gethostname() }}<br> - Your IP: {{ Request::ip() }}<br> - Root: {!! url('') !!}<br> - Path: @if(Request::path() == "/")/@else/{{ Request::path() }}/@endif<br> - Epoch: {{ now()->timestamp }}<br> - Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0 </code> - </td></tr></table> - <hr align="left"> - <p>© floppydisk 2021-2024</p> -</body> -</html> diff --git a/resources/views/components/minimal.blade.php b/resources/views/components/minimal.blade.php deleted file mode 100644 index e69de29..0000000 --- a/resources/views/components/minimal.blade.php +++ /dev/null diff --git a/resources/views/components/navigation.blade.php b/resources/views/components/navigation.blade.php deleted file mode 100644 index 6c99e8c..0000000 --- a/resources/views/components/navigation.blade.php +++ /dev/null @@ -1,30 +0,0 @@ -<p><strong>Navigation:</strong></p> -<div class="navlinks"> -<a href="/"> - <img class="pixel navbar-icon" src="{{ asset('images/icons/nav/home2.png') }}" width="16" height="16" alt="">Home -</a><br> -<a href="//git.diskfloppy.me/"> - <img class="pixel navbar-icon" src="{{ asset('images/icons/nav/repo.png') }}" width="16" height="16" alt="">Git -</a><br> -<a href="/pub/"> - <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> diff --git a/resources/views/components/never-said.blade.php b/resources/views/components/never-said.blade.php deleted file mode 100644 index 9cb47b7..0000000 --- a/resources/views/components/never-said.blade.php +++ /dev/null @@ -1,3 +0,0 @@ -<p class="quote"> - <strong>{{ $quote["name"] }}:</strong> "{{ $quote["quote"] }}"<br> -</p> diff --git a/resources/views/components/settings.blade.php b/resources/views/components/settings.blade.php deleted file mode 100644 index 8851f6c..0000000 --- a/resources/views/components/settings.blade.php +++ /dev/null @@ -1,37 +0,0 @@ -<p><strong>Site Settings:</strong></p> -<label for="scheme-selector">Colors:</label> -<select id="scheme-selector"> -{{-- <optgroup label="Misc">--}} -{{-- <option value="c64">C64</option>--}} -{{-- </optgroup>--}} - <optgroup label="Light"> - <option value="catppuccin-latte">Catppuccin Latte</option> -{{-- <option value="gruvbox">Gruvbox</option>--}} -{{-- <option value="man-page">Man Page</option>--}} -{{-- <option value="papercolor-light">Papercolor Light</option>--}} -{{-- <option value="rose-pine-dawn">Rosé Pine Dawn</option>--}} -{{-- <option value="solarized-light">Solarized Light</option>--}} -{{-- <option value="terminal-basic">Terminal Basic</option>--}} - </optgroup> - <optgroup label="Dark"> - <option value="catppuccin-frappe">Catppuccin Frappé</option> - <option value="catppuccin-macchiato" selected="selected">Catppuccin Macchiato</option> - <option value="catppuccin-mocha">Catppuccin Mocha</option> -{{-- <option value="gruvbox-dark">Gruvbox Dark</option>--}} -{{-- <option value="gruvbox-material">Gruvbox Material</option>--}} -{{-- <option value="maia">Maia</option>--}} -{{-- <option value="mono-amber">Mono Amber</option>--}} -{{-- <option value="mono-cyan">Mono Cyan</option>--}} -{{-- <option value="mono-green">Mono Green</option>--}} -{{-- <option value="mono-red">Mono Red</option>--}} -{{-- <option value="mono-white">Mono White</option>--}} -{{-- <option value="mono-yellow">Mono Yellow</option>--}} -{{-- <option value="papercolor-dark">Papercolor Dark</option>--}} -{{-- <option value="rose-pine">Rosé Pine</option>--}} -{{-- <option value="rose-pine-moon">Rose Pine Moon</option>--}} -{{-- <option value="shel">Shel</option>--}} -{{-- <option value="slate">Slate</option>--}} -{{-- <option value="solarized-dark">Solarized Dark</option>--}} - </optgroup> -</select><br> -<button onclick="swapScheme()">Apply</button> diff --git a/resources/views/components/toh-quote.blade.php b/resources/views/components/toh-quote.blade.php deleted file mode 100644 index d9dfab1..0000000 --- a/resources/views/components/toh-quote.blade.php +++ /dev/null @@ -1,12 +0,0 @@ -<p class="quote"> - @foreach($quote["lines"] as $line) - <strong>{{ $line["character"] }}:</strong> - {{-- Literally only one thing will trigger this lmao --}} - @if($line["line"] == "*Rage squeals*") - {{ $line["line"] }} - @else - "{{ $line["line"] }}" - @endif<br> - @endforeach - <small>({{ $quote["attribution"] }})</small> -</p> diff --git a/resources/views/components/top-tracks.blade.php b/resources/views/components/top-tracks.blade.php deleted file mode 100644 index 0b563b4..0000000 --- a/resources/views/components/top-tracks.blade.php +++ /dev/null @@ -1,18 +0,0 @@ -<div class="section"> -<table class="music-top10"> - <caption> - <h2 style="margin-bottom: 5px">Top 10 Tracks (Last 30 days):</h2> - </caption> - <tr> - <th><b>#</b></th> - <th><b>Track</b></th> - <th><b>Artist</b></th> - <th><b>Plays</b></th> - </tr> - @php($count = 0) - @foreach ($tracks as $track) - @php($count++) - <x-track :track="$track" :count="$count"/> - @endforeach -</table> -</div> diff --git a/resources/views/components/track.blade.php b/resources/views/components/track.blade.php deleted file mode 100644 index b176e95..0000000 --- a/resources/views/components/track.blade.php +++ /dev/null @@ -1,6 +0,0 @@ -<tr> - <td>{{ $count }}</td> - <td><a href="{{ $track["url"] }}">{{ $track["title"] }}</a></td> - <td>{{ $track["artist"] }}</td> - <td>{{ $track["plays"] }}</td> -</tr> diff --git a/resources/views/components/weather.blade.php b/resources/views/components/weather.blade.php deleted file mode 100644 index 879f1cb..0000000 --- a/resources/views/components/weather.blade.php +++ /dev/null @@ -1,15 +0,0 @@ -<p><strong>Weather Conditions:</strong></p> -<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>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) - <p><strong>Wind:</strong> {{ round($conditions[0]["wind_speed_last"], 1) }}mph ({{ $conditions[0]["wind_dir_last"] }} deg)</p> - @else - <p><strong>Wind:</strong> 0mph</p> - @endif - <p><strong>Humidity:</strong> {{ round($conditions[0]["hum"], 1) }}%</p> - <p><strong>Pressure:</strong> {{ round($conditions[2]["bar_sea_level"], 1) }} inHg</p> -@endif diff --git a/resources/views/computers.blade.php b/resources/views/computers.blade.php deleted file mode 100644 index 4d3457e..0000000 --- a/resources/views/computers.blade.php +++ /dev/null @@ -1,253 +0,0 @@ -<x-layout> - <x-slot:title>Computers</x-slot:title> - <p>TBD</p> -{{-- <table class="computers">--}} -{{-- <tr>--}} -{{-- <th>MODEL</th>--}} -{{-- <th>CPU</th>--}} -{{-- <th>GPU</th>--}} -{{-- <th>STORAGE</th>--}} -{{-- <th>RAM</th>--}} -{{-- <th>OS</th>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>Random Whitebox<br>(???)</td>--}} -{{-- <td>486DX2</td>--}} -{{-- <td></td>--}} -{{-- <td>280MB HDD</td>--}} -{{-- <td>16MB</td>--}} -{{-- <td>MS-DOS 6.22 & Windows for Workgroups 3.11</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>MacBook Pro 14"<br>(2023)</td>--}} -{{-- <td colspan="2">M3 Pro</td>--}} -{{-- <td>500GB SSD</td>--}} -{{-- <td>18GB</td>--}} -{{-- <td>macOS Sonoma</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>MacBook Pro 13"<br>(2018)</td>--}} -{{-- <td>Intel i5-8592U (2.3GHz)</td>--}} -{{-- <td>Intel Iris Plus 655</td>--}} -{{-- <td>250GB SSD</td>--}} -{{-- <td>8GB</td>--}} -{{-- <td>macOS Mojave</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>Lenovo ThinkPad T430<br>(2012)</td>--}} -{{-- <td>Intel Core i7 (idk what it is)</td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td>16GB</td>--}} -{{-- <td>Windows 7 Pro / NixOS</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>IBM ThinkPad X41T<br>(2005)</td>--}} -{{-- <td>Intel Pentium M (1.6GHz)</td>--}} -{{-- <td>Mobile Intel Express Chipset (128MB)</td>--}} -{{-- <td>40GB HDD</td>--}} -{{-- <td>1.5GB</td>--}} -{{-- <td>Windows XP Tablet PC Edition</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>Dell OptiPlex GX1<br>(1999)</td>--}} -{{-- <td>Intel Pentium II (Deschutes, 400MHz)</td>--}} -{{-- <td>ATI 3D Rage Pro (4MB)</td>--}} -{{-- <td>40GB HDD</td>--}} -{{-- <td>639MB</td>--}} -{{-- <td>Windows 2000</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>IBM ThinkPad T40<br>(2003)</td>--}} -{{-- <td>Intel Pentium M (1.3GHz)</td>--}} -{{-- <td>ATI Mobility Radeon 7500 (32MB)</td>--}} -{{-- <td>N/A</td>--}} -{{-- <td>N/A</td>--}} -{{-- <td>N/A</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>HP Compaq Elite 8100<br>(2010)</td>--}} -{{-- <td>Intel Core i7 (something or other)</td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td>16GB</td>--}} -{{-- <td>Windows Vista Ultimate (64-bit)</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>Mac mini<br>(2014)</td>--}} -{{-- <td>Intel Core i5-4278U (2.6GHz)</td>--}} -{{-- <td>Intel Iris Graphics</td>--}} -{{-- <td>1TB HDD</td>--}} -{{-- <td>8GB</td>--}} -{{-- <td>Proxmox VE 8.2</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>Fujitsu Milan<br>(1996)</td>--}} -{{-- <td>Intel Pentium</td>--}} -{{-- <td></td>--}} -{{-- <td>1215MB HDD</td>--}} -{{-- <td>32MB</td>--}} -{{-- <td>Windows 98 SE</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>Compaq Armada M300<br>(1999)</td>--}} -{{-- <td>Intel Pentium III</td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>SuperMicro X9SCM</td>--}} -{{-- <td>Intel Pentium G850 (2.9GHz)</td>--}} -{{-- <td>Matrox MGA G6200eW</td>--}} -{{-- <td>2TB HDD / 80GB HDD</td>--}} -{{-- <td>16GB</td>--}} -{{-- <td>Proxmox VE 8.2</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>Main PC</td>--}} -{{-- <td>Intel Core i7-6700K (4GHz)</td>--}} -{{-- <td>NVidia GTX 1060 (3GB)</td>--}} -{{-- <td>(multiple)</td>--}} -{{-- <td>64GB</td>--}} -{{-- <td>Windows 10 Pro / NixOS</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>Toshiba Qosmio F20<br>(2005)</td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td>N/A</td>--}} -{{-- <td>N/A</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>MacBook Pro 13"<br>(2009)</td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td>N/A</td>--}} -{{-- <td>N/A</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>Packard-Bell EasyNote MIT-LYN01<br>(???)</td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td>Windows XP Home</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>Sony VAIO PCG-3B1M<br>(???)</td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td>Windows Vista</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>Dell OptiPlex 745 USFF<br>(2006)</td>--}} -{{-- <td>Intel Pentium Dual Core</td>--}} -{{-- <td>Intel Integrated</td>--}} -{{-- <td>(multiple)</td>--}} -{{-- <td>4GB</td>--}} -{{-- <td>(multiple)</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>Dell Inspiron 1525<br>(2008)</td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td>N/A</td>--}} -{{-- <td>N/A</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>Random Whitebox 2</td>--}} -{{-- <td>AMD Phenom II X6-1055T</td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td>8GB</td>--}} -{{-- <td>N/A</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>Dell Latitude D531<br>(2007)</td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td>Windows XP Professional</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>IBM ThinkPad R40<br>(2003)</td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td>Windows 2000</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>Dell Latitude CPi<br>(2001)</td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td>Windows 2000</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>Dell Latitude CPx<br>(1999)</td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td>Windows 98 SE</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>Dell Latitude 4898T<br>(???)</td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td>N/A</td>--}} -{{-- <td>N/A</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>Time 8375<br>(???)</td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td>N/A</td>--}} -{{-- <td>N/A</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>Toshiba Satellite 200CDS<br>(1996)</td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>HP Compaq NC6000<br>(2004)</td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td>N/A</td>--}} -{{-- <td>N/A</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>IBM Personal Computer 330<br>(1997)</td>--}} -{{-- <td>Intel Pentium</td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td>N/A</td>--}} -{{-- <td>N/A</td>--}} -{{-- </tr>--}} -{{-- <tr>--}} -{{-- <td>Shuttle XPC SN21G5<br>(2006)</td>--}} -{{-- <td>AMD Athlon 64 X2</td>--}} -{{-- <td></td>--}} -{{-- <td></td>--}} -{{-- <td>N/A</td>--}} -{{-- <td>N/A</td>--}} -{{-- </tr>--}} -{{-- </table>--}} -</x-layout> diff --git a/resources/views/errors/401.blade.php b/resources/views/errors/401.blade.php deleted file mode 100644 index 7c0d081..0000000 --- a/resources/views/errors/401.blade.php +++ /dev/null @@ -1,4 +0,0 @@ -<x-minimal-error> - <x-slot:code>401</x-slot:code> - <x-slot:message>Unauthorized</x-slot:message> -</x-minimal-error> diff --git a/resources/views/errors/402.blade.php b/resources/views/errors/402.blade.php deleted file mode 100644 index 4048cba..0000000 --- a/resources/views/errors/402.blade.php +++ /dev/null @@ -1,4 +0,0 @@ -<x-minimal-error> - <x-slot:code>402</x-slot:code> - <x-slot:message>Payment Required</x-slot:message> -</x-minimal-error> diff --git a/resources/views/errors/403.blade.php b/resources/views/errors/403.blade.php deleted file mode 100644 index d661d00..0000000 --- a/resources/views/errors/403.blade.php +++ /dev/null @@ -1,4 +0,0 @@ -<x-minimal-error> - <x-slot:code>403</x-slot:code> - <x-slot:message>{{__($exception->getMessage() ?: 'Forbidden')}}</x-slot:message> -</x-minimal-error> diff --git a/resources/views/errors/404.blade.php b/resources/views/errors/404.blade.php deleted file mode 100644 index 812ec99..0000000 --- a/resources/views/errors/404.blade.php +++ /dev/null @@ -1,4 +0,0 @@ -<x-minimal-error> - <x-slot:code>404</x-slot:code> - <x-slot:message>Page not found!</x-slot:message> -</x-minimal-error> diff --git a/resources/views/errors/418.blade.php b/resources/views/errors/418.blade.php deleted file mode 100644 index 7ced586..0000000 --- a/resources/views/errors/418.blade.php +++ /dev/null @@ -1,4 +0,0 @@ -<x-minimal-error> - <x-slot:code>418</x-slot:code> - <x-slot:message>I'm a teapot</x-slot:message> -</x-minimal-error> diff --git a/resources/views/errors/419.blade.php b/resources/views/errors/419.blade.php deleted file mode 100644 index 7008bd8..0000000 --- a/resources/views/errors/419.blade.php +++ /dev/null @@ -1,4 +0,0 @@ -<x-minimal-error> - <x-slot:code>419</x-slot:code> - <x-slot:message>Page Expired</x-slot:message> -</x-minimal-error> diff --git a/resources/views/errors/429.blade.php b/resources/views/errors/429.blade.php deleted file mode 100644 index 9ff195b..0000000 --- a/resources/views/errors/429.blade.php +++ /dev/null @@ -1,4 +0,0 @@ -<x-minimal-error> - <x-slot:code>429</x-slot:code> - <x-slot:message>Too Many Requests</x-slot:message> -</x-minimal-error> diff --git a/resources/views/errors/500.blade.php b/resources/views/errors/500.blade.php deleted file mode 100644 index d2c28c5..0000000 --- a/resources/views/errors/500.blade.php +++ /dev/null @@ -1,4 +0,0 @@ -<x-minimal-error> - <x-slot:code>500</x-slot:code> - <x-slot:message>Server Error</x-slot:message> -</x-minimal-error> diff --git a/resources/views/errors/503.blade.php b/resources/views/errors/503.blade.php deleted file mode 100644 index 708c4d9..0000000 --- a/resources/views/errors/503.blade.php +++ /dev/null @@ -1,4 +0,0 @@ -<x-minimal-error> - <x-slot:code>503</x-slot:code> - <x-slot:message>Service Unavailable</x-slot:message> -</x-minimal-error> diff --git a/resources/views/errors/generic-error.blade.php b/resources/views/errors/generic-error.blade.php deleted file mode 100644 index 0082093..0000000 --- a/resources/views/errors/generic-error.blade.php +++ /dev/null @@ -1,8 +0,0 @@ -<x-minimal> - <x-slot:title>Error 401: Unauthorized User!</x-slot:title> - <h1>{{ $error }}</h1> - <hr> - @if(isset($description)) - <p>{{ $description }}</p> - @endif -</x-minimal> diff --git a/resources/views/errors/guestbook-ipban.blade.php b/resources/views/errors/guestbook-ipban.blade.php deleted file mode 100644 index 5072e35..0000000 --- a/resources/views/errors/guestbook-ipban.blade.php +++ /dev/null @@ -1,11 +0,0 @@ -<x-minimal> - <x-slot:title>Error 403: IP Blocked!</x-slot:title> - <h1>Error 403: IP Blocked!</h1> - <hr> - <p>Your IP has been banned from submitting to the guestbook.</p> - @if (isset($reason)) - <p><b>Reason:</b> {{ $reason }}</p> - @endif - <br> - Click <a href="/guestbook">here</a> to go back to the guestbook. -</x-minimal> diff --git a/resources/views/errors/guestbook-ratelimit.blade.php b/resources/views/errors/guestbook-ratelimit.blade.php deleted file mode 100644 index cb24d9e..0000000 --- a/resources/views/errors/guestbook-ratelimit.blade.php +++ /dev/null @@ -1,9 +0,0 @@ -<x-minimal> - <x-slot:title>Error 429: Overclocking Detected!</x-slot:title> - <h1>Error 429: Overclocking Detected!</h1> - <hr> - <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> - <br> - Click <a href="/guestbook">here</a> to go back to the guestbook. -</x-minimal> diff --git a/resources/views/errors/minimal.blade.php b/resources/views/errors/minimal.blade.php deleted file mode 100644 index 4ae6830..0000000 --- a/resources/views/errors/minimal.blade.php +++ /dev/null @@ -1,3 +0,0 @@ -<x-minimal> - -</x-minimal> diff --git a/resources/views/errors/no-auth.blade.php b/resources/views/errors/no-auth.blade.php deleted file mode 100644 index 1d99498..0000000 --- a/resources/views/errors/no-auth.blade.php +++ /dev/null @@ -1,8 +0,0 @@ -@extends('layouts.minimal') -@section('title', 'Error 401: Unauthorized User!') -@section('content') - <h1>Error 401: Unauthorized User!</h1> - <hr> - <p>Woah there! Only authorized users can access this page. Please <a href="/login">log in</a> to proceed.</p> - <p>Ended up here on accident? Click <a href="/">here</a> to return to the homepage</u>!</p> -@stop diff --git a/resources/views/guestbook.blade.php b/resources/views/guestbook.blade.php deleted file mode 100644 index f9f04ca..0000000 --- a/resources/views/guestbook.blade.php +++ /dev/null @@ -1,75 +0,0 @@ -<x-layout> - <x-slot:title>Guestbook</x-slot:title> - <table class="gb-entry-form-container" role="presentation"> - <tr> - <td> - <form method="POST" action="/guestbook"> - @csrf - <x-honeypot/> - <table class="form" role="presentation"> - <tr> - <td> - <label for="name"><strong>Name:</strong></label> - </td> - <td> - <input name="name" type="text" id="name"> - </td> - <td> - <span class="text-danger">{{ $errors->first('name') }}</span> - </td> - </tr> - <tr> - <td> - <label for="message"><strong>Message:</strong></label> - </td> - <td> - <textarea name="message" id="message" rows="3"></textarea> - </td> - <td> - <span class="text-danger">{{ $errors->first('message') }}</span> - </td> - </tr> - <tr> - <td></td> - <td> - <button type="submit">Submit</button> - </td> - </tr> - </table> - </form> - </td> - <td> - <p><i>A few things to note:</i></p> - <ul> - <li>You can submit an entry <u>once every hour</u>.</li> - <li>Your IP address is logged but <u>not</u> publicly displayed.</li> - <li>Any entries that appear to be spam <u>will</u> be removed.</li> - </ul> - </td> - </tr> - </table> - - - <hr> - <h2>Entries <small>({{ count($entries) }} total)</small></h2> - @foreach ($entries as $entry) - @php - $user_agent = $parser->parse($entry->agent); - @endphp - <div class="section"> - Submitted by <strong>{{ $entry->name }}</strong> - on <strong>{{ $entry->created_at->format('Y-m-d') }}</strong> - at <strong>{{ $entry->created_at->format('h:i:s A (e)') }}</strong> - <hr> - <span class="guestbook-message">{{ $entry->message }}</span> - <hr> - @if($entry->agent === "Agent Unavailable") - <address>Agent unavailable</address> - @else - <address>Posted using <strong>{{ $user_agent->ua->toString() }}</strong> - on <strong>{{ $user_agent->os->toString() }}</strong></address> - @endif - </div> - <br> - @endforeach -</x-layout> diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php deleted file mode 100644 index 1b17b0f..0000000 --- a/resources/views/home.blade.php +++ /dev/null @@ -1,42 +0,0 @@ -<x-layout> - <x-slot:title>Home</x-slot:title> - - <div class="section"> - <h2>About Me</h2> - <hr> - <p>Hi! This is my personal homepage on the <strong>W</strong>orld <strong>W</strong>ide <strong>W</strong>eb.</p> - <br> - <p>QuickFacts™:</p> - <ul> - <li>{{ $age }} y/o, he/him, British</li> - <li>Theatre Technician, "Web Developer" and NixOS User</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>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> - </ul> - <br> - <p>Interests:</p> - <ul> - <li><strong>Tech Theatre</strong> - Lighting, Stage Management, etc. (<a 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>Gaming</strong> - <a href="https://steamcommunity.com/id/fwoppydwisk/">Steam Profile</a></li> - </ul> - </div> - <div class="section"> - <h2>Random Quote</h2> - <hr> - <x-toh-quote/> - </div> - <div class="section"> - <h2>Contact</h2> - <hr> - <p> - <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>Matrix:</strong> <a href="https://matrix.to/#/@floppydisk:arcticfoxes.net">@floppydisk:arcticfoxes.net</a> - </p> - </div> -</x-layout> diff --git a/resources/views/music.blade.php b/resources/views/music.blade.php deleted file mode 100644 index 92e5a90..0000000 --- a/resources/views/music.blade.php +++ /dev/null @@ -1,5 +0,0 @@ -<x-layout> - <x-slot:title>Music</x-slot:title> - <x-current-track :track="$current_track"/> - <x-top-tracks :tracks="$top_tracks"/> -</x-layout> |