mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-14 02:24:31 +00:00
Square display for tags discovery
This commit is contained in:
parent
58a426709a
commit
785d6af99f
1 changed files with 18 additions and 6 deletions
|
@ -25,8 +25,20 @@
|
||||||
<div class="profile-timeline mt-5 row">
|
<div class="profile-timeline mt-5 row">
|
||||||
@foreach($posts as $status)
|
@foreach($posts as $status)
|
||||||
<div class="col-12 col-md-4 mb-4">
|
<div class="col-12 col-md-4 mb-4">
|
||||||
<a class="card" href="{{$status->url()}}">
|
<a class="card info-overlay" href="{{$status->url()}}">
|
||||||
<img class="card-img-top" src="{{$status->thumb()}}" width="300px" height="300px">
|
<div class="square">
|
||||||
|
<div class="square-content" style="background-image: url('{{$status->thumb()}}')"></div>
|
||||||
|
<div class="info-overlay-text">
|
||||||
|
<h5 class="text-white m-auto font-weight-bold">
|
||||||
|
<span class="pr-4">
|
||||||
|
<span class="icon-heart pr-1"></span> {{$status->likes_count}}
|
||||||
|
</span>
|
||||||
|
<span>
|
||||||
|
<span class="icon-speech pr-1"></span> {{$status->comments_count}}
|
||||||
|
</span>
|
||||||
|
</h5>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|
Loading…
Reference in a new issue