diff options
Diffstat (limited to 'resources/views/components/discord-status.blade.php')
-rw-r--r-- | resources/views/components/discord-status.blade.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/resources/views/components/discord-status.blade.php b/resources/views/components/discord-status.blade.php index 00d2c7a..868fc03 100644 --- a/resources/views/components/discord-status.blade.php +++ b/resources/views/components/discord-status.blade.php @@ -1,3 +1,7 @@ -<span>I'm</span> -<h2 class="online-status" style="color: {{ $status["color"] }};text-shadow: var(--firefox-shadow) {{ $status["color"] }}4f !important">{{ $status["text"] }}!</h2> +@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> |