From a4c613065977c4433ee8a26463999e6e8228d3b6 Mon Sep 17 00:00:00 2001 From: Krzysztof Famulski Date: Fri, 27 Feb 2026 10:12:38 +0100 Subject: [PATCH] commit --- ZPDuszynska/Controllers/HomeController.cs | 17 ++++++++- ZPDuszynska/Views/Home/Aktualnosci.cshtml | 5 +++ ZPDuszynska/Views/Home/Galeria.cshtml | 5 +++ ZPDuszynska/Views/Home/Kontakt.cshtml | 5 +++ ZPDuszynska/Views/Shared/_Layout.cshtml | 44 +++++++++++++++++----- ZPDuszynska/identity.db-shm | Bin 0 -> 32768 bytes ZPDuszynska/identity.db-wal | 0 ZPDuszynska/wwwroot/css/site.css | 24 +++++++++++- 8 files changed, 88 insertions(+), 12 deletions(-) create mode 100644 ZPDuszynska/Views/Home/Aktualnosci.cshtml create mode 100644 ZPDuszynska/Views/Home/Galeria.cshtml create mode 100644 ZPDuszynska/Views/Home/Kontakt.cshtml create mode 100644 ZPDuszynska/identity.db-shm create mode 100644 ZPDuszynska/identity.db-wal diff --git a/ZPDuszynska/Controllers/HomeController.cs b/ZPDuszynska/Controllers/HomeController.cs index f6ee246..1aae2e7 100644 --- a/ZPDuszynska/Controllers/HomeController.cs +++ b/ZPDuszynska/Controllers/HomeController.cs @@ -23,7 +23,22 @@ namespace ZPDuszynska.Controllers return View(); } - [Authorize] + public IActionResult Aktualnosci() + { + return View(); + } + + public IActionResult Galeria() + { + return View(); + } + + public IActionResult Kontakt() + { + return View(); + } + + [Authorize] public IActionResult Nekrologi() { Nekrolog1Model model = new Nekrolog1Model(); diff --git a/ZPDuszynska/Views/Home/Aktualnosci.cshtml b/ZPDuszynska/Views/Home/Aktualnosci.cshtml new file mode 100644 index 0000000..e1dd794 --- /dev/null +++ b/ZPDuszynska/Views/Home/Aktualnosci.cshtml @@ -0,0 +1,5 @@ +@* + For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 +*@ +@{ +} diff --git a/ZPDuszynska/Views/Home/Galeria.cshtml b/ZPDuszynska/Views/Home/Galeria.cshtml new file mode 100644 index 0000000..e1dd794 --- /dev/null +++ b/ZPDuszynska/Views/Home/Galeria.cshtml @@ -0,0 +1,5 @@ +@* + For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 +*@ +@{ +} diff --git a/ZPDuszynska/Views/Home/Kontakt.cshtml b/ZPDuszynska/Views/Home/Kontakt.cshtml new file mode 100644 index 0000000..e1dd794 --- /dev/null +++ b/ZPDuszynska/Views/Home/Kontakt.cshtml @@ -0,0 +1,5 @@ +@* + For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 +*@ +@{ +} diff --git a/ZPDuszynska/Views/Shared/_Layout.cshtml b/ZPDuszynska/Views/Shared/_Layout.cshtml index ba95d49..cdf2be9 100644 --- a/ZPDuszynska/Views/Shared/_Layout.cshtml +++ b/ZPDuszynska/Views/Shared/_Layout.cshtml @@ -8,7 +8,7 @@ - +
-
-
+ +
+
@RenderBody()
-