From 5596afa450ef2c4c98d033f5579955c8a4484157 Mon Sep 17 00:00:00 2001 From: floppydiskette Date: Mon, 9 Dec 2024 20:48:27 +0000 Subject: Handle no image being returned by tinyfox.dev --- resources/views/components/wah.blade.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'resources/views/components/wah.blade.php') diff --git a/resources/views/components/wah.blade.php b/resources/views/components/wah.blade.php index cea770e..4312606 100644 --- a/resources/views/components/wah.blade.php +++ b/resources/views/components/wah.blade.php @@ -1,5 +1,10 @@

Random Wah!

- -

Image "stolen" from tinyfox.dev

+ @if ($wah !== "") + Random image featuring a Red Panda +

Image "stolen" from tinyfox.dev

+ @else + 250x250 Placeholder Image +

Unable to retrieve image

+ @endif
-- cgit v1.2.3-54-g00ecf