diff --git a/Controllers/AuthController.cs b/Controllers/AuthController.cs new file mode 100644 index 0000000..7df3db7 --- /dev/null +++ b/Controllers/AuthController.cs @@ -0,0 +1,26 @@ +using Microsoft.AspNetCore.Mvc; + +namespace bank_sampah.Controllers +{ + public class AuthController : Controller + { + public IActionResult Login() + { + return View(); + } + + [HttpPost] + public IActionResult Login(string username, string password) + { + // TODO: Implementasi login validation logic + // Untuk sementara langsung redirect ke dashboard + return Redirect("/Main/Dashboard/Index"); + } + + public IActionResult ForgotPassword() + { + // TODO: Implementasi forgot password + return View(); + } + } +} diff --git a/Views/Auth/Login.cshtml b/Views/Auth/Login.cshtml new file mode 100644 index 0000000..cd74fc2 --- /dev/null +++ b/Views/Auth/Login.cshtml @@ -0,0 +1,158 @@ +@{ + ViewData["Title"] = "Login"; + Layout = "~/Views/Shared/_LayoutRegistrasi.cshtml"; +} + +
+ +
+
+ +
+

Masuk ke Akun

+
+ + +
+

+ Selamat Datang di e-Bank Sampah Jakarta +

+

+ Dinas Lingkungan Hidup Provinsi Jakarta +

+
+ + +
+
+ +
+ + +
+ + +
+ +
+ + +
+
+
+ + + +
+ + +
+ + + Lupa Kata Sandi ? + + + +
+ + +
+ + Belum memiliki akun ? + + + Daftar Sekarang + +
+
+
+
+ + + +
+ +@section Scripts { + +} diff --git a/Views/Shared/_NavbarLanding.cshtml b/Views/Shared/_NavbarLanding.cshtml index 7e4ee2b..998c9fc 100644 --- a/Views/Shared/_NavbarLanding.cshtml +++ b/Views/Shared/_NavbarLanding.cshtml @@ -24,7 +24,7 @@
- +
Login