2023-08-18 04:50:38 +02:00
|
|
|
@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
|