word-salad/resources/views/layouts/guest.blade.php

37 lines
1015 B
PHP

<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="/word-salad.css" rel="stylesheet" />
<title>{{ config('blog.publishing_name') }} | @yield('title')</title>
</head>
<body>
<header>
@include('guest.top-bar')
@include('guest.main-nav')
</header>
<section id="error-bag">
@foreach($errors->all() as $error)
{{ $error }}
@endforeach
</section>
<main>
@yield('content', 'Nothing to see here.')
</main>
</body>
<footer>
@if(! in_array(Route::currentRouteName(), ['subscribe-success', 'subscribe-fail']))
@include('shared.subscribe-form')
@endif
<div id="footer-copyright">
&#169; {{ (new DateTime())->format('Y') }}
</div>
</footer>
</html>