Skip to content

Commit

Permalink
fix: 직군/직업 정보가 있는 경우만 뱃지 노출되도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
gxxrxn committed Jul 17, 2024
1 parent 5621891 commit e7bf74b
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions src/components/profile/info/ProfileInfoPresenter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,27 @@ const ProfileInfoPresenter = ({
}: ProfileInfoProps) => {
return (
<div className="mb-[2rem] flex flex-col gap-[2rem]">
<div className="flex gap-[0.8rem]">
<Badge
colorScheme="main"
isFilled={false}
size="large"
fontWeight="bold"
>
{jobGroupKoreanName}
</Badge>
<Badge
colorScheme="main"
isFilled={false}
size="large"
fontWeight="bold"
>
{jobNameKoreanName}
</Badge>
</div>
{jobGroupKoreanName && jobNameKoreanName && (
<div className="flex gap-[0.8rem]">
<Badge
colorScheme="main"
isFilled={false}
size="large"
fontWeight="bold"
>
{jobGroupKoreanName}
</Badge>
<Badge
colorScheme="main"
isFilled={false}
size="large"
fontWeight="bold"
>
{jobNameKoreanName}
</Badge>
</div>
)}

<div className="flex items-center gap-[1rem]">
<Avatar src={profileImage} size="large" />
<h2 className="font-subheading-regular">
Expand Down

0 comments on commit e7bf74b

Please sign in to comment.