-
Notifications
You must be signed in to change notification settings - Fork 0
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 #3 from Chatting-App-FE/feature/sidebar
Feature: 사이드바 레이아웃 구현
- Loading branch information
Showing
8 changed files
with
113 additions
and
78 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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,50 @@ | ||
import React from 'react'; | ||
import { Box, Text } from '@chakra-ui/react'; | ||
import { AddIcon, EditIcon, ArrowRightIcon, ChatIcon } from '@chakra-ui/icons'; | ||
|
||
const SideBar = () => { | ||
return ( | ||
<Box | ||
w="250px" | ||
h="100vh" | ||
bg="gray.50" | ||
color="black" | ||
p={10} | ||
position="fixed" | ||
left={0} | ||
boxShadow="xl" | ||
> | ||
<Text fontSize="4xl" fontWeight="extrabold" mb={6}> | ||
로고자리 | ||
</Text> | ||
<Box color="#828C98"> | ||
<Text mb={4}> | ||
<ArrowRightIcon mr={2} /> | ||
전체 채팅방 보기 | ||
</Text> | ||
|
||
<Text mb={4}> | ||
<AddIcon mr={2} /> | ||
새로운 채팅방 생성 | ||
</Text> | ||
|
||
<Text mb={4}> | ||
<EditIcon mr={2} /> | ||
개인 정보 수정 | ||
</Text> | ||
</Box> | ||
<Box mt={100}> | ||
<Text fontSize="2xl" fontWeight="bold" mb={6}> | ||
나의 채팅방 | ||
</Text> | ||
<Box> | ||
<Text> | ||
<ChatIcon mr={2} /> 채팅방1 예시 | ||
</Text> | ||
</Box> | ||
</Box> | ||
</Box> | ||
); | ||
}; | ||
|
||
export default SideBar; |
This file was deleted.
Oops, something went wrong.
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