1
0
mirror of https://koodu.h-i.works/projects/thebadspace synced 2025-06-25 16:04:37 -05:00

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.
This commit is contained in:
Ro
2023-08-17 19:50:38 -07:00
parent e35dff591f
commit 25d51646ba
25 changed files with 108 additions and 26 deletions

View File

@ -3,6 +3,8 @@
<head>
<meta charset="UTF-8">
<meta name="theme-color" content="#d66365" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>
@yield('title')
</title>
@ -14,7 +16,7 @@
<div>
<div class="nav-left">
<a href="/">
<img src="assets/images/global/logo-dark.svg" title="bad-space-logo" />
<img src="/assets/images/global/logo-dark.svg" title="bad-space-logo" />
</a>
</div>
<div>
@ -25,8 +27,8 @@
<a href="/about" title="about" class="nav-links">
About
</a><br />
<a href="/listings/page/1" title="instance listing" class="nav-links">
Listing
<a href="/listings/1" title="instance listing" class="nav-links">
Listings
</a><br />
<a href="/den" title="login" class="nav-links">
The Den

View File

@ -0,0 +1,20 @@
@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