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>
|
<title>{{ config('blog.publishing_name') }} | @yield('title')</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
@include('guest.top-bar')
|
@include('guest.top-bar')
|
||||||
|
|
||||||
|
<section id="error-bag">
|
||||||
|
@foreach($errors->all() as $error)
|
||||||
|
{{ $error }}
|
||||||
|
@endforeach
|
||||||
|
</section>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
@yield('content', 'Nothing to see here.')
|
@yield('content', 'Nothing to see here.')
|
||||||
</main>
|
</main>
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,6 @@
|
||||||
@section('content')
|
@section('content')
|
||||||
<div>
|
<div>
|
||||||
<h1>Writer's Dashboard</h1>
|
<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>
|
<a href="{{ route('new_article') }}"><button>New Article</button></a>
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@endsection
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
@extends('layouts.writer')
|
@extends('layouts.guest')
|
||||||
|
|
||||||
@section('title', 'Writer Login')
|
@section('title', 'Writer Login')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue