This repository has been archived on 2026-11-11. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
wah.moe/resources/views/components/wah.blade.php

19 lines
590 B
PHP

@if(!isLegacy())
<div class="wah">
<h3>Random Wah!</h3>
@if ($wah !== "")
<img src="{{ $wah }}" alt="Random image featuring a red panda">
<p>Image "stolen" from <a href="https://tinyfox.dev/">tinyfox.dev</a></p>
@else
<img src="https://placehold.co/250x250" alt="250x250 Placeholder Image">
<p>Unable to retrieve image</p>
@endif
</div>
@else
<h3>Random Wah!</h3>
@if ($wah !== "")
<img src="{{ $wah }}" alt="Random image featuring a red panda" width="200">
@else
<p>Unable to retrieve image</p>
@endif
@endif