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);