fanatic/resources/views/vendor/livewire/simple-tailwind.blade.php
Marley Rae ec631823b9 testin
2022-04-25 19:50:01 -07:00

31 lines
No EOL
1.1 KiB
PHP

<div>
@if ($paginator->hasPages())
<nav class="pagination">
{{-- previous page --}}
<span>
@if ($paginator->onFirstPage())
<a class="pagination__previous pagination--disabled">
{!! __('pagination.previous') !!}
</a>
@else
<a class="pagnation__previous" wire:click="previousPage" wire:loading.attr="disabled">
{!! __('pagination.previous') !!}
</a>
@endif
</span>
{{-- next page --}}
<span>
@if ($paginator->hasMorePages())
<a class="pagination__next" wire:click="nextPage" wire:loading.attr="disabled">
{!! __('pagination.next') !!}
</a>
@else
<a class="pagination__next pagination--disabled">
{!! __('pagination.next') !!}
</a>
@endif
</span>
</nav>
@endif
</div>