diff --git a/src/App.js b/src/App.js
index 95c95a7..57130c9 100644
--- a/src/App.js
+++ b/src/App.js
@@ -6,6 +6,7 @@ import TenantDashboard from './TenantDashboard';
import ChatBot from './ChatBot';
import './App.css';
+import Login from './Login';
function App() {
function ChatBotWrapper() {
@@ -41,9 +42,9 @@ function App() {
- UNTUK MENAMBAHKAN LAYANAN, KUNJUNGI
LINK INI
- dengan username: dermalounge, password: 1234
+
+
Grafik request booking
+
+
© 2025 Kloowear AI - Admin Panel
diff --git a/src/Dashboard.module.css b/src/Dashboard.module.css
index 92f45c7..6fb7ebf 100644
--- a/src/Dashboard.module.css
+++ b/src/Dashboard.module.css
@@ -1,3 +1,8 @@
+
+.h1 {
+ color: white;
+}
+
.dashboardContainer {
max-width: 900px;
margin: 30px auto;
diff --git a/src/Login.js b/src/Login.js
new file mode 100644
index 0000000..b68cbf8
--- /dev/null
+++ b/src/Login.js
@@ -0,0 +1,62 @@
+import React, { useState } from 'react';
+import styles from './Login.module.css';
+
+const Login = () => {
+ const [formData, setFormData] = useState({
+ username: '',
+ password: ''
+ });
+
+ const [error, setError] = useState('');
+
+ const handleChange = (e) => {
+ setFormData({ ...formData, [e.target.name]: e.target.value });
+ };
+
+ const handleSubmit = (e) => {
+ e.preventDefault();
+
+ if (formData.username === 'dermalounge' && formData.password === '1234') {
+ window.location.href = '/dashboard'; // redirect after successful login
+ } else {
+ setError('Username atau password salah');
+ }
+ };
+
+ return (
+
+
+

+
Dermalounge AI Admin Login
+
Silakan masuk untuk melanjutkan ke dashboard
+
+
+ © 2025 Kloowear AI - Admin Panel
+
+
+
+ );
+};
+
+export default Login;
diff --git a/src/Login.module.css b/src/Login.module.css
new file mode 100644
index 0000000..0b82780
--- /dev/null
+++ b/src/Login.module.css
@@ -0,0 +1,73 @@
+.loginContainer {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ height: 100vh;
+ background: #f0f2f5;
+ width: 100vw;
+}
+
+.loginBox {
+ background: #fff;
+ padding: 40px;
+ border-radius: 10px;
+ box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
+ text-align: center;
+ width: 100%;
+ max-width: 400px;
+}
+
+.logo {
+ width: 80px;
+ margin-bottom: 20px;
+}
+
+.h1 {
+ margin-bottom: 10px;
+ font-size: 24px;
+ color: #333;
+}
+
+.subtitle {
+ font-size: 14px;
+ color: #777;
+ margin-bottom: 30px;
+}
+
+.form {
+ display: flex;
+ flex-direction: column;
+}
+
+.input {
+ padding: 10px 15px;
+ margin-bottom: 15px;
+ border: 1px solid #ccc;
+ border-radius: 6px;
+ font-size: 16px;
+}
+
+.button {
+ background-color: #4285F4;
+ color: white;
+ border: none;
+ padding: 12px;
+ border-radius: 6px;
+ font-size: 16px;
+ cursor: pointer;
+}
+
+.button:hover {
+ background-color: #3367D6;
+}
+
+.error {
+ color: red;
+ margin-bottom: 10px;
+}
+
+.footer {
+ margin-top: 20px;
+ font-size: 12px;
+ color: #aaa;
+}