Skip to content

Commit 79e46e0

Browse files
committed
minor bugs
1 parent cc0a06c commit 79e46e0

2 files changed

Lines changed: 16 additions & 9 deletions

File tree

frontend/src/components/Authentication/Login.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ const Login = () => {
137137
fontFamily="content"
138138
bg="#21364a"
139139
border="none"
140+
textColor="white"
140141
/>
141142
</FormControl>
142143
<FormControl id="password" isRequired>
@@ -152,6 +153,7 @@ const Login = () => {
152153
fontFamily="content"
153154
bg="#21364a"
154155
border="none"
156+
textColor="white"
155157
/>
156158
<InputRightElement width="4.5rem">
157159
<Button
@@ -162,13 +164,14 @@ const Login = () => {
162164
fontFamily="content"
163165
bg="#1b3046ff"
164166
textColor="white"
165-
_hover="none"
167+
_hover={{ textColor: "black", bg: "gray.300" }}
166168
>
167169
{show ? "Hide" : "Show"}
168170
</Button>
169171
</InputRightElement>
170172
</InputGroup>
171-
<span className="text-white font-light text-[14px] leading-[0px] "
173+
<span
174+
className="text-white font-light text-[14px] leading-[0px] "
172175
children="By signing up, you are creating a COMCONNECT account, and you
173176
agree to COMCONNECT's Term of Use and Privacy Policy."
174177
/>

frontend/src/components/Authentication/Signup.js

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -144,39 +144,42 @@ const Signup = () => {
144144
<Box width={["100%", "100%", "60%"]}>
145145
<VStack spacing="5px">
146146
<FormControl id="first-name" isRequired>
147-
<FormLabel mb={0} mt={3} fontFamily="subhead" textColor="lgrey">
147+
<FormLabel mb={0} mt={3} fontFamily="subhead" textColor="white">
148148
Name
149149
</FormLabel>
150150
<Input
151151
fontFamily="content"
152152
bg="#21364a"
153153
border="none"
154154
placeholder="Enter Your Name"
155+
textColor="white"
155156
onChange={(e) => setName(e.target.value)}
156157
/>
157158
</FormControl>
158159
<FormControl id="email" isRequired>
159-
<FormLabel mb={0} mt={3} fontFamily="subhead" textColor="lgrey">
160+
<FormLabel mb={0} mt={3} fontFamily="subhead" textColor="white">
160161
Email Address
161162
</FormLabel>
162163
<Input
163164
fontFamily="content"
164165
type="email"
165166
bg="#21364a"
166167
border="none"
168+
textColor="white"
167169
placeholder="Enter Your Email Address"
168170
onChange={(e) => setEmail(e.target.value)}
169171
/>
170172
</FormControl>
171173
<FormControl id="password" isRequired>
172-
<FormLabel mb={0} mt={3} fontFamily="subhead" textColor="lgrey">
174+
<FormLabel mb={0} mt={3} fontFamily="subhead" textColor="white">
173175
Password
174176
</FormLabel>
175177
<InputGroup size="md">
176178
<Input
177179
fontFamily="content"
178180
bg="#21364a"
179181
border="none"
182+
textColor="white"
180183
type={show ? "text" : "password"}
181184
placeholder="Enter Password"
182185
onChange={(e) => setPassword(e.target.value)}
@@ -188,7 +191,7 @@ const Signup = () => {
188191
fontFamily="content"
189192
bg="#1b3046ff"
190193
textColor="white"
191-
_hover="none"
194+
_hover={{ textColor: "black", bg: "gray.300" }}
192195
onClick={handleClick}
193196
>
194197
{show ? "Hide" : "Show"}
@@ -197,14 +200,15 @@ const Signup = () => {
197200
</InputGroup>
198201
</FormControl>
199202
<FormControl id="password" isRequired>
200-
<FormLabel mb={0} mt={3} fontFamily="subhead" textColor="lgrey">
203+
<FormLabel mb={0} mt={3} fontFamily="subhead" textColor="white">
201204
Confirm Password
202205
</FormLabel>
203206
<InputGroup size="md">
204207
<Input
205208
fontFamily="content"
206209
bg="#21364a"
207210
border="none"
211+
textColor="white"
208212
type={show ? "text" : "password"}
209213
placeholder="Confirm password"
210214
onChange={(e) => setConfirmpassword(e.target.value)}
@@ -216,7 +220,7 @@ const Signup = () => {
216220
fontFamily="content"
217221
bg="#1b3046ff"
218222
textColor="white"
219-
_hover="none"
223+
_hover={{ textColor: "black", bg: "gray.300" }}
220224
onClick={handleClick}
221225
>
222226
{show ? "Hide" : "Show"}
@@ -225,7 +229,7 @@ const Signup = () => {
225229
</InputGroup>
226230
</FormControl>
227231
<FormControl id="pic">
228-
<FormLabel mb={0} mt={3} fontFamily="subhead" textColor="lgrey">
232+
<FormLabel mb={0} mt={3} fontFamily="subhead" textColor="white">
229233
Upload your Picture
230234
</FormLabel>
231235
<Box position="relative" width="100%">

0 commit comments

Comments
 (0)