From 5a6451d00f970cf19aecb5648f6ce5b08bf34dd3 Mon Sep 17 00:00:00 2001 From: Yuri Dimas Date: Fri, 17 Oct 2025 15:26:45 +0700 Subject: [PATCH] style: add page dashboard for Nasabah --- Areas/Nasabah/Controllers/DashboardController.cs | 13 +++++++++++++ Areas/Nasabah/Views/Dashboard/Index.cshtml | 11 +++++++++++ Areas/Nasabah/Views/_ViewImports.cshtml | 2 ++ Areas/Nasabah/Views/_ViewStart.cshtml | 3 +++ BankSampahApp.csproj | 2 ++ 5 files changed, 31 insertions(+) create mode 100644 Areas/Nasabah/Controllers/DashboardController.cs create mode 100644 Areas/Nasabah/Views/Dashboard/Index.cshtml create mode 100644 Areas/Nasabah/Views/_ViewImports.cshtml create mode 100644 Areas/Nasabah/Views/_ViewStart.cshtml diff --git a/Areas/Nasabah/Controllers/DashboardController.cs b/Areas/Nasabah/Controllers/DashboardController.cs new file mode 100644 index 0000000..be05a05 --- /dev/null +++ b/Areas/Nasabah/Controllers/DashboardController.cs @@ -0,0 +1,13 @@ +using Microsoft.AspNetCore.Mvc; + +namespace BankSampahApp.Areas.Nasabah.Controllers +{ + [Area("Nasabah")] + public class DashboardController : Controller + { + public IActionResult Index() + { + return View(); + } + } +} diff --git a/Areas/Nasabah/Views/Dashboard/Index.cshtml b/Areas/Nasabah/Views/Dashboard/Index.cshtml new file mode 100644 index 0000000..23ff5bc --- /dev/null +++ b/Areas/Nasabah/Views/Dashboard/Index.cshtml @@ -0,0 +1,11 @@ +@{ + ViewData["Title"] = "Dashboard"; +} + +
+
+ + Dashboard + +
+
\ No newline at end of file diff --git a/Areas/Nasabah/Views/_ViewImports.cshtml b/Areas/Nasabah/Views/_ViewImports.cshtml new file mode 100644 index 0000000..7c4f6f4 --- /dev/null +++ b/Areas/Nasabah/Views/_ViewImports.cshtml @@ -0,0 +1,2 @@ +@using BankSampahApp +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers \ No newline at end of file diff --git a/Areas/Nasabah/Views/_ViewStart.cshtml b/Areas/Nasabah/Views/_ViewStart.cshtml new file mode 100644 index 0000000..4cf0c1a --- /dev/null +++ b/Areas/Nasabah/Views/_ViewStart.cshtml @@ -0,0 +1,3 @@ +@{ + Layout = "/Areas/Shared/Layouts/App/_Layout.cshtml"; +} diff --git a/BankSampahApp.csproj b/BankSampahApp.csproj index d740fc5..7e93517 100644 --- a/BankSampahApp.csproj +++ b/BankSampahApp.csproj @@ -37,6 +37,8 @@ + +