Skip to content

Commit 9323f1c

Browse files
done login page
1 parent 40b8bb9 commit 9323f1c

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

client/src/components/auth/Login.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,12 @@ const Login = ({
7070
<Box w={i() ? "calc(100% - 700px)" : ""}>
7171
<Flex alignItems="center" flexDirection="column" pt="2.5rem">
7272
<Heading as="h1">Welcome to DevHelp</Heading>
73-
<Text color="#00000080">
73+
<Text
74+
color="#00000080"
75+
px={i() ? "" : "60px"}
76+
fontSize={i() ? "" : "14px"}
77+
textAlign="center"
78+
>
7479
DevHelp has a pool of highly experienced developers in their
7580
respective tech stacks
7681
</Text>
@@ -80,7 +85,7 @@ const Login = ({
8085
</Flex>
8186
<Alert />
8287
<Flex flexDirection="column" alignItems="center">
83-
<HStack mb="1rem" w={i() ? "450px" : ""}>
88+
<HStack mb="1rem" w={i() ? "450px" : "280px"}>
8489
<Box>
8590
<i className="fas fa-envelope"></i>
8691
</Box>
@@ -92,7 +97,7 @@ const Login = ({
9297
onChange={onChange}
9398
/>
9499
</HStack>
95-
<HStack mb="1rem" w="450px">
100+
<HStack mb="1rem" w={i() ? "450px" : "280px"}>
96101
<Box>
97102
<i className="fas fa-lock"></i>
98103
</Box>
@@ -108,7 +113,7 @@ const Login = ({
108113
isLoading={loading}
109114
loadingText="Logging In"
110115
colorScheme="blackAlpha"
111-
w="450px"
116+
w={i() ? "450px" : "280px"}
112117
type="submit"
113118
onClick={onSubmit}
114119
>

0 commit comments

Comments
 (0)