diff --git a/app/(auth)/login/page.tsx b/app/(auth)/login/page.tsx index 8f39079..ef76b0c 100644 --- a/app/(auth)/login/page.tsx +++ b/app/(auth)/login/page.tsx @@ -7,28 +7,57 @@ type Props = {} const LoginPage = (props: Props) => { return ( -
-
- image +
+ {/* Background gradient layer */} +
+ background gradient +
-
- image - image - image - image -
-
-
-
-

Sign in

-

Enter your email and password to login

-
+ {/* Background decorative objects */} + left decor + right decor + + {/* Centered card wrapper */} +
+
+ {/* Inner card (glassmorphic effect) */} +
+
+ {/* Header */} +

+ Sign In +

+

+ Enter your email and password to access your account. +

+ + {/* Login form */} -
- Don't have an account ?  - + {/* Footer link */} +
+ Don’t have an account?{" "} + SIGN UP
@@ -37,7 +66,8 @@ const LoginPage = (props: Props) => {
- ) -} + ); +}; + export default LoginPage diff --git a/app/(auth)/register/page.tsx b/app/(auth)/register/page.tsx index 811d53d..11b05b0 100644 --- a/app/(auth)/register/page.tsx +++ b/app/(auth)/register/page.tsx @@ -6,30 +6,58 @@ import React from 'react'; type Props = {} const RegisterPage = (props: Props) => { - return ( -
-
- image + return ( +
+ {/* Background gradient layer */} +
+ background gradient +
-
- image - image - image - image -
-
+ {/* Background decorative objects */} + left decor + right decor -
-
-

Sign Up

-

Enter your email and password to register

-
+ {/* Centered card wrapper */} +
+
+ {/* Inner card (glassmorphic effect) */} +
+
+ {/* Header */} +

+ Sign Up +

+

+ Enter your email and password to register +

+ + {/* Login form */} -
- Already have an account ?  - + {/* Footer link */} +
+ Already have an account ?{" "} + SIGN IN
@@ -38,7 +66,7 @@ const RegisterPage = (props: Props) => {
- ) + ); } export default RegisterPage diff --git a/components/auth/components-auth-login-form.tsx b/components/auth/components-auth-login-form.tsx index 77cf895..0013f4e 100644 --- a/components/auth/components-auth-login-form.tsx +++ b/components/auth/components-auth-login-form.tsx @@ -35,9 +35,9 @@ const ComponentsAuthLoginForm = () => { } return ( -
+
- +
setEmail(e.target.value)} placeholder="Enter Email" className="form-input ps-10 placeholder:text-white-dark" /> @@ -45,8 +45,8 @@ const ComponentsAuthLoginForm = () => {
-
- +
+
setPassword(e.target.value)} required placeholder="Enter Password" className="form-input ps-10 placeholder:text-white-dark" /> @@ -54,7 +54,11 @@ const ComponentsAuthLoginForm = () => {
- diff --git a/components/auth/components-auth-register-form.tsx b/components/auth/components-auth-register-form.tsx index 6db417a..f5c2313 100644 --- a/components/auth/components-auth-register-form.tsx +++ b/components/auth/components-auth-register-form.tsx @@ -47,24 +47,24 @@ const ComponentsAuthRegisterForm = () => {
*/}
- +
- setEmail(e.target.value)} type="email" placeholder="Enter Email" className="form-input ps-10 placeholder:text-white-dark" /> + setEmail(e.target.value)} placeholder="Enter Email" className="form-input ps-10 placeholder:text-white-dark" />
-
- +
+
- setPassword(e.target.value)} type="password" placeholder="Enter Password" className="form-input ps-10 placeholder:text-white-dark" /> + setPassword(e.target.value)} required placeholder="Enter Password" className="form-input ps-10 placeholder:text-white-dark" />
- diff --git a/components/dashboards/MonthlyBarChart.tsx b/components/dashboards/MonthlyBarChart.tsx index feb8275..f771363 100644 --- a/components/dashboards/MonthlyBarChart.tsx +++ b/components/dashboards/MonthlyBarChart.tsx @@ -50,7 +50,7 @@ const MonthlyBarChart: React.FC = ({ siteData }) => { } } - // ✅ Only return the last 3 months + // ✅ Only return the last 6 months return monthlyData.slice(-6); }, [siteData]);