diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 1d23aaac1..078505014 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -35,86 +35,11 @@
-
-
-

{{ $title ?? 'Page Title' }} - {{ config('app.name') }}

-
- -
-
- - - - - -
- - @auth - - {{ __('general.admin') }} - - @else - - {{ __('auth.sign_in') }} - - @endauth -
-
+ @include('layouts.partials.header') {{ $slot }} + + @include('layouts.partials.footer')
{{-- Scripts --}} diff --git a/resources/views/layouts/partials/footer.blade.php b/resources/views/layouts/partials/footer.blade.php new file mode 100644 index 000000000..bca1d3815 --- /dev/null +++ b/resources/views/layouts/partials/footer.blade.php @@ -0,0 +1,15 @@ + diff --git a/resources/views/layouts/partials/header.blade.php b/resources/views/layouts/partials/header.blade.php new file mode 100644 index 000000000..b8eed7ffc --- /dev/null +++ b/resources/views/layouts/partials/header.blade.php @@ -0,0 +1,78 @@ +
+
+

{{ $title ?? 'Page Title' }} - {{ config('app.name') }}

+
+ +
+
+ + + + + +
+ + @auth + + {{ __('general.admin') }} + + @else + + {{ __('auth.sign_in') }} + + @endauth +
+