From a338e38270d046455b3b7c3c9b5420ad87e3df29 Mon Sep 17 00:00:00 2001 From: krzysztofrewak Date: Mon, 18 Sep 2023 12:05:57 +0200 Subject: [PATCH] #23 - sticky footer --- .../Controllers/Public/NewsController.php | 18 +++ resources/js/Layouts/PublicLayout.vue | 127 +++++++++++------- resources/js/Pages/Public/News.vue | 11 ++ routes/web.php | 3 + 4 files changed, 110 insertions(+), 49 deletions(-) create mode 100644 app/Http/Controllers/Public/NewsController.php create mode 100644 resources/js/Pages/Public/News.vue diff --git a/app/Http/Controllers/Public/NewsController.php b/app/Http/Controllers/Public/NewsController.php new file mode 100644 index 0000000..74cb5b5 --- /dev/null +++ b/app/Http/Controllers/Public/NewsController.php @@ -0,0 +1,18 @@ + "mgr inż.", + ]); + } +} diff --git a/resources/js/Layouts/PublicLayout.vue b/resources/js/Layouts/PublicLayout.vue index 3e9fa20..f330915 100644 --- a/resources/js/Layouts/PublicLayout.vue +++ b/resources/js/Layouts/PublicLayout.vue @@ -1,68 +1,97 @@ diff --git a/resources/js/Pages/Public/News.vue b/resources/js/Pages/Public/News.vue new file mode 100644 index 0000000..c4b18be --- /dev/null +++ b/resources/js/Pages/Public/News.vue @@ -0,0 +1,11 @@ + + + diff --git a/routes/web.php b/routes/web.php index c3b5b6e..bad57a2 100644 --- a/routes/web.php +++ b/routes/web.php @@ -4,7 +4,10 @@ use App\Http\Controllers\Dashboard\DashboardController; use App\Http\Controllers\Public\HomeController; +use App\Http\Controllers\Public\NewsController; use Illuminate\Support\Facades\Route; Route::get("/", HomeController::class); +Route::get("/aktualnosci", NewsController::class); + Route::get("/dashboard", DashboardController::class);