обновил стиль новостей
This commit is contained in:
parent
4d35c295b8
commit
32d5f9ef3f
@ -34,18 +34,21 @@
|
||||
|
||||
@if ($post->image)
|
||||
<div class="w-100 post-card-image d-flex align-items-end p-3 text-light fw-light"
|
||||
style="
|
||||
style="color:#000;
|
||||
background-image:url('{{ $post->image }}');">
|
||||
<div class="z-1">
|
||||
<h1 class="z-1 text-uppercase">{{ $post->name }}</h1>
|
||||
<div>
|
||||
Опубиковано {{ $post->created_at->diffForHumans() }}
|
||||
Опубликовано {{ $post->created_at->diffForHumans() }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@else
|
||||
<div class="w-100">
|
||||
<h1 class="">{{ $post->name }}</h1>
|
||||
<h1 class="text-uppercase">{{ $post->name }}</h1>
|
||||
<div>
|
||||
Опубликовано {{ $post->created_at->diffForHumans() }}
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
<div class="position-absolute w-100 end-0 top-0 p-2 d-flex flex-row">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user