-
Notifications
You must be signed in to change notification settings - Fork 8
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 #86 from k-impossible/main
[FE] Enter 컴포넌트 스타일 완료, 기타사항 수정
- Loading branch information
Showing
19 changed files
with
332 additions
and
24 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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
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
Empty file.
File renamed without changes.
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,55 @@ | ||
import { Box, Button, Container, Typography } from '@mui/material'; | ||
import GuideBook from '../GuideBook/GuideBook'; | ||
|
||
function Enter() { | ||
const imgSrc = `images/chapter${1}.png`; | ||
return ( | ||
<Container | ||
sx={{ | ||
display: 'flex', | ||
justifyContent: 'space-between', | ||
alignItems: 'center' | ||
}} | ||
> | ||
<Box marginRight={20}> | ||
<Typography | ||
variant="h4" | ||
align="center" | ||
marginBottom={1} | ||
fontWeight={600} | ||
> | ||
Chapter 1 | ||
</Typography> | ||
<Typography paragraph align="center" color="text.secondary"> | ||
인사나누기 | ||
</Typography> | ||
<Box | ||
sx={{ | ||
display: 'flex', | ||
flexDirection: 'column', | ||
justifyContent: 'center', | ||
alignItems: 'center', | ||
marginTop: 10 | ||
}} | ||
> | ||
<img | ||
src={imgSrc} | ||
style={{ width: '400px', height: '370px' }} | ||
alt="enterImg" | ||
/> | ||
<Button | ||
variant="contained" | ||
size="large" | ||
color="primary" | ||
sx={{ marginTop: 10 }} | ||
> | ||
학습하기 | ||
</Button> | ||
</Box> | ||
</Box> | ||
<GuideBook /> | ||
</Container> | ||
); | ||
} | ||
|
||
export default Enter; |
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,12 @@ | ||
import { Box, Typography } from '@mui/material'; | ||
import { grey } from '@mui/material/colors'; | ||
|
||
export default function GuideBook() { | ||
return ( | ||
<Box sx={{ width: '100%', background: grey[200] }}> | ||
<Typography variant="h4" fontWeight={600}> | ||
Guide Book 자리 | ||
</Typography> | ||
</Box> | ||
); | ||
} |
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,35 @@ | ||
import { Box, List, ListItemButton, ListItemText, Avatar } from '@mui/material'; | ||
import DoneIcon from '@mui/icons-material/Done'; | ||
import { grey } from '@mui/material/colors'; | ||
|
||
function Nav() { | ||
return ( | ||
<Box | ||
sx={{ | ||
width: '100%', | ||
maxWidth: 300, | ||
height: '100vh', | ||
borderRight: 1, | ||
borderColor: grey[300] | ||
}} | ||
> | ||
<List> | ||
<ListItemButton sx={{ borderBottom: 1, borderColor: grey[200] }}> | ||
<ListItemText | ||
primary="Chapter 1" | ||
primaryTypographyProps={{ style: { overflowWrap: 'break-word' } }} | ||
secondary="인사 나누기" | ||
/> | ||
<Avatar sx={{ bgcolor: 'success.light' }}> | ||
<DoneIcon /> | ||
</Avatar> | ||
</ListItemButton> | ||
<ListItemButton sx={{ borderBottom: 1, borderColor: grey[200] }}> | ||
<ListItemText primary="Chapter 2" secondary="활동에 대해 말하기" /> | ||
</ListItemButton> | ||
</List> | ||
</Box> | ||
); | ||
} | ||
|
||
export default Nav; |
Oops, something went wrong.