-
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.
- Loading branch information
1 parent
16a77f8
commit 0ed835e
Showing
6 changed files
with
195 additions
and
6 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,54 @@ | ||
import styled from "@emotion/styled"; | ||
import { Img, Box, Text } from "@chakra-ui/react"; | ||
|
||
const MypageSection = () => { | ||
return ( | ||
<SectionWrapper> | ||
<Header> | ||
<Img src='/images/developing.svg' alt="말풍선" /> | ||
<Title>Mypage</Title> | ||
</Header> | ||
<ContentBox> | ||
<ContentTitle>내정보 수정 ></ContentTitle> | ||
<ContentText>닉네임 변경, 멤버십 변경 등 계정 관련 기능들이 있어요 😎</ContentText> | ||
</ContentBox> | ||
</SectionWrapper> | ||
); | ||
}; | ||
|
||
const SectionWrapper = styled(Box)` | ||
flex: 1; | ||
display: flex; | ||
flex-direction: column; | ||
gap: 10px; | ||
`; | ||
|
||
const Header = styled(Box)` | ||
display: flex; | ||
align-items: center; | ||
gap: 10px; | ||
`; | ||
|
||
const Title = styled(Text)` | ||
font-size: 40px; | ||
font-weight: bold; | ||
`; | ||
|
||
const ContentBox = styled(Box)` | ||
background-color: #e0f7fa; | ||
padding: 20px; | ||
border-radius: 10px; | ||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | ||
`; | ||
|
||
const ContentTitle = styled(Text)` | ||
font-size: 24px; | ||
font-weight: bold; | ||
margin-bottom: 10px; | ||
`; | ||
|
||
const ContentText = styled(Text)` | ||
font-size: 16px; | ||
`; | ||
|
||
export default MypageSection; |
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,58 @@ | ||
import styled from "@emotion/styled"; | ||
import { Img, Box, Text } from "@chakra-ui/react"; | ||
|
||
const ReviewSection = () => { | ||
return ( | ||
<SectionWrapper> | ||
<Header> | ||
<Img src='/images/developing.svg' alt="말풍선" /> | ||
<Title>Review</Title> | ||
</Header> | ||
<ContentBox> | ||
<ContentTitle>복습하러 가기 ></ContentTitle> | ||
<ContentText>틀린 문제들과 이전에 풀었던 문제들을 복습해 볼 수 있어요 🔥</ContentText> | ||
</ContentBox> | ||
</SectionWrapper> | ||
); | ||
}; | ||
|
||
const SectionWrapper = styled(Box)` | ||
flex: 1; | ||
display: flex; | ||
flex-direction: column; | ||
gap: 10px; | ||
`; | ||
|
||
const Header = styled(Box)` | ||
display: flex; | ||
align-items: center; | ||
gap: 10px; | ||
`; | ||
|
||
const SpeechBubble = styled.img` | ||
height: 20px; | ||
`; | ||
|
||
const Title = styled(Text)` | ||
font-size: 40px; | ||
font-weight: bold; | ||
`; | ||
|
||
const ContentBox = styled(Box)` | ||
background-color: #e0f7fa; | ||
padding: 20px; | ||
border-radius: 10px; | ||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | ||
`; | ||
|
||
const ContentTitle = styled(Text)` | ||
font-size: 24px; | ||
font-weight: bold; | ||
margin-bottom: 10px; | ||
`; | ||
|
||
const ContentText = styled(Text)` | ||
font-size: 16px; | ||
`; | ||
|
||
export default ReviewSection; |
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,60 @@ | ||
import styled from "@emotion/styled"; | ||
import { Box, Flex } from "@chakra-ui/react"; | ||
import ReviewSection from "./ReviewSection"; | ||
import MypageSection from "./MypageSection"; | ||
|
||
export const UnderSection = () => { | ||
return ( | ||
<Wrapper> | ||
<LogoWrapper> | ||
<LeftSection> | ||
<ReviewSection /> | ||
<MypageSection /> | ||
</LeftSection> | ||
<RightSection> | ||
<AdBanner>광고 배너</AdBanner> | ||
</RightSection> | ||
</LogoWrapper> | ||
</Wrapper> | ||
); | ||
}; | ||
|
||
const Wrapper = styled.div` | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
`; | ||
|
||
const LogoWrapper = styled.div` | ||
width: 100%; | ||
max-width: 1200px; | ||
text-align: center; | ||
`; | ||
|
||
const LeftSection = styled(Box)` | ||
flex: 2; | ||
display: flex; | ||
flex-direction: column; | ||
gap: 20px; | ||
`; | ||
|
||
const RightSection = styled(Box)` | ||
flex: 1; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
`; | ||
|
||
const AdBanner = styled(Box)` | ||
width: 80%; | ||
height: 80%; | ||
background-color: #f5f5f5; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
font-size: 24px; | ||
border-radius: 10px; | ||
border: 1px solid #e0e0e0; | ||
`; | ||
|
||
export default UnderSection; |