From 21491ce84f6258c6d557ac3d8f025de1cfbd4a2b Mon Sep 17 00:00:00 2001 From: Ben Word Date: Mon, 10 Jan 2022 16:00:11 -0600 Subject: [PATCH] enhance(views): Move page section views to a `sections` directory (#2936) Co-authored-by: Brandon Nifong --- resources/views/index.blade.php | 2 +- resources/views/layouts/app.blade.php | 4 ++-- resources/views/{partials => sections}/footer.blade.php | 0 resources/views/{partials => sections}/header.blade.php | 0 resources/views/{partials => sections}/sidebar.blade.php | 0 5 files changed, 3 insertions(+), 3 deletions(-) rename resources/views/{partials => sections}/footer.blade.php (100%) rename resources/views/{partials => sections}/header.blade.php (100%) rename resources/views/{partials => sections}/sidebar.blade.php (100%) diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php index 4e0e065..c1d897d 100644 --- a/resources/views/index.blade.php +++ b/resources/views/index.blade.php @@ -19,5 +19,5 @@ @endsection @section('sidebar') - @include('partials.sidebar') + @include('sections.sidebar') @endsection diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 8dd36aa..3f7d302 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -2,7 +2,7 @@ {{ __('Skip to content') }} -@include('partials.header') +@include('sections.header')
@yield('content') @@ -14,4 +14,4 @@ @endif -@include('partials.footer') +@include('sections.footer') diff --git a/resources/views/partials/footer.blade.php b/resources/views/sections/footer.blade.php similarity index 100% rename from resources/views/partials/footer.blade.php rename to resources/views/sections/footer.blade.php diff --git a/resources/views/partials/header.blade.php b/resources/views/sections/header.blade.php similarity index 100% rename from resources/views/partials/header.blade.php rename to resources/views/sections/header.blade.php diff --git a/resources/views/partials/sidebar.blade.php b/resources/views/sections/sidebar.blade.php similarity index 100% rename from resources/views/partials/sidebar.blade.php rename to resources/views/sections/sidebar.blade.php