diff --git a/apps/frontend/src/routes/login/index.lazy.tsx b/apps/frontend/src/routes/login/index.lazy.tsx index 58c16ef..cd18d0d 100644 --- a/apps/frontend/src/routes/login/index.lazy.tsx +++ b/apps/frontend/src/routes/login/index.lazy.tsx @@ -19,6 +19,7 @@ import { zodResolver } from "@hookform/resolvers/zod"; import { useEffect, useState } from "react"; import useAuth from "@/hooks/useAuth"; import { TbArrowNarrowRight } from "react-icons/tb"; +import logo from "@/assets/logos/amati-logo.png"; export const Route = createLazyFileRoute("/login/")({ component: LoginPage, @@ -30,8 +31,8 @@ type FormSchema = { }; const formSchema = z.object({ - username: z.string().min(1, "This field is required"), - password: z.string().min(1, "This field is required"), + username: z.string().min(1, "Kolom ini wajib diisi"), + password: z.string().min(1, "Kolom ini wajib diisi"), }); export default function LoginPage() { @@ -97,94 +98,100 @@ export default function LoginPage() { }; return ( -
-
- Amati +
+ {/* Navbar */} + + + {/* Background shapes */} +
+
+
+ + + + +
+
-
- -

Sign In

-

- New to this app?{' '} - - Register now + + {/* Sign In form */} +

+ +

Sign In

+

+ Baru mengenal aplikasi ini?{' '} + + Daftar sekarang + +

+
+ +
+ {errorMessage && ( + +

{errorMessage}

+
+ )} + ( + + Email/Username + + + + + + )} + /> + ( + + Kata sandi + + + + + + )} + /> +

+ + Lupa kata sandi? -

- - -
- {errorMessage && ( - -

{errorMessage}

-
- )} - ( - - Email/Username - - - - - - )} - /> - ( - - Password - - - - - - )} - /> -

- - Forgot Password? - -

-
-
- -
- - +

+
+
+ +
+ +
); -} +} \ No newline at end of file diff --git a/apps/frontend/tailwind.config.js b/apps/frontend/tailwind.config.js index 51535f1..720b7cd 100644 --- a/apps/frontend/tailwind.config.js +++ b/apps/frontend/tailwind.config.js @@ -72,15 +72,13 @@ module.exports = { "accordion-up": "accordion-up 0.2s ease-out", }, }, - letterSpacing: { - tightest: '-.075em', - tighter: '-.05em', - tight: '-.025em', - normal: '0', - wide: '.025em', - wider: '.05em', - widest: '.1em', - widest: '.25em', + screens: { + 'sm': '640px', + 'md': '768px', + 'lg': '1024px', + 'xl': '1280px', + '2xl': '1536px', + '3xl': '1980px', }, }, plugins: [require("tailwindcss-animate")],