Skip to content

Commit

Permalink
Merge pull request #96 from Beside-Potenday/kiyeong
Browse files Browse the repository at this point in the history
feat: Mypage padding 추가
  • Loading branch information
gogumalatte authored Aug 8, 2024
2 parents c0aac05 + 2335327 commit 65fe09e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/pages/MyPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const MyPage = () => {
return (
<Wrapper>
<LogoWrapper>
<Grid h="100%" templateColumns="1fr 3fr" gap={20}>
<Grid h="100%" templateColumns="1fr 3fr" gap={10}>
<GridItem bg="white" p={4} borderRadius="md" boxShadow="md" alignSelf="flex-start">
<HStack spacing={4}>
<Avatar size="md" name={authInfo?.name} src={authInfo?.picture} />
Expand All @@ -50,10 +50,9 @@ export const MyPage = () => {
</VStack>
</HStack>
</GridItem>
<GridItem bg="white" p={6} borderRadius="md" boxShadow="md">
<GridItem bg="transparent" p={6}>
<VStack align="start" spacing={6} w="100%">
<Heading size="md">메일 내역</Heading>
<HStack w="100%" justify="center" borderBottom="1px solid #e2e8f0">
<HStack w="100%" justify="center" borderBottom="1px solid #ffffff">
<TabButton active={isJob === 'univ'} onClick={() => setIsJob('univ')}>
대학생
</TabButton>
Expand Down Expand Up @@ -104,7 +103,8 @@ const Wrapper = styled.div`
display: flex;
align-items: center;
justify-content: center;
background-color: #E5F3FF;
background-color: #e5f3ff;
padding: 80px 0;
`;

const LogoWrapper = styled.div`
Expand All @@ -119,8 +119,8 @@ const TabButton = styled(Button)<{ active: boolean }>`
border: none;
padding: 16px;
font-size: 16px;
font-weight: ${props => (props.active ? 'bold' : 'normal')};
border-bottom: 2px solid ${props => (props.active ? '#4299e1' : 'transparent')};
font-weight: ${(props) => (props.active ? 'bold' : 'normal')};
border-bottom: 2px solid ${(props) => (props.active ? '#4299e1' : 'transparent')};
cursor: pointer;
&:hover {
border-bottom: 2px solid #4299e1;
Expand Down

0 comments on commit 65fe09e

Please sign in to comment.