diff --git a/package-lock.json b/package-lock.json index 6a218bd..d226166 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "my-website", + "name": "my-website-2", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/resources/views/beef.blade.php b/resources/views/beef.blade.php index f37dbbd..5b62643 100644 --- a/resources/views/beef.blade.php +++ b/resources/views/beef.blade.php @@ -1,8 +1,4 @@ @extends('layout') -@section('sidebar') - @include('partials.sidebar',['type' => 'beef']) -@endsection - @section('content') @endsection \ No newline at end of file diff --git a/resources/views/layout.blade.php b/resources/views/layout.blade.php index 0f476bc..2e9a78a 100644 --- a/resources/views/layout.blade.php +++ b/resources/views/layout.blade.php @@ -15,13 +15,14 @@
- + @include('partials.sidebar_v2') -
+ @if ( empty($sidebarContent) ) +
+ @else +
+ @endif @yield('content')
diff --git a/resources/views/partials/sidebar.blade.php b/resources/views/partials/sidebar.blade.php index 9487e0d..248343f 100644 --- a/resources/views/partials/sidebar.blade.php +++ b/resources/views/partials/sidebar.blade.php @@ -5,95 +5,7 @@