View file resources/views/app/_pagination_old.blade.php

File size: 572B
<nav>
    <ul class="pagination">
        @foreach ($pages as $page)
            @if (isset($page['separator']))
                <li class="page-item disabled"><span class="page-link">{{ $page['name'] }}</span></li>
            @elseif (isset($page['current']))
                <li class="page-item active"><span class="page-link">{{ $page['name'] }}</span></li>
            @else
                <li class="page-item"><a class="page-link" href="?page={{ $page['page'] }}{{ $request }}">{{ $page['name'] }}</a></li>
            @endif
        @endforeach
    </ul>
</nav>