fix: optimize home images

This commit is contained in:
Rico van Zelst
2023-11-09 12:42:03 +01:00
parent 6eb8a68f9b
commit 88a7ba0b3b
4 changed files with 22 additions and 2 deletions

View File

@@ -34,6 +34,20 @@
<span class="text-xs text-stone-300">{{$skin->rarity}}</span>
</div>
</div>
@if($skin->associated_skinline != null)
<div class="mb-5 px-4 flex justify-center">
@foreach($skin->associated_skinline as $skinline)
<span class="sr-only">Associated Skinline:</span>
<span
class="my-2 bg-orange-100 text-orange-800 text-xs font-medium
mr-2 px-2.5 py-0.5 rounded
border border-orange-300
">
{{$skinline}}</span>
@endforeach
</div>
@endif
</div>
@endforeach
</div>