feat: add placeholder text to login and register inputs

This commit is contained in:
Nishant-k-sagar 2026-03-24 21:35:37 +00:00
parent 8232893fbb
commit 7f3c7f47f2
2 changed files with 5 additions and 0 deletions

View file

@ -166,6 +166,7 @@ export function LocalLoginForm() {
id="email"
type="email"
required
placeholder="you@example.com"
value={username}
onChange={(e) => setUsername(e.target.value)}
className={`mt-1 block w-full rounded-md border px-3 py-1.5 md:py-2 shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2 dark:bg-gray-800 dark:text-white transition-all ${
@ -189,6 +190,7 @@ export function LocalLoginForm() {
id="password"
type={showPassword ? "text" : "password"}
required
placeholder="Enter your password"
value={password}
onChange={(e) => setPassword(e.target.value)}
className={`mt-1 block w-full rounded-md border pr-10 px-3 py-1.5 md:py-2 shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2 dark:bg-gray-800 dark:text-white transition-all ${