Add table-based legacy design
This commit is contained in:
parent
429314efba
commit
57bb0e03a3
35 changed files with 886 additions and 526 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue