@@ -13,6 +13,7 @@ import {
1313 Flex ,
1414 VStack ,
1515 Image ,
16+ Show ,
1617} from "@chakra-ui/react" ;
1718
1819import authAPIClient from "../../APIClients/AuthAPIClient" ;
@@ -80,7 +81,7 @@ const Signup = (): React.ReactElement => {
8081 return (
8182 < Flex >
8283 < Center flex = "1" >
83- < VStack marginLeft = "30vh" marginRight = "30vh ">
84+ < VStack w = "40rem" maxW = "100vw" p = "0 1rem ">
8485 < Image
8586 height = "13vh"
8687 marginBottom = "2.5vh"
@@ -153,7 +154,7 @@ const Signup = (): React.ReactElement => {
153154 value = { town }
154155 placeholder = "Shaughnessy"
155156 onChange = { ( event : React . FormEvent < HTMLInputElement > ) =>
156- setTown ( event . currentTarget . value )
157+ setTown ( event . currentTarget . value . toLowerCase ( ) )
157158 }
158159 marginBottom = "2vh"
159160 />
@@ -168,7 +169,7 @@ const Signup = (): React.ReactElement => {
168169 < Input
169170 type = "password"
170171 value = { password }
171- placeholder = "ββββββββ "
172+ placeholder = "Password "
172173 onChange = { ( event : React . FormEvent < HTMLInputElement > ) =>
173174 setPassword ( event . currentTarget . value )
174175 }
@@ -185,7 +186,7 @@ const Signup = (): React.ReactElement => {
185186 < Input
186187 type = "password"
187188 value = { currentPassword }
188- placeholder = "ββββββββ "
189+ placeholder = "Rewrite your password "
189190 onChange = { ( event : React . FormEvent < HTMLInputElement > ) =>
190191 setCurrentPassword ( event . currentTarget . value )
191192 }
@@ -227,7 +228,9 @@ const Signup = (): React.ReactElement => {
227228 </ Box >
228229 </ VStack >
229230 </ Center >
230- < Image width = "50vw" objectFit = "cover" src = { BackgroundImage } />
231+ < Show above = "md" >
232+ < Image width = "50vw" h = "100vh" objectFit = "cover" src = { BackgroundImage } />
233+ </ Show >
231234 </ Flex >
232235 ) ;
233236} ;
0 commit comments