-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show AdditionalInformationSection on HistoryPage
- Loading branch information
1 parent
282df1c
commit d669670
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
sogang-icpc-team.github.io-react/src/app/history-page/additional-information-section.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import styled from "styled-components"; | ||
|
||
import { AwardBadge } from "@ui/award-badge/award-badge"; | ||
|
||
const Bold = styled.span` | ||
font-weight: bold; | ||
`; | ||
const _AdditionalInformationSection = ({ | ||
className, | ||
}: { | ||
className?: string; | ||
}) => { | ||
return ( | ||
<div className={className}> | ||
<Bold>#</Bold> = 순위, <Bold>=</Bold> = 푼 문제 수 / 점수 | ||
<br /> | ||
<AwardBadge variant="winner" /> = 우승, | ||
<AwardBadge variant="gold" /> = 금상, | ||
<AwardBadge variant="silver" /> = 은상, | ||
<AwardBadge variant="bronze" /> = 동상 | ||
<br /> | ||
<AwardBadge variant="special" /> = 기타 수상 | ||
<br /> | ||
<AwardBadge variant="advanced" /> = 다음 라운드 진출 | ||
<br /> | ||
HM = Honorable Mention | ||
</div> | ||
); | ||
}; | ||
|
||
export const AdditionalInformationSection = styled( | ||
_AdditionalInformationSection, | ||
)` | ||
line-height: 1.4rem; | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters