Skip to content

Commit

Permalink
Merge pull request #328 from Team-INSERT/hotfix/#327
Browse files Browse the repository at this point in the history
게임 결과 퍼블리싱 이슈
  • Loading branch information
winternuary authored Nov 28, 2024
2 parents 2f1f120 + 761402f commit 3dec714
Showing 1 changed file with 31 additions and 26 deletions.
57 changes: 31 additions & 26 deletions src/pages/result/ui/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,33 +103,38 @@ export const Result = () => {
</S.RankTable>
</S.RankingBox>
<S.Podium>
<S.FirstPlaceCharacter>
<S.CrownPosition>
<Crown />
</S.CrownPosition>
<S.Flash src={flash} />
<Character
characterColor={
itemRoomResult[0]?.color.toLowerCase() || "defaultColor"
}
/>
</S.FirstPlaceCharacter>

<S.SecondPlaceCharacter>
<Character
characterColor={
itemRoomResult[1]?.color.toLowerCase() || "defaultColor"
}
/>
</S.SecondPlaceCharacter>
{itemRoomResult.length >= 1 && (
<S.FirstPlaceCharacter>
<S.CrownPosition>
<Crown />
</S.CrownPosition>
<S.Flash src={flash} />
<Character
characterColor={
itemRoomResult[0]?.color.toLowerCase() || "defaultColor"
}
/>
</S.FirstPlaceCharacter>
)}
{itemRoomResult.length >= 2 && (
<S.SecondPlaceCharacter>
<Character
characterColor={
itemRoomResult[1]?.color.toLowerCase() || "defaultColor"
}
/>
</S.SecondPlaceCharacter>
)}

<S.ThirdPlaceCharacter>
<Character
characterColor={
itemRoomResult[2]?.color.toLowerCase() || "defaultColor"
}
/>
</S.ThirdPlaceCharacter>
{itemRoomResult.length >= 3 && (
<S.ThirdPlaceCharacter>
<Character
characterColor={
itemRoomResult[2]?.color.toLowerCase() || "defaultColor"
}
/>
</S.ThirdPlaceCharacter>
)}

<S.PodiumImg src={Podium} alt="Podium 이미지" />

Expand Down

0 comments on commit 3dec714

Please sign in to comment.