芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/reginaeigbe.com/folder/admin/tmp/resources/js/Admin/Pages/Auth/Login.jsx
import TextInput from "@/Admin/Components/Inputs/TextInput.jsx"; import {useForm, Head, Link} from "@inertiajs/react"; import FormButton from "@/Admin/Components/Button/FormButton.jsx"; export default function Login({status}){ const customize = window.customize_settings // initial value const {data, errors, post, setData, processing} = useForm({ email: '', password: '', remember: false, }) // handle login const handleLogin = (e) => { e.preventDefault(); post(route('auth.login')); } return ( <>
Sign in to continue
{status && ( <>
{status}
> )}
setData('email', e.target.value)} />
setData('password', e.target.value)} />
setData('remember', e.target.checked)} />
Remember me
Forgot password?
Login
{/* .container */}
> ) }