diff --git a/public/assets/cover-login.jpg b/public/assets/cover-login.jpg new file mode 100644 index 0000000..8f3b7de Binary files /dev/null and b/public/assets/cover-login.jpg differ diff --git a/public/assets/logo.webp b/public/assets/logo.webp new file mode 100644 index 0000000..573577e Binary files /dev/null and b/public/assets/logo.webp differ diff --git a/resources/js/components/app-logo-icon.tsx b/resources/js/components/app-logo-icon.tsx index 0c31215..7e9fcf1 100644 --- a/resources/js/components/app-logo-icon.tsx +++ b/resources/js/components/app-logo-icon.tsx @@ -1,13 +1,3 @@ -import type { SVGAttributes } from 'react'; - -export default function AppLogoIcon(props: SVGAttributes) { - return ( - - - - ); +export default function AppLogoIcon() { + return Logo; } diff --git a/resources/js/layouts/auth/auth-split-layout.tsx b/resources/js/layouts/auth/auth-split-layout.tsx index a567729..bd9bd40 100644 --- a/resources/js/layouts/auth/auth-split-layout.tsx +++ b/resources/js/layouts/auth/auth-split-layout.tsx @@ -11,22 +11,18 @@ export default function AuthSplitLayout({ const { name } = usePage().props; return ( -
-
-
- - - {name} - +
+
+
diff --git a/resources/js/pages/auth/login.tsx b/resources/js/pages/auth/login.tsx index c170e20..a0eb48d 100644 --- a/resources/js/pages/auth/login.tsx +++ b/resources/js/pages/auth/login.tsx @@ -1,30 +1,23 @@ import { Form, Head } from '@inertiajs/react'; import InputError from '@/components/input-error'; import PasswordInput from '@/components/password-input'; -import TextLink from '@/components/text-link'; import { Button } from '@/components/ui/button'; import { Checkbox } from '@/components/ui/checkbox'; import { Input } from '@/components/ui/input'; import { Label } from '@/components/ui/label'; import { Spinner } from '@/components/ui/spinner'; -import { register } from '@/routes'; import { store } from '@/routes/login'; -import { request } from '@/routes/password'; type Props = { status?: string; - canResetPassword: boolean; - canRegister: boolean; }; export default function Login({ status, - canResetPassword, - canRegister, }: Props) { return ( <> - +
- +
- - {canResetPassword && ( - - Forgot password? - - )} +
@@ -79,7 +63,7 @@ export default function Login({ name="remember" tabIndex={3} /> - +
- - {canRegister && ( -
- Don't have an account?{' '} - - Sign up - -
- )} )} @@ -116,6 +91,6 @@ export default function Login({ } Login.layout = { - title: 'Log in to your account', - description: 'Enter your email and password below to log in', -}; + title: 'Masuk ke akun Anda', + description: 'Masukkan alamat surel atau nama pengguna dan kata sandi Anda di bawah untuk masuk.', +}; \ No newline at end of file