feat: add nav to writer section with functional logout

This commit is contained in:
Jonathan Nielson 2025-03-19 16:30:54 -05:00
parent 89ce206d23
commit e8188c28bb
1 changed files with 10 additions and 0 deletions

View File

@ -24,6 +24,16 @@
{{ $error }} {{ $error }}
@endforeach @endforeach
</section> </section>
<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>
<main> <main>
@yield('content', 'Nothing to see here.') @yield('content', 'Nothing to see here.')
</main> </main>