Get rid of withnav layout
This commit is contained in:
@@ -24,11 +24,7 @@
|
||||
|
||||
<!-- Right Side Of Navbar -->
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<!-- Authentication Links -->
|
||||
@guest
|
||||
<li><a href="{{ route('login') }}">Login</a></li>
|
||||
<li><a href="{{ route('register') }}">Register</a></li>
|
||||
@else
|
||||
@auth
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true">
|
||||
{{ Auth::user()->name }} <span class="caret"></span>
|
||||
@@ -48,7 +44,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
@endguest
|
||||
@endauth
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@extends('layouts.withnav')
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
@yield('nav')
|
||||
@include('_nav')
|
||||
<div class='container'>
|
||||
@yield('content')
|
||||
</div>
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('nav')
|
||||
@include('_nav')
|
||||
@endsection
|
||||
Reference in New Issue
Block a user