fix: correct writer login page to be guest layout
This commit is contained in:
parent
ebcdf7e324
commit
4954d8c389
|
|
@ -9,9 +9,14 @@
|
|||
<title>{{ config('blog.publishing_name') }} | @yield('title')</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@include('guest.top-bar')
|
||||
|
||||
<section id="error-bag">
|
||||
@foreach($errors->all() as $error)
|
||||
{{ $error }}
|
||||
@endforeach
|
||||
</section>
|
||||
|
||||
<main>
|
||||
@yield('content', 'Nothing to see here.')
|
||||
</main>
|
||||
|
|
|
|||
|
|
@ -5,10 +5,6 @@
|
|||
@section('content')
|
||||
<div>
|
||||
<h1>Writer's Dashboard</h1>
|
||||
<form method="POST" action="{{ route('logout') }}">
|
||||
@csrf
|
||||
<button type="submit">Logout</button>
|
||||
</form>
|
||||
<a href="{{ route('new_article') }}"><button>New Article</button></a>
|
||||
</div>
|
||||
@endsection
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@extends('layouts.writer')
|
||||
@extends('layouts.guest')
|
||||
|
||||
@section('title', 'Writer Login')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue