aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorfloppydiskette <floppydisk@hyprcat.net>2024-12-27 20:28:16 +0000
committerfloppydiskette <floppydisk@hyprcat.net>2024-12-27 20:28:16 +0000
commit0a50c93d3a5a5b3d79fbcf0c0891906b99fb6a38 (patch)
tree786cc4d6f7ec24f7713c3c740ceb20c0a51cba42 /resources
parent3e97458ee28c79c16f7c792d96c01c44ea2356ed (diff)
Server-side "is it christmas"
Diffstat (limited to 'resources')
-rw-r--r--resources/views/components/layout.blade.php4
-rw-r--r--resources/views/home.blade.php17
2 files changed, 4 insertions, 17 deletions
diff --git a/resources/views/components/layout.blade.php b/resources/views/components/layout.blade.php
index 4538be4..e7ced26 100644
--- a/resources/views/components/layout.blade.php
+++ b/resources/views/components/layout.blade.php
@@ -10,7 +10,8 @@
<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"/>
- {!! (intval(date('n')) == 12) ? '<script src="/js/christmas/snowstorm.js"></script>' : '' !!}
+ @if ($isChristmas)<script src="{{ asset('/js/christmas/snowstorm.js') }}"></script>@endif
+
<!-- Page-specific -->
<meta property="og:title" content="wah! (dot moe) - {{ $title }}">
@@ -36,6 +37,7 @@
<div id="footer">
<div>
<span>
+ {{ $isChristmas === true ? "true" : "false" }}
&copy; 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() }}
diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php
index 002f8b2..2b411a4 100644
--- a/resources/views/home.blade.php
+++ b/resources/views/home.blade.php
@@ -8,7 +8,7 @@
<br>
<p>Some quick facts about me:</p>
<ul>
- <li>19 y/o, he/him, British</li>
+ <li>{{ $age }} y/o, he/him, British</li>
<li>Theatre Technician and &quot;Web Developer&quot;</li>
<li>Loves ETC desks, prefers Generics to LEDs for some reason</li>
<li>Spends way too much time on his computer</li>
@@ -27,19 +27,4 @@
<li><strong>Gaming</strong> - <a href="https://steamcommunity.com/id/fwoppydwisk/">Steam Profile</a>
</li>
</ul>
-
-{{-- <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>