Skip to content

Commit a47cc28

Browse files
authored
Update page.tsx
1 parent fa71c30 commit a47cc28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/app/login/page.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default function LoginPage() {
5757
required
5858
value={userOrEmail}
5959
onChange={e => setUserOrEmail(e.target.value)}
60-
className="px-3 py-2 rounded border border-gray-300 dark:border-gray-700 bg-gray-50 dark:bg-gray-800 focus:outline-none focus:ring-2 focus:ring-blue-400"
60+
className="px-3 py-2 rounded border border-gray-300 dark:border-gray-700 bg-gray-50 dark:bg-black focus:outline-none focus:ring-2 focus:ring-blue-400"
6161
placeholder="Username or Email address"
6262
/>
6363

@@ -71,14 +71,14 @@ export default function LoginPage() {
7171
required
7272
value={password}
7373
onChange={e => setPassword(e.target.value)}
74-
className="px-3 py-2 rounded border border-gray-300 dark:border-gray-700 bg-gray-50 dark:bg-gray-800 focus:outline-none focus:ring-2 focus:ring-purple-400"
74+
className="px-3 py-2 rounded border border-gray-300 dark:border-gray-700 bg-gray-50 dark:bg-black focus:outline-none focus:ring-2 focus:ring-purple-400"
7575
placeholder="Password"
7676
/>
7777

7878
<button
7979
type="submit"
8080
disabled={loading}
81-
className="mt-4 w-full py-2 rounded bg-black dark:bg-gray-700 text-white font-semibold shadow hover:from-blue-600 hover:to-purple-600 transition"
81+
className="mt-4 w-full py-2 rounded bg-black dark:bg-white dark:text-black text-white font-semibold shadow hover:from-blue-600 hover:to-purple-600 transition"
8282
>
8383
{loading ? "Logging in..." : "Login"}
8484
</button>

0 commit comments

Comments
 (0)