other small settings

This commit is contained in:
Shohrat 2023-11-09 14:41:04 +05:00
parent dd0accda39
commit 7d851c3164
1 changed files with 2 additions and 0 deletions

View File

@ -7,7 +7,9 @@
<div class="max-w-sm rounded-xl overflow-hidden shadow-lg my-2 pb-3 bg-gray-50 m-auto"> <div class="max-w-sm rounded-xl overflow-hidden shadow-lg my-2 pb-3 bg-gray-50 m-auto">
<figure class="relative max-w-sm"> <figure class="relative max-w-sm">
@if ($event->image)
<img class="w-full rounded-t-lg" src="/storage/{{ $event->image }}" alt="{{ $event->name }}"> <img class="w-full rounded-t-lg" src="/storage/{{ $event->image }}" alt="{{ $event->name }}">
@endif
<figcaption class="absolute text-lg -mt-14 text-white px-4"> <figcaption class="absolute text-lg -mt-14 text-white px-4">
<div class="bg-blue-800 rounded-t-md px-4 py-1 mt-6 ml-2"> <div class="bg-blue-800 rounded-t-md px-4 py-1 mt-6 ml-2">
<h4 class="text-base">{{ $event->is_active ? 'Upcoming' : 'Passed' }}</h4> <h4 class="text-base">{{ $event->is_active ? 'Upcoming' : 'Passed' }}</h4>