added colorscheme and fixed placeholder text

This commit is contained in:
Polaris
2024-08-17 18:42:47 -04:00
parent bb97254a54
commit 56bf64e297
3 changed files with 70 additions and 59 deletions

View File

@ -43,7 +43,12 @@ export default function SignInForm() {
<form action={submit} className="grid gap-4">
<div className="grid gap-2">
<Label htmlFor="username">Username</Label>
<Input name="username" type="text" placeholder="clotho" required />
<Input
name="username"
type="text"
placeholder="username"
required
/>
</div>
<div className="grid gap-2">

View File

@ -16,7 +16,6 @@ import { toast } from "@/components/ui/use-toast";
import { signUp } from "./action";
export default function SignUpForm() {
const submit = async (data: FormData) => {
const { error } = await signUp(data);
if (error) {
@ -44,7 +43,12 @@ export default function SignUpForm() {
<form action={submit} className="grid gap-4">
<div className="grid gap-2">
<Label htmlFor="username">Username</Label>
<Input name="username" type="text" placeholder="clotho" required />
<Input
name="username"
type="text"
placeholder="username"
required
/>
</div>
<div className="grid gap-2">
@ -52,7 +56,7 @@ export default function SignUpForm() {
<Input
name="email"
type="email"
placeholder="clotho@fates.com"
placeholder="mail@mail.com"
required
/>
</div>