import { Head, useForm } from '@inertiajs/react'; import React from 'react'; import { Button } from '@/components/ui/button'; import { Card, CardContent, CardHeader } from '@/components/ui/card'; import { Checkbox } from '@/components/ui/checkbox'; import { Input } from '@/components/ui/input'; import { Label } from '@/components/ui/label'; // ─── Types ─────────────────────────────────────────────────────────────────── type Props = { status?: string; canResetPassword: boolean; }; // ─── Component ─────────────────────────────────────────────────────────────── export default function Login({ status, canResetPassword }: Props) { const { data, setData, post, processing, errors } = useForm({ email: '', password: '', remember: false as boolean, }); const submit = (e: React.FormEvent) => { e.preventDefault(); post('/login'); }; return ( // Layar penuh, tengah, background abu muda
Masuk ke panel manajemen
© {new Date().getFullYear()} HRIS App. All rights reserved.