2024-08-04 04:50:42 +00:00
|
|
|
<!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" />
|
2024-08-04 21:38:41 +00:00
|
|
|
<link href="/word-salad-writer.css" rel="stylesheet" />
|
2024-08-04 04:50:42 +00:00
|
|
|
|
2024-08-04 21:38:41 +00:00
|
|
|
{{-- Include HTMX on the writer-side to enchance our interactivity --}}
|
|
|
|
|
<script src="/htmx.1.9.12.js"></script>
|
|
|
|
|
|
2024-08-16 22:46:59 +00:00
|
|
|
<script>
|
|
|
|
|
htmx.on("htmx:configRequest", (e)=> {
|
|
|
|
|
e.detail.headers["X-CSRF-TOKEN"] = '{{ csrf_token() }}';
|
|
|
|
|
})
|
|
|
|
|
</script>
|
|
|
|
|
|
2024-08-04 21:38:41 +00:00
|
|
|
<title>{{ config('blog.publishing_name') }} | @yield('title')</title>
|
2024-08-04 04:50:42 +00:00
|
|
|
</head>
|
|
|
|
|
<body>
|
2024-08-04 21:38:41 +00:00
|
|
|
<section id="error-bag">
|
|
|
|
|
@foreach($errors->all() as $error)
|
|
|
|
|
{{ $error }}
|
|
|
|
|
@endforeach
|
|
|
|
|
</section>
|
2025-03-19 21:30:54 +00:00
|
|
|
<nav>
|
|
|
|
|
<a href="{{ route('dashboard') }}">Dashboard</a>
|
|
|
|
|
<a href="{{ route('new_article') }}">New Article</a>
|
|
|
|
|
<form action="{{ route('logout') }}" method="POST">
|
|
|
|
|
@csrf
|
|
|
|
|
<button type="submit">
|
|
|
|
|
Logout
|
|
|
|
|
</button>
|
|
|
|
|
</form>
|
|
|
|
|
</nav>
|
2024-08-04 21:38:41 +00:00
|
|
|
<main>
|
|
|
|
|
@yield('content', 'Nothing to see here.')
|
|
|
|
|
</main>
|
2024-08-04 04:50:42 +00:00
|
|
|
</body>
|
|
|
|
|
</html>
|