thebadspace/resources/views/front/listing.blade.php
Ro 25d51646ba
Built out Listing Page, font update
Plugged in the layout for the Listings page and turned on pagination.

Also updated the font to rubrik. Because it's pretty.
2023-08-17 19:50:38 -07:00

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