View file WhiteBlack/views/app/_pagination.blade.php

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