diff options
author | floppydiskette <git@diskfloppy.me> | 2024-08-08 15:35:48 +0100 |
---|---|---|
committer | floppydiskette <git@diskfloppy.me> | 2024-08-08 15:35:48 +0100 |
commit | 74bca7ac803aeea3d5091344b99520687e3a3bd1 (patch) | |
tree | 8a63a2341303daac4ac621f8f4962a81d684e88a /resources/views/components/layout.blade.php | |
parent | 9900446d9590024c34f55a45055776a396fb694e (diff) | |
parent | 14d3ed966bbafbcb01182df26fbbe1d5a211f4c2 (diff) |
Merge branch 'redesign'
Diffstat (limited to 'resources/views/components/layout.blade.php')
-rw-r--r-- | resources/views/components/layout.blade.php | 138 |
1 files changed, 61 insertions, 77 deletions
diff --git a/resources/views/components/layout.blade.php b/resources/views/components/layout.blade.php index 93fccef..7e36de5 100644 --- a/resources/views/components/layout.blade.php +++ b/resources/views/components/layout.blade.php @@ -14,6 +14,7 @@ <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 --> @@ -22,83 +23,66 @@ <meta property="og:image" content="/favicon-128x128.png"> </head> <body onload="setSchemeSelector()"> -<div class="page"> - <div id="header" class="header"> - <x-navbar title="{{ $title }}"/> - <hr> - </div> <!-- header --> - <div id="content" class="content" role="main"> - {{ $slot }} - </div> <!-- content --> - <div id="footer" class="footer"> - <hr> - <div class="footer" role="contentinfo"> - <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> - <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><br> - <p>This site is best viewed at 1024x768 with 16-bit color or better<br> - © floppydisk 2021-{{ date('Y') }}, v{{ config('app.version') }}, <a - href="https://github.com/floppydisk05/diskfloppy.me">Source</a>, - Served by {{ gethostname() }}<br> - <label for="scheme-selector">Color Scheme:</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> - <button onclick="swapScheme()">Apply</button></p> +<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> <!-- footer --> -</div> <!-- page --> + <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> |