Skip to content

Commit d3d359a

Browse files
author
Gijs Jorissen
committed
Pagination
1 parent 80bf5c2 commit d3d359a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<nav aria-label="Page navigation">
2+
<ul class="pagination {{ $class or '' }}">
3+
@isset($pagination)
4+
@foreach($pagination as $label => $link)
5+
<li class="page-item"><a class="page-link" href="{{ $link }}">{!! $label !!}</a></li>
6+
@endforeach
7+
@else
8+
{{ $slot }}
9+
@endisset
10+
</ul>
11+
</nav>

0 commit comments

Comments
 (0)