feat: add nav to writer section with functional logout
This commit is contained in:
parent
89ce206d23
commit
e8188c28bb
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue