Update (ui)

This commit is contained in:
2023-11-21 22:17:18 +08:00
parent 4827130183
commit 028c9b5190
29 changed files with 193 additions and 159 deletions

View File

@@ -24,18 +24,18 @@
@include('front.partials.news_bites')
<div class="mt-3 mb-3">
@if ($rss_posts->count() > 0)
@if ($rss_posts instanceof \Illuminate\Pagination\CursorPaginator)
<div class="flex justify-center">
{{ $rss_posts->links('pagination::simple-bootstrap-5-rounded') }}
</div>
@endif
@else
<div class="py-3 text-center">
<div class="mb-4">No 🍪 bites found yet.</div>
<div><a href="{{ route('front.all') }}">See more News Bites</a></div>
</div>
@endif
@if ($rss_posts->count() > 0)
@if ($rss_posts instanceof \Illuminate\Pagination\CursorPaginator)
<div class="flex justify-center">
{{ $rss_posts->links('pagination::simple-bootstrap-5-rounded') }}
</div>
@endif
@else
<div class="py-3 text-center">
<div class="mb-4">No 🍪 bites found yet.</div>
<div><a href="{{ route('front.all') }}">See more News Bites</a></div>
</div>
@endif
</div>