обновил стиль новостей
This commit is contained in:
parent
32d5f9ef3f
commit
bc19e0dbec
@ -14,15 +14,18 @@ class="badge bg-body-secondary text-dark border-secondary bg-opacity-75 fs-6 rou
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-6 bg-secondary bg-opacity-50 rounded-end"
|
<div class="col-md-6 bg-secondary bg-opacity-50 rounded-end"
|
||||||
style="height:200px;background-size:cover;background-position:center;background-image:url('{{ url('/storage/' . $post->image) }}')">
|
style="height:200px;background-size:cover;background-position:center;background-image:url('{{ url('/storage/' . $post->image) }}')">
|
||||||
<a href="#" class="btn btn-light btn-lg rounded-4 position-absolute bottom-0 end-0 m-3"
|
<a href="#" class="btn btn-light btn-lg rounded-4 position-absolute bottom-0 end-0 m-3 p-0 d-flex align-items-center justify-content-center" style="width:3rem;height:3rem;"
|
||||||
wire:click="open({{ $post->id }})">
|
wire:click="open({{ $post->id }})">
|
||||||
<i class="bi bi-arrow-right"></i>
|
<i wire:loading.remove wire:target="open({{ $post->id }})" class="bi bi-arrow-right"></i>
|
||||||
|
<div wire:loading wire:target="open({{ $post->id }})" class="spinner-border text-primary" role="status">
|
||||||
|
<span class="visually-hidden">Loading...</span>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|
||||||
@livewire('post.card')
|
@livewire('post.card')
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user