Skip to content

Commit

Permalink
fix: add extreme level tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Najeong-Kim committed Nov 29, 2024
1 parent 4aa4cc0 commit 927065f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/entities/slope/model/model.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export type Level = '초급' | '초중급' | '중급' | '중상급' | '상급' | '최상급' | '파크';
export type Level = '초급' | '초중급' | '중급' | '중상급' | '상급' | '최상급' | '파크' | '익스트림';

export type SlopeRaw = {
slopeId: number;
Expand Down
4 changes: 4 additions & 0 deletions src/entities/slope/ui/level-chip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ const LEVEL: Record<Level, { text: string; color: string }> = {
text: '파크',
color: 'bg-sub-2',
},
익스트림: {
text: '익스트림',
color: 'bg-gray-70',
},
};

interface LevelChipProps {
Expand Down

0 comments on commit 927065f

Please sign in to comment.