From 1caeb6563026cd99138242eaa04ae1552258b78e Mon Sep 17 00:00:00 2001 From: shola Date: Fri, 5 Dec 2025 15:54:03 +0700 Subject: [PATCH] feat: slicing edukasi page --- Controllers/HomeController.cs | 12 + Views/Home/Edukasi.cshtml | 399 ++++++++++++++++++++ Views/Home/Index.cshtml | 65 +--- Views/Home/Panduan.cshtml | 77 +--- Views/Shared/Layouts/Landing/_Footer.cshtml | 29 +- Views/Shared/Layouts/Landing/_Navbar.cshtml | 4 +- 6 files changed, 446 insertions(+), 140 deletions(-) create mode 100644 Views/Home/Edukasi.cshtml diff --git a/Controllers/HomeController.cs b/Controllers/HomeController.cs index d69a768..c40ea5a 100644 --- a/Controllers/HomeController.cs +++ b/Controllers/HomeController.cs @@ -100,6 +100,18 @@ public class HomeController : Controller return View(); } + /// + /// Halaman edukasi aplikasi + /// + /// Edukasi view + [HttpGet("Edukasi")] + [ResponseCache(Duration = 3600, Location = ResponseCacheLocation.Any)] + public IActionResult Edukasi() + { + _logger.LogInformation("Edukasi page accessed"); + return View(); + } + /// /// Halaman error dengan enhanced error handling /// diff --git a/Views/Home/Edukasi.cshtml b/Views/Home/Edukasi.cshtml new file mode 100644 index 0000000..62088d5 --- /dev/null +++ b/Views/Home/Edukasi.cshtml @@ -0,0 +1,399 @@ +@{ + ViewData["Title"] = "BPS-RW Jakarta - Edukasi"; + ViewData["FooterBgColor"] = "bg-black"; + ViewData["FooterHoverColor"] = "bg-black-800/20"; + ViewData["FooterShowLeaf"] = "false"; +} + + +
+
+
+
+
+ BPS RW +
+
+
+

Edukasi BPS-RW

+

+ Pusat pembelajaran dan sumber informasi tentang Bidang Pengolahan Sampah Lingkup Rukun Warga (BPS-RW) + DKI Jakarta +

+
+
+
+ + +
+ +
+

Konten

+
+ + + +
+
+ +
+
+

Video Pembelajaran

+
+ + +
+
+ +
+
+
+
+
+ +
+
+

E-Book

+
+ + +
+
+ +
+
+
+
+
+
+ +@{ + ViewData["ContactBgColor"] = "bg-black"; + ViewData["ContactBgCardColor"] = "bg-black"; + ViewData["ContactBorderCardColor"] = "bg-black"; + ViewData["ContactTitleTextColor"] = "text-white"; + ViewData["ContactTitleCardColor"] = "text-white"; + ViewData["ContactIconBgColor"] = "bg-primary-700"; + ViewData["ContactLinkColor"] = "text-primary-500"; +} +@await Html.PartialAsync("_ContactSection") + + \ No newline at end of file diff --git a/Views/Home/Index.cshtml b/Views/Home/Index.cshtml index b609f55..4dd4f52 100644 --- a/Views/Home/Index.cshtml +++ b/Views/Home/Index.cshtml @@ -433,70 +433,7 @@ -
-
- -
- -
-
-
- Hubungi Kami -
-
-

Informasi Kontak

-
- - -
- -
-
- - - - -
-

Phone

-

Senin-Jumat, 08.00-16.00 WIB

- (021) 3865745 -
- - -
-
- - - - -
-

Email

-

Respon dalam 1-2 hari kerja

- sampah@jakarta.go.id -
- - -
-
- - - -
-

Office

-

Dinas Lingkungan Hidup DKI Jakarta

-

Jl. Mandala V No. 67, Cililitan, Jakarta Timur

-
-
-
-
- +@await Html.PartialAsync("_ContactSection") @section Scripts { diff --git a/Views/Home/Panduan.cshtml b/Views/Home/Panduan.cshtml index da6a693..651c558 100644 --- a/Views/Home/Panduan.cshtml +++ b/Views/Home/Panduan.cshtml @@ -1,5 +1,8 @@ @{ ViewData["Title"] = "BPS-RW Jakarta - Panduan"; + ViewData["FooterBgColor"] = "bg-black"; + ViewData["FooterHoverColor"] = "bg-black-800/20"; + ViewData["FooterShowLeaf"] = "false"; } @@ -98,70 +101,16 @@ - -
-
-
-
-
-
- Hubungi Kami -
-
-

Informasi Kontak

-
- - -
- -
-
- - - -
-

Phone

-

Senin-Jumat, 08.00-16.00 WIB

- (021) 3865745 -
- - -
-
- - - - -
-

Email

-

Respon dalam 1-2 hari kerja

- sampah@@jakarta.go.id -
- - -
-
- - - -
-

Office

-

Dinas Lingkungan Hidup DKI Jakarta

-

Jl. Mandala V No. 67, Cililitan, Jakarta Timur

-
-
-
-
- - +@{ + ViewData["ContactBgColor"] = "bg-black"; + ViewData["ContactBgCardColor"] = "bg-black"; + ViewData["ContactBorderCardColor"] = "bg-black"; + ViewData["ContactTitleTextColor"] = "text-white"; + ViewData["ContactTitleCardColor"] = "text-white"; + ViewData["ContactIconBgColor"] = "bg-primary-700"; + ViewData["ContactLinkColor"] = "text-primary-500"; +} +@await Html.PartialAsync("_ContactSection")