Browse Source

subtle ui improvements

pull/10/head
Nareshkumar Rao 3 years ago
parent
commit
32739d2a05
  1. 4
      src/screens/HomeScreen.js
  2. 4
      src/screens/LockoutScreen.js
  3. 2
      src/screens/LoginScreen.js
  4. 4
      src/screens/ScannerScreen.js
  5. 4
      src/screens/SuccessScreen.js
  6. 4
      src/screens/VerifyScreen.js

4
src/screens/HomeScreen.js

@ -161,7 +161,7 @@ function Home() {
return ( return (
<Flex <Flex
height="100vh"
minHeight="100vh"
background="teal.100" background="teal.100"
alignItems="center" alignItems="center"
justifyContent="center" justifyContent="center"
@ -170,6 +170,8 @@ function Home() {
direction="column" direction="column"
background="white" background="white"
p={12} p={12}
mt={5}
mb={5}
rounded={6} rounded={6}
id="QRFlex" id="QRFlex"
> >

4
src/screens/LockoutScreen.js

@ -52,12 +52,12 @@ function Lockout() {
return ( return (
<Flex <Flex
height="100vh"
minHeight="100vh"
background="red.500" background="red.500"
alignItems="center" alignItems="center"
justifyContent="center" justifyContent="center"
> >
<Flex direction="column" background="white" p={12} rounded={6} id="contentFlex">
<Flex direction="column" background="white" mt={5} mb={5} p={12} rounded={6} id="contentFlex">
<Heading>Lockout</Heading> <Heading>Lockout</Heading>
<Text> <Text>
You have reported that you have been tested <b>POSITIVE</b> with COVID19. You have reported that you have been tested <b>POSITIVE</b> with COVID19.

2
src/screens/LoginScreen.js

@ -80,7 +80,7 @@ function Login() {
return ( return (
<Flex <Flex
height="100%"
minHeight="100vh"
background="teal.100" background="teal.100"
alignItems="center" alignItems="center"
justifyContent="center" justifyContent="center"

4
src/screens/ScannerScreen.js

@ -103,12 +103,12 @@ function Scanner() {
return ( return (
<Flex <Flex
height="100vh"
minHeight="100vh"
background="teal.100" background="teal.100"
alignItems="center" alignItems="center"
justifyContent="center" justifyContent="center"
> >
<Flex direction="column" background="white" p={12} rounded={6}>
<Flex direction="column" background="white" p={12} mb={6} mt={6} rounded={6}>
<QrReader <QrReader
mb={6} mb={6}
delay={300} delay={300}

4
src/screens/SuccessScreen.js

@ -6,12 +6,12 @@ function Success() {
return ( return (
<Flex <Flex
height="100vh"
minHeight="100vh"
background="teal.100" background="teal.100"
alignItems="center" alignItems="center"
justifyContent="center" justifyContent="center"
> >
<Flex direction="column" background="white" p={12} rounded={6}>
<Flex direction="column" background="white" mb={6} mt={6} p={12} rounded={6}>
<Heading>Success!</Heading> <Heading>Success!</Heading>
<Text fontSize="lg"> <Text fontSize="lg">
We have succesfully saved your contact! Stay safe out there, and let We have succesfully saved your contact! Stay safe out there, and let

4
src/screens/VerifyScreen.js

@ -43,12 +43,12 @@ function Verify(props) {
return ( return (
<Flex <Flex
height="100vh"
minHeight="100vh"
background="teal.100" background="teal.100"
alignItems="center" alignItems="center"
justifyContent="center" justifyContent="center"
> >
<Flex direction="column" background="white" p={12} rounded={6}>
<Flex direction="column" background="white" p={12} mt={6} mb={6} rounded={6}>
{verifyError ? errorMessage : loadingMessage} {verifyError ? errorMessage : loadingMessage}
</Flex> </Flex>
</Flex> </Flex>

Loading…
Cancel
Save