mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
library with grid
This commit is contained in:
@@ -50,7 +50,7 @@
|
|||||||
class="flex flex-col overflow-hidden rounded-lg shadow-[#F7931A] shadow-sm">
|
class="flex flex-col overflow-hidden rounded-lg shadow-[#F7931A] shadow-sm">
|
||||||
<div class="flex-shrink-0">
|
<div class="flex-shrink-0">
|
||||||
<a href="{{ route('article.view', ['libraryItem' => $libraryItem]) }}">
|
<a href="{{ route('article.view', ['libraryItem' => $libraryItem]) }}">
|
||||||
<img class="h-48 w-full object-cover"
|
<img class="h-48 w-full object-contain"
|
||||||
src="{{ $libraryItem->getFirstMediaUrl('main') }}"
|
src="{{ $libraryItem->getFirstMediaUrl('main') }}"
|
||||||
alt="{{ $libraryItem->name }}">
|
alt="{{ $libraryItem->name }}">
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
class="flex flex-col overflow-hidden rounded-lg shadow-[#F7931A] shadow-sm">
|
class="flex flex-col overflow-hidden rounded-lg shadow-[#F7931A] shadow-sm">
|
||||||
<div class="flex-shrink-0">
|
<div class="flex-shrink-0">
|
||||||
<a href="{{ route('article.view', ['libraryItem' => $libraryItem]) }}">
|
<a href="{{ route('article.view', ['libraryItem' => $libraryItem]) }}">
|
||||||
<img class="h-48 w-full object-cover"
|
<img class="h-48 w-full object-contain"
|
||||||
src="{{ $libraryItem->getFirstMediaUrl('main') }}"
|
src="{{ $libraryItem->getFirstMediaUrl('main') }}"
|
||||||
alt="{{ $libraryItem->name }}">
|
alt="{{ $libraryItem->name }}">
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user