1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2025-01-03 13:44:13 +00:00

Update hashtag infinite scroll

This commit is contained in:
Daniel Supernault 2018-08-20 21:03:22 -06:00
parent f746299711
commit 526f67f84d
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -21,27 +21,28 @@
</div> </div>
</div> </div>
</div> </div>
<div class="tag-timeline">
<div class="tag-timeline row"> <div class="row">
@foreach($posts as $status) @foreach($posts as $status)
<div class="col-4 p-0 p-sm-2 p-md-3"> <div class="col-4 p-0 p-sm-2 p-md-3">
<a class="card info-overlay card-md-border-0" href="{{$status->url()}}"> <a class="card info-overlay card-md-border-0" href="{{$status->url()}}">
<div class="square {{$status->firstMedia()->filter_class}}"> <div class="square {{$status->firstMedia()->filter_class}}">
<div class="square-content" style="background-image: url('{{$status->thumb()}}')"></div> <div class="square-content" style="background-image: url('{{$status->thumb()}}')"></div>
<div class="info-overlay-text"> <div class="info-overlay-text">
<h5 class="text-white m-auto font-weight-bold"> <h5 class="text-white m-auto font-weight-bold">
<span class="pr-4"> <span class="pr-4">
<span class="far fa-heart fa-lg pr-1"></span> {{$status->likes_count}} <span class="far fa-heart fa-lg pr-1"></span> {{$status->likes_count}}
</span> </span>
<span> <span>
<span class="far fa-comment fa-lg pr-1"></span> {{$status->comments_count}} <span class="far fa-comment fa-lg pr-1"></span> {{$status->comments_count}}
</span> </span>
</h5> </h5>
</div>
</div> </div>
</div> </a>
</a> </div>
@endforeach
</div> </div>
@endforeach
</div> </div>
<div class="d-flex justify-content-center pagination-container mt-4"> <div class="d-flex justify-content-center pagination-container mt-4">
{{$posts->links()}} {{$posts->links()}}