title: Disable sidebar menu in login page laravel
body: <p>just want to ask a question, if I want to disable the sidebar menu page in my login page, how would I do that? In the first place, is it possible? If it is possible could you show me some example or even give me a link for me to reference to see how to do it. Because I still can access my data even without logging in through the sidebar so I want to disable it if possible. Thanks in advance</p>
  
  <p>If you need me to show my code just ask, I will put it in asap.</p>
  
  <p>app.blade.php</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="{{ app()-&gt;getLocale() }}"&gt;
  &lt;head&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
  
      &lt;!-- CSRF Token --&gt;
      &lt;meta name="csrf-token" content="{{ csrf_token() }}"&gt;
  
     &lt;title&gt;@yield('title')&lt;/title&gt;
  
      &lt;!-- Styles --&gt;
      &lt;link href="{{ asset('css/app.css') }}" rel="stylesheet"&gt;
      &lt;link href="{{ asset('css/title.css') }}" rel="stylesheet"&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div id="app"&gt;
          &lt;nav class="navbar navbar-default navbar-static-top"&gt;
              &lt;div class="container"&gt;
                  &lt;div class="navbar-header"&gt;
  
  
                      &lt;!-- Collapsed Hamburger --&gt;
                      &lt;button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#app-navbar-collapse" aria-expanded="false"&gt;
                          &lt;span class="sr-only"&gt;Toggle Navigation&lt;/span&gt;
                          &lt;span class="icon-bar"&gt;&lt;/span&gt;
                          &lt;span class="icon-bar"&gt;&lt;/span&gt;
                          &lt;span class="icon-bar"&gt;&lt;/span&gt;
                      &lt;/button&gt;
                      @include('layouts.testSidebar')
  
                      &lt;!-- Branding Image --&gt;
                      &lt;a class="navbar-brand" href="{{ url('/') }}" style="color: white"&gt;
                          @yield('title')
                      &lt;/a&gt;
                  &lt;/div&gt;
  
  
  
                  &lt;div class="collapse navbar-collapse" id="app-navbar-collapse"&gt;
                      &lt;!-- Left Side Of Navbar --&gt;
                      &lt;ul class="nav navbar-nav"&gt;
                          &amp;nbsp;
                      &lt;/ul&gt;
  
  
                      &lt;!-- Right Side Of Navbar --&gt;
                      &lt;ul class="nav navbar-nav navbar-right"&gt;
                          &lt;!-- Authentication Links --&gt;
                          @guest
                              &lt;li&gt;&lt;a href="{{ route('login') }}"&gt;Login&lt;/a&gt;&lt;/li&gt;
                              &lt;li&gt;&lt;a href="{{ route('register') }}"&gt;Register&lt;/a&gt;&lt;/li&gt;
                          @else
                              &lt;li class="dropdown"&gt;
                                  &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true" style="background-color:blue"&gt;
                                      &lt;b style="color: white"&gt;{{ Auth::user()-&gt;name }}&lt;/b&gt; &lt;span class="caret"&gt;&lt;/span&gt;
                                  &lt;/a&gt;
  
                                  &lt;ul class="dropdown-menu" style="background-color: blue"&gt;
                                      &lt;li&gt;
                                          &lt;a href="{{ route('logout') }}"
                                              onclick="event.preventDefault();
                                                       document.getElementById('logout-form').submit();" style="background-color: blue"&gt;
                                              &lt;b style="color: white"&gt;Logout&lt;/b&gt;
                                          &lt;/a&gt;
  
                                          &lt;form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;"&gt;
                                              {{ csrf_field() }}
                                          &lt;/form&gt;
                                      &lt;/li&gt;
                                  &lt;/ul&gt;
                              &lt;/li&gt;
                          @endguest
                      &lt;/ul&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/nav&gt;
  
          @yield('content')
      &lt;/div&gt;
  
      &lt;!-- Scripts --&gt;
      &lt;script src="{{ asset('js/app.js') }}"&gt;&lt;/script&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>