Skip to content

Commit

Permalink
mypage Menu
Browse files Browse the repository at this point in the history
  • Loading branch information
ljh0608 committed Aug 24, 2023
1 parent 34366b8 commit 5926ca3
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
49 changes: 49 additions & 0 deletions src/components/Mypage/MypageMenu.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import React from 'react';
import Text from '../common/Text';
import styled from 'styled-components';
import { theme } from '../../styles/theme';

const MypageMenu = () => {
return (
<MypageWrapper>
<TextWrapper>
<Text font={'body2'} color={theme.colors.black}>
레드 커넥트와 연동하기
</Text>
</TextWrapper>
<TextWrapper>
{' '}
<Text font={'body2'} color={theme.colors.black}>
회원 정보 수정
</Text>
</TextWrapper>
<TextWrapper>
{' '}
<Text font={'body2'} color={theme.colors.black}>
공지사항
</Text>
</TextWrapper>
<TextWrapper>
{' '}
<Text font={'body2'} color={theme.colors.black}>
고객센터
</Text>
</TextWrapper>
</MypageWrapper>
);
};

const MypageWrapper = styled.div`
display: flex;
flex-direction: column;
gap: 2rem;
justify-content: space-between;
margin-top: 2.4rem;
width: 33.5rem;
height: 13.6rem;
`;

const TextWrapper = styled.div``;

export default MypageMenu;
12 changes: 12 additions & 0 deletions src/pages/Mypage.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,28 @@
import Line from '../components/common/Line';
import MypageFeature from '../components/Mypage/MypageFeature';
import MypageHeader from '../components/Mypage/MypageHeader';
import MypageMenu from '../components/Mypage/MypageMenu';
import styled from 'styled-components';

const Mypage = () => {
return (
<MypageWrapper>
<MypageHeader></MypageHeader>
<MypageFeature></MypageFeature>
<LineWrapper></LineWrapper>
<Line></Line>
<MypageMenu></MypageMenu>
</MypageWrapper>
);
};

const MypageWrapper = styled.div`
display: flex;
flex-direction: column;
align-items: center;
`;

const LineWrapper = styled.div`
margin-top: 6.4rem;
`;
export default Mypage;

0 comments on commit 5926ca3

Please sign in to comment.