feat: add nav to writer section with functional logout
This commit is contained in:
parent
89ce206d23
commit
e8188c28bb
|
|
@ -24,6 +24,16 @@
|
|||
{{ $error }}
|
||||
@endforeach
|
||||
</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>
|
||||
@yield('content', 'Nothing to see here.')
|
||||
</main>
|
||||
|
|
|
|||
Loading…
Reference in New Issue