master_template/resources/views/hulaki_khabar/pagination/hulaki.blade.php

16 lines
599 B
PHP
Raw Permalink Normal View History

2024-06-18 05:46:51 +00:00
<div class="pagination-area text-center">
<a href="{{ $data->previousPageUrl() }}" class="prev page-numbers">
<i class='bx bx-chevron-left'></i>
</a>
@foreach ($data->links()->elements[0] as $page => $url)
@if ($page == $data->currentPage())
<span class="page-numbers current" aria-current="page">{{ $page }}</span>
@else
<a href="{{ $url }}" class="page-numbers">{{ $page }}</a>
@endif
@endforeach
<a href="{{ $data->nextPageUrl() }}" class="next page-numbers">
<i class='bx bx-chevron-right'></i>
</a>
</div>