ForRo/resources/views/frame.blade.php
Ro 7feb76517a
Added blocklist updating, main nav tweaks
Implemented Oliphant's unified tier 3 blocklist and the supplementary
instance audit file that tracks how many times an instance has been
blocked by a trusted sources member. Keeping the update function manual
for now to make sure it works smooth, then well automate so it checks on
    it's on at regular intervals.

NOTE: Lists used are located at the following urls:
https://codeberg.org/oliphant/blocklists/src/branch/main/blocklists/_unified_tier3_blocklist.csv
https://codeberg.org/oliphant/blocklists/src/branch/main/blocklists/other/domain_audit_file.csv

Also simplified the main nav to just include a link to the den index
when logged in
2023-08-24 15:27:14 -07:00

73 lines
1.6 KiB
PHP

<!DOCTYPE html>
<html>
<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>
<link rel="stylesheet" type="text/css" href="/assets/css/front/start.css?=sdfsdf">
</head>
<body>
<header>
<div>
<div class="nav-left">
<a href="/">
<img src="/assets/images/global/logo-dark.svg" title="bad-space-logo" />
</a>
</div>
<div>
<h1>{{$title}}</h1>
</div>
<div>
<nav>
<a href="/about" title="about" class="nav-links">
About
</a><br />
<a href="/listings/1" title="instance listing" class="nav-links">
Listings
</a><br />
@if(Auth::check())
<a href="/den" title="den-start" class="nav-links">
Den
</a><br />
<a href="/logout" title="logout" class="nav-links">
Logout
</a><br />
@else
<a href="/den" title="login" class="nav-links">
The Den
</a><br />
@endif
</nav>
</div>
</div>
</header>
@if($errors->any())
<div class="system-notice-error" role="status">
{{$errors->first()}}
</div>
@endif
@if(session('message'))
<div class="system-notice-message" role="status">
{!! session('message') !!}
</div>
@endif
<main>
@section('main-content')
@show
</main>
<footer>
<div>
<p>The Bad Space © 2023</p>
</div>
</footer>
</body>
</body>
</html>