Add table-based legacy design

This commit is contained in:
Roscoe 2025-08-10 02:54:16 +01:00
commit 57bb0e03a3
Signed by: RoscoeDaWah
SSH key fingerprint: SHA256:Hqn452XQ1ETzUt/FthJu6+OFkS4NBxCv5VQSEvuk7CE
35 changed files with 886 additions and 526 deletions

View file

@ -2,7 +2,16 @@
<x-slot:title>Absolute Pandamonium!</x-slot:title>
<x-slot:cardImage>{{ asset('/images/embeds/pandamonium.png') }}</x-slot:cardImage>
<x-slot:cardDescription>Follow the adventures of Rosco, Leko, Viz and AJ!</x-slot:cardDescription>
<div class="rosco-leko-gallery">
@if (isLegacy())
<p><i>Click images for full-size version (56k no!)</i></p>
@foreach($images as $image)
<a href="{{ str_replace('-legacy', '', $image["path"]) }}"><img src="{{ $image["path"] }}" @if(isset($image["description"])) alt="{{ $image["description"] }}" @endif></a>
@if(isset($image["description"]))
<p>{{$image["description"]}}</p>
@endif
@endforeach
@else
<div class="rosco-leko-gallery">
@foreach($images as $image)
<div>
<img src="{{ $image["path"] }}" @if(isset($image["description"])) alt="{{ $image["description"] }}" @endif>
@ -11,5 +20,6 @@
@endif
</div>
@endforeach
</div>
</div>
@endif
</x-layout>