From 574e300006adbe427fff1f4aa55a8bdc1ad1b51f Mon Sep 17 00:00:00 2001 From: Holiienko Roman Date: Mon, 22 Jan 2024 15:53:10 +0300 Subject: [PATCH] adding menu/*section* logic in file system --- config/auth.php | 2 +- config/database.php | 4 ++-- config/session.php | 2 +- config/view.php | 2 +- resources/views/{pages => menu}/abitur.blade.php | 0 .../{pages => menu/abitur}/web-consultations.blade.php | 0 resources/views/{pages => menu}/course.blade.php | 0 routes/web.php | 6 +++--- 8 files changed, 8 insertions(+), 8 deletions(-) rename resources/views/{pages => menu}/abitur.blade.php (100%) rename resources/views/{pages => menu/abitur}/web-consultations.blade.php (100%) rename resources/views/{pages => menu}/course.blade.php (100%) diff --git a/config/auth.php b/config/auth.php index 9548c15..4fa3d6d 100644 --- a/config/auth.php +++ b/config/auth.php @@ -24,7 +24,7 @@ return [ |-------------------------------------------------------------------------- | | Next, you may define every authentication guard for your application. - | Of course, a great default configuration has been defined for you + | Of abitur, a great default configuration has been defined for you | here which uses session storage and the Eloquent user provider. | | All authentication drivers have a user provider. This defines how the diff --git a/config/database.php b/config/database.php index 137ad18..580947f 100644 --- a/config/database.php +++ b/config/database.php @@ -10,7 +10,7 @@ return [ |-------------------------------------------------------------------------- | | Here you may specify which of the database connections below you wish - | to use as your default connection for all database work. Of course + | to use as your default connection for all database work. Of abitur | you may use many connections at once using the Database library. | */ @@ -23,7 +23,7 @@ return [ |-------------------------------------------------------------------------- | | Here are each of the database connections setup for your application. - | Of course, examples of configuring each database platform that is + | Of abitur, examples of configuring each database platform that is | supported by Laravel is shown below to make development simple. | | diff --git a/config/session.php b/config/session.php index e738cb3..2698d3d 100644 --- a/config/session.php +++ b/config/session.php @@ -80,7 +80,7 @@ return [ |-------------------------------------------------------------------------- | | When using the "database" session driver, you may specify the table we - | should use to manage the sessions. Of course, a sensible default is + | should use to manage the sessions. Of abitur, a sensible default is | provided for you; however, you are free to change this as needed. | */ diff --git a/config/view.php b/config/view.php index 22b8a18..4942d72 100644 --- a/config/view.php +++ b/config/view.php @@ -8,7 +8,7 @@ return [ |-------------------------------------------------------------------------- | | Most templating systems load templates from disk. Here you may specify - | an array of paths that should be checked for your views. Of course + | an array of paths that should be checked for your views. Of abitur | the usual Laravel view path has already been registered for you. | */ diff --git a/resources/views/pages/abitur.blade.php b/resources/views/menu/abitur.blade.php similarity index 100% rename from resources/views/pages/abitur.blade.php rename to resources/views/menu/abitur.blade.php diff --git a/resources/views/pages/web-consultations.blade.php b/resources/views/menu/abitur/web-consultations.blade.php similarity index 100% rename from resources/views/pages/web-consultations.blade.php rename to resources/views/menu/abitur/web-consultations.blade.php diff --git a/resources/views/pages/course.blade.php b/resources/views/menu/course.blade.php similarity index 100% rename from resources/views/pages/course.blade.php rename to resources/views/menu/course.blade.php diff --git a/routes/web.php b/routes/web.php index 8b83871..7592924 100644 --- a/routes/web.php +++ b/routes/web.php @@ -27,15 +27,15 @@ Route::resources([ ]); Route::get('/course', function () { - return view('pages.course'); + return view('menu.course'); })->name('course'); Route::get('/abitur', function () { - return view('pages.abitur'); + return view('menu.abitur'); })->name('applicant'); Route::get('/web-consultations', function () { - return view('pages.web-consultations'); + return view('menu.abitur.web-consultations'); })->name('web-consultations'); Route::post('/uploadfile', [UploadFileController::class, 'showUploadFile'])->name('uploadfile');