aboutsummaryrefslogtreecommitdiff
path: root/app/src/components/Login.tsx
diff options
context:
space:
mode:
authorParker <contact@pkrm.dev>2024-11-15 00:30:43 -0600
committerParker <contact@pkrm.dev>2024-11-15 00:30:43 -0600
commit04cc3869c2844bb82ac6975ee218141104385c35 (patch)
tree1a4c9622606ea4e562a00f6fc022d7c802e3742d /app/src/components/Login.tsx
parentdbc53a555e64fdd0b848bf33b4208820b8701509 (diff)
Extra route + Much more UI
Diffstat (limited to 'app/src/components/Login.tsx')
-rw-r--r--app/src/components/Login.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/src/components/Login.tsx b/app/src/components/Login.tsx
index badb5b1..cc3a5bd 100644
--- a/app/src/components/Login.tsx
+++ b/app/src/components/Login.tsx
@@ -53,10 +53,13 @@ function Login() {
<Navbar />
<div className={styles.container}>
<h1>Log In</h1>
- <h2 className={error ? 'errorVisible' : 'errorHidden'}>{error}</h2>
+ <p className={error ? styles.errorVisible : styles.errorHidden}>
+ {error}
+ </p>
<hr></hr>
<form onSubmit={handleSubmit}>
<input
+ className={styles.authInput}
type="text"
placeholder="username"
value={username}
@@ -64,6 +67,7 @@ function Login() {
required
/>
<input
+ className={styles.authInput}
type="password"
placeholder="password"
value={password}