From 0ad2225beb6cfcc2c8e7aac0ad0d80630a0d8053 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 4e0e0653..c1d897d6 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 8dd36aaa..3f7d3024 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