|
@@ -12,38 +12,38 @@ const Login: NextPage = () => {
|
|
|
return (
|
|
return (
|
|
|
<Layout>
|
|
<Layout>
|
|
|
<form
|
|
<form
|
|
|
- className="w-full max-w-screen-xs mx-auto flex flex-col xs:grid xs:grid-cols-form xs:items-center gap-4"
|
|
|
|
|
|
|
+ className="form"
|
|
|
onSubmit={submitHandler}
|
|
onSubmit={submitHandler}
|
|
|
>
|
|
>
|
|
|
<div className="xs:contents">
|
|
<div className="xs:contents">
|
|
|
- <label htmlFor="email" className="font-bold flex-1 xs:text-right">
|
|
|
|
|
|
|
+ <label htmlFor="email" className="form-label">
|
|
|
Email
|
|
Email
|
|
|
</label>
|
|
</label>
|
|
|
<input
|
|
<input
|
|
|
type="email"
|
|
type="email"
|
|
|
name="email"
|
|
name="email"
|
|
|
id="email"
|
|
id="email"
|
|
|
- className="bg-prisma-50 w-full rounded py-2 px-3 text-sm"
|
|
|
|
|
|
|
+ className="form-input"
|
|
|
placeholder="monkey@gmail.com"
|
|
placeholder="monkey@gmail.com"
|
|
|
required
|
|
required
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
<div className="xs:contents">
|
|
<div className="xs:contents">
|
|
|
- <label htmlFor="password" className="font-bold flex-1 xs:text-right">
|
|
|
|
|
|
|
+ <label htmlFor="password" className="form-label">
|
|
|
Password
|
|
Password
|
|
|
</label>
|
|
</label>
|
|
|
<input
|
|
<input
|
|
|
type="password"
|
|
type="password"
|
|
|
name="password"
|
|
name="password"
|
|
|
id="password"
|
|
id="password"
|
|
|
- className="bg-prisma-50 w-full rounded py-2 px-3 text-sm"
|
|
|
|
|
|
|
+ className="form-input"
|
|
|
placeholder="••••••"
|
|
placeholder="••••••"
|
|
|
required
|
|
required
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
<button
|
|
<button
|
|
|
type="submit"
|
|
type="submit"
|
|
|
- className="col-start-2 w-max py-2 px-4 bg-prisma-900 text-white font-bold rounded text-sm hover:bg-prisma-800 active:bg-prisma-700"
|
|
|
|
|
|
|
+ className="form-button"
|
|
|
>
|
|
>
|
|
|
Log in
|
|
Log in
|
|
|
</button>
|
|
</button>
|