diff --git a/app/Http/Controllers/Welcome_Page.php b/app/Http/Controllers/Welcome_Page.php deleted file mode 100644 index f9c82cb..0000000 --- a/app/Http/Controllers/Welcome_Page.php +++ /dev/null @@ -1,12 +0,0 @@ - + + + + + Transportation Platform + + + + + + + @include('include.headerBeforeLogin') + + + + + diff --git a/resources/views/Welcome_Page.blade.php b/resources/views/Welcome_Page.blade.php index 807a9f2..4c62e25 100644 --- a/resources/views/Welcome_Page.blade.php +++ b/resources/views/Welcome_Page.blade.php @@ -10,40 +10,7 @@ -
- -
+ @include('include.headerBeforeLogin')

Welcome to our page!

We are XXX and support the work of transportation companies.

diff --git a/resources/views/include/headerAfterLogin.blade.php b/resources/views/include/headerAfterLogin.blade.php new file mode 100644 index 0000000..613d76f --- /dev/null +++ b/resources/views/include/headerAfterLogin.blade.php @@ -0,0 +1,34 @@ +
+ +
diff --git a/resources/views/include/headerBeforeLogin.blade.php b/resources/views/include/headerBeforeLogin.blade.php new file mode 100644 index 0000000..90483c7 --- /dev/null +++ b/resources/views/include/headerBeforeLogin.blade.php @@ -0,0 +1,15 @@ +
+ +
diff --git a/routes/web.php b/routes/web.php index 7180fd3..69f0ffc 100644 --- a/routes/web.php +++ b/routes/web.php @@ -1,5 +1,6 @@ name('start'); + +Route::get('/Login', function() { + return view('Login'); +})->name('login');