Skip to content

Commit

Permalink
adjusted padding and margin
Browse files Browse the repository at this point in the history
  • Loading branch information
SachiGoto committed Feb 23, 2024
1 parent 25c6bb9 commit fea2dd3
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 17 deletions.
4 changes: 2 additions & 2 deletions app/(auth)/signup/email/components/signup-footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Link } from '@/components/link'
export const SignUpFooter = () => {
return (
<CardFooter
mt={{ base: '38px', md: '42px' }}
mt={{ base: '38px', md: '32px' }}
display="flex"
flexDirection="column"
p="0"
Expand All @@ -27,7 +27,7 @@ export const SignUpFooter = () => {
align="center"
fontSize="xs"
color="gray.600"
mt={{ base: '38px', md: '42px' }}
mt={{ base: '38px', md: '32px' }}
>
By signing up, you agree to{' '}
<Link href="/signUp/email" color="primary.800" hasUnderLine={true}>
Expand Down
4 changes: 2 additions & 2 deletions app/(auth)/signup/email/components/signup-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ export const SignUpForm = () => {
sx={signUpInputStyle}
as="form"
onSubmit={signUpHandler}
mt={{ base: '38px', md: '42px' }}
mt={{ base: '38px', md: '32px' }}
gap={{ base: '30px', md: '40px' }}
p="0%"
w={{ base: '90vw', md: 'unset' }}
maxW="500px"
>
<VStack gap="24px">
<VStack>
<FormControl isInvalid={!!errors.email}>
<FormLabel color="black">Email</FormLabel>
<InputForm
Expand Down
2 changes: 1 addition & 1 deletion app/(auth)/signup/email/components/signup-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const SignUpHeader = () => {
</Center>
<VStack
w="100%"
mt={{ base: '28px', md: '40px' }}
mt={{ base: '28px', md: '5px' }}
align={{ base: 'center', md: 'start' }}
>
<Heading as="h1" fontSize={{ base: '2xl', md: '4xl' }} color="gray.700">
Expand Down
20 changes: 8 additions & 12 deletions app/(auth)/signup/email/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,23 @@ export default function SignUp() {
<LightMode>
<Box
as="main"
height="100vh"
minH="900px"
w="100vw"
minH="100vh"
height="100%"
display="flex"
overflowX="hidden"
p="3%"
justifyContent="center"
alignItems="center"
bg={{
base: 'white',
md: 'linear-gradient(242.77deg, #C4E6E6 1.15%, #085783 100%)'
}}
>
<Card
pb="40px"
position="absolute"
top={{ base: '0%', md: '50%' }}
left="50%"
transform={{
base: 'translate(-50%, 0%)',
md: 'translate(-50%, -50%)'
}}
bg="white"
boxShadow={{ base: '0', md: '0 4px 16px rgba(0, 0, 0, 0.1)' }}
maxW={{ base: '100%', md: '542px' }}
py="40px"
py="30px"
px={{ base: '16px', md: '80px' }}
>
<SignUpHeader />
Expand Down

0 comments on commit fea2dd3

Please sign in to comment.