Skip to content

Commit

Permalink
Merge pull request #238 from ppochaco/feat/233-profile-ui
Browse files Browse the repository at this point in the history
Week11/issue#233 다른 사람의 프로필 UI 수정
  • Loading branch information
ppochaco authored Nov 13, 2024
2 parents 2773a19 + 89796e3 commit eca3b5a
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/pages/MyPage/UserProfile/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ interface UserProfileProps {

export const UserProfile = ({ profile }: UserProfileProps) => {
return (
<Flex flexDirection="column" padding="0 30px">
<Flex flexDirection="column">
<Box
height="144px"
backgroundImage={`url('${profile.backgroundImageUrl}')`}
Expand All @@ -22,12 +22,18 @@ export const UserProfile = ({ profile }: UserProfileProps) => {
size="lg"
position="absolute"
bottom="-30px"
left="30px"
/>
</Box>
<Text fontSize="xl" fontWeight="400">
<Text fontSize="xl" fontWeight="400" padding="0 30px">
{profile.name}
</Text>
<Flex justifyContent="space-between" alignItems="end" gap={4}>
<Flex
justifyContent="space-between"
alignItems="end"
gap={4}
padding="0 30px"
>
<Text color="text_secondary" fontSize="md">
{profile.description}
</Text>
Expand Down

0 comments on commit eca3b5a

Please sign in to comment.