-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #202 from kakao-tech-campus-2nd-step3/Week10
Week10 7
- Loading branch information
Showing
2 changed files
with
82 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
import { | ||
Box, | ||
Button, | ||
Flex, | ||
Heading, | ||
Input, | ||
Radio, | ||
RadioGroup, | ||
Stack, | ||
Text, | ||
} from '@chakra-ui/react' | ||
|
||
export default function RegisterPage() { | ||
return ( | ||
<Flex | ||
flexDirection="column" | ||
justifyContent="center" | ||
alignItems="center" | ||
width="full" | ||
gap={6} | ||
p={4} | ||
> | ||
<Heading color="brown.600" size="xl" fontWeight="800"> | ||
회원가입 | ||
</Heading> | ||
<Text color="gray.600" fontSize="md" textAlign="center"> | ||
가입을 통해 더 다양한 서비스를 만나보세요! | ||
</Text> | ||
|
||
<Box width="100%" maxWidth="400px"> | ||
<Text fontWeight="bold" mb={2}> | ||
이름 | ||
</Text> | ||
<Input placeholder="이름 입력" /> | ||
</Box> | ||
|
||
<Box width="100%" maxWidth="400px"> | ||
<Text fontWeight="bold" mb={2}> | ||
성별 | ||
</Text> | ||
<RadioGroup> | ||
<Stack direction="row" spacing={5}> | ||
<Radio value="남" colorScheme="brown"> | ||
남 | ||
</Radio> | ||
<Radio value="여" colorScheme="brown"> | ||
여 | ||
</Radio> | ||
</Stack> | ||
</RadioGroup> | ||
</Box> | ||
|
||
<Box width="100%" maxWidth="400px"> | ||
<Text fontWeight="bold" mb={2}> | ||
나이 | ||
</Text> | ||
<Input type="number" placeholder="나이 입력" /> | ||
</Box> | ||
|
||
<Button | ||
bg="brown.500" | ||
color="secondary_background" | ||
_hover={{ bg: 'brown.600' }} | ||
size="lg" | ||
width="100%" | ||
maxWidth="400px" | ||
mt={6} | ||
> | ||
가입하기 | ||
</Button> | ||
</Flex> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters