diff --git a/resources/views/beef.blade.php b/resources/views/beef.blade.php new file mode 100644 index 0000000..f37dbbd --- /dev/null +++ b/resources/views/beef.blade.php @@ -0,0 +1,8 @@ +@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 276cc5c..0f476bc 100644 --- a/resources/views/layout.blade.php +++ b/resources/views/layout.blade.php @@ -16,7 +16,8 @@
diff --git a/resources/views/partials/navbar.blade.php b/resources/views/partials/navbar.blade.php index eedb9cf..a877ce9 100644 --- a/resources/views/partials/navbar.blade.php +++ b/resources/views/partials/navbar.blade.php @@ -16,7 +16,7 @@
  • - Beef + Beef
  • diff --git a/resources/views/partials/sidebar.blade.php b/resources/views/partials/sidebar.blade.php index 7b39eb2..a2fb265 100644 --- a/resources/views/partials/sidebar.blade.php +++ b/resources/views/partials/sidebar.blade.php @@ -1,6 +1,107 @@ +@php + $type = $type ?? 'default'; +@endphp + + + + + \ No newline at end of file diff --git a/routes/web.php b/routes/web.php index 4fe655d..56ec28c 100644 --- a/routes/web.php +++ b/routes/web.php @@ -19,4 +19,8 @@ Route::get('/', function () { Route::get('/about', function () { return view('about'); +}); + +Route::get('/beef', function() { + return view('beef'); }); \ No newline at end of file