aboutsummaryrefslogtreecommitdiff
path: root/resources/views/includes
diff options
context:
space:
mode:
authorFrankie B <git@diskfloppy.me>2024-06-11 18:02:01 +0100
committerGitHub <noreply@github.com>2024-06-11 18:02:01 +0100
commit0f52d80ca67a49258b235f5831163dd72fbd54cf (patch)
tree9c5cd36b6e0a233e09ac88a4409fb68c63e4781a /resources/views/includes
parenta64bcc2c4639d5804b6dada23151bfcb8b198121 (diff)
Merge MVC rewrite into master (#21)
* Just commit it all * Require auth * crap * Update homepage * Block AI scrapers * Update cache update script * Add dummy file * Remove unnecessary lastfm config var * Use withQueryParameters for LastFM API * Fix embeds * Update example env * Smard
Diffstat (limited to 'resources/views/includes')
-rw-r--r--resources/views/includes/admin/header.blade.php12
-rw-r--r--resources/views/includes/footer.blade.php2
2 files changed, 1 insertions, 13 deletions
diff --git a/resources/views/includes/admin/header.blade.php b/resources/views/includes/admin/header.blade.php
deleted file mode 100644
index edb2fd7..0000000
--- a/resources/views/includes/admin/header.blade.php
+++ /dev/null
@@ -1,12 +0,0 @@
- <nav>
- <div>
- <a href="/">public home</a> |
- <a href="/admin">admin home</a> |
- <a href="/admin/guestbook">guestbook</a>
- @if (auth()->check())
- | ({{ auth()->user()->name }}) <a href="/logout">logout</a>
- @else
- | <a href="/login">login</a>
- @endif
- </div>
- </nav>
diff --git a/resources/views/includes/footer.blade.php b/resources/views/includes/footer.blade.php
index b606564..3494f6e 100644
--- a/resources/views/includes/footer.blade.php
+++ b/resources/views/includes/footer.blade.php
@@ -25,7 +25,7 @@
class="pixel" alt="Wiby - Search Engine for the Classic Web">
</a><br>
This site is best viewed at 1024x768 with 16-bit color or better<br>
- &copy; floppydisk 2021-{{ date('Y') }}, v{{ config('app.version') }}, <a
+ &copy; floppydisk 2021-{{ date('Y') }}, v{{ config('app.version') }}@if(env('DEVEL'))-dev, @else, @endif<a
href="https://github.com/floppydisk05/diskfloppy.me">Source</a>,
Served by {{ gethostname() }}<br>
<label for="scheme-selector">Color Scheme:</label>