forked from projects/thebadspace
25d51646ba
Plugged in the layout for the Listings page and turned on pagination. Also updated the font to rubrik. Because it's pretty.
20 lines
585 B
PHP
20 lines
585 B
PHP
@extends('frame')
|
|
@section('title', 'The Bad Space|Listings')
|
|
@section('main-content')
|
|
@parent
|
|
<section>
|
|
<article>
|
|
<h1>Page {{$pageNum}}</h1>
|
|
|
|
<a href="/listings/{{$prev}}">PREV</a>
|
|
{{$pageNum}} of {{$totalPages}}
|
|
<a href="/listings/{{$next}}">NEXT</a><br />
|
|
@foreach($locations as $location)
|
|
{{$location->name}}<br />
|
|
@endforeach
|
|
<a href="/listings/{{$prev}}">PREV</a>
|
|
{{$pageNum}} of {{$totalPages}}
|
|
<a href="/listings/{{$next}}">NEXT</a>
|
|
</article>
|
|
</section>
|
|
@endsection |