Skip to content

Commit

Permalink
feat: mypage 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
seung365 committed Aug 7, 2024
1 parent 266f07c commit 1b8fae1
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion src/pages/MyPage/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
import { Grid, GridItem } from '@chakra-ui/react';
import styled from '@emotion/styled';

export const MyPage = () => {
return <div>마이 페이지</div>;
return (
<Wrapper>
<Grid
h="100%"
w="100%"
templateColumns="repeat(2, 1fr)"
gap={20}
p={10}
background="gray.50"
borderRadius="lg"
>
<GridItem backgroundColor={'yellow'}>
<h2>User Information</h2>
{/* user information */}
</GridItem>
<GridItem backgroundColor={'blue'}>
<h2>User History</h2>
{/* user history */}
</GridItem>
</Grid>
</Wrapper>
);
};

export const Wrapper = styled.div`
width: 100%;
height: 1000px;
`;

0 comments on commit 1b8fae1

Please sign in to comment.