diff --git a/src/entities/slop/model/model.d.ts b/src/entities/slop/model/model.d.ts index 2fe417a..c3838cb 100644 --- a/src/entities/slop/model/model.d.ts +++ b/src/entities/slop/model/model.d.ts @@ -4,7 +4,8 @@ export type Level = | 'INTERMEDIATE' | 'UPPER_INTERMEDIATE' | 'ADVANCED' - | 'EXPERT'; + | 'EXPERT' + | 'PARK'; export type ResortInfo = { MapComponent: ComponentType; diff --git a/src/entities/slop/ui/level-chip.tsx b/src/entities/slop/ui/level-chip.tsx index 1c05654..e04f70b 100644 --- a/src/entities/slop/ui/level-chip.tsx +++ b/src/entities/slop/ui/level-chip.tsx @@ -27,6 +27,10 @@ const LEVEL: Record = { text: '최상급', color: 'bg-gray-70', }, + PARK: { + text: '파크', + color: 'bg-sub-2', + }, }; interface LevelChipProps { diff --git a/src/entities/slope/model/model.d.ts b/src/entities/slope/model/model.d.ts index 80e89a1..6eeb944 100644 --- a/src/entities/slope/model/model.d.ts +++ b/src/entities/slope/model/model.d.ts @@ -4,7 +4,8 @@ export type Level = | '중급' | '중상급' | '상급' - | '최상급'; + | '최상급' + | '파크'; export type Slope = { name: string, diff --git a/src/entities/slope/ui/level-chip.tsx b/src/entities/slope/ui/level-chip.tsx index fddc8a4..9000aa1 100644 --- a/src/entities/slope/ui/level-chip.tsx +++ b/src/entities/slope/ui/level-chip.tsx @@ -27,6 +27,10 @@ const LEVEL: Record = { text: '최상급', color: 'bg-gray-70', }, + 파크: { + text: '파크', + color: 'bg-sub-2', + }, }; interface LevelChipProps { diff --git a/src/views/slop-status/ui/slop-status-page.tsx b/src/views/slop-status/ui/slop-status-page.tsx index 8fd9d69..1d07fb3 100644 --- a/src/views/slop-status/ui/slop-status-page.tsx +++ b/src/views/slop-status/ui/slop-status-page.tsx @@ -19,7 +19,7 @@ const SlopStatusPage = ({ }) => { const { ref, style, containerRef } = useMapPinch(); - const { data: slopeData } = useQuery(slopeApi.slopeQueries.slope(resortId ?? 1)); + const { data: slopeData } = useQuery(slopeApi.slopeQueries.slope(resortId ?? 0)); const { data } = useQuery(slopQueries.list(params?.key ?? 'jisan'));