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