Skip to content

Commit f95fcf2

Browse files
committed
feat: add new resorts constant
1 parent 7b512a4 commit f95fcf2

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

src/entities/resort/model/constants.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,22 @@ export const ResortData: ResortInfo[] = [
100100
homepage: 'https://www.o2resort.com/SKI/basicInfo.jsp',
101101
},
102102
},
103+
{
104+
id: 12,
105+
name: '알펜시아',
106+
map: 'alpensia',
107+
url: {
108+
bus: 'https://skibus.purplebus.co.kr/Ap/',
109+
homepage: 'https://www.alpensia.com/ski/introduction-slope.do?lang=ko',
110+
},
111+
},
112+
{
113+
id: 13,
114+
name: '오크밸리',
115+
map: 'oakvalley',
116+
url: {
117+
bus: 'https://oakvalley.co.kr/customer-service/notice/1034888',
118+
homepage: 'https://oakvalley.co.kr/ski/introduction/realtime#ski-hall',
119+
},
120+
},
103121
];

src/entities/slope/model/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
export type { Level, Slope, Webcam, SlopeResponse, ResortConstant, WebcamConstant, SlopeConstant, Position } from './model';
22

3+
import { ALPENSIA } from './resorts/alpensia';
34
import { EDEN } from './resorts/eden';
45
import { ELYSIAN_GANGCHON } from './resorts/elysian-gangchon';
56
import { GONJIAM } from './resorts/gonjiam';
67
import { HIGH1 } from './resorts/high1';
78
import { JISAN } from './resorts/jisan';
89
import { MUJU } from './resorts/muju';
910
import { O2 } from './resorts/o2';
11+
import { OAKVALLEY } from './resorts/oakvalley';
1012
import { PHOENIX } from './resorts/phoenix';
1113
import { VIVALDIPARK } from './resorts/vivaldipark';
1214
import { WELLIHILLI } from './resorts/wellihilli';
@@ -23,6 +25,8 @@ export { WELLIHILLI } from './resorts/wellihilli';
2325
export { MUJU } from './resorts/muju';
2426
export { PHOENIX } from './resorts/phoenix';
2527
export { O2 } from './resorts/o2'
28+
export { ALPENSIA } from './resorts/alpensia';
29+
export { OAKVALLEY } from './resorts/oakvalley';
2630

2731
export const RESORT_DOMAIN = {
2832
jisan: JISAN,
@@ -36,4 +40,6 @@ export const RESORT_DOMAIN = {
3640
muju: MUJU,
3741
phoenix: PHOENIX,
3842
o2: O2,
43+
alpensia: ALPENSIA,
44+
oakvalley: OAKVALLEY,
3945
};

src/entities/slope/model/resorts/alpensia.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
'use client';
22

3-
'use client';
4-
53
import MapImage from '@public/maps/alpensia.png';
64
import * as Slope from '../image/alpensia';
75
import type { ResortConstant } from '../model';

0 commit comments

Comments
 (0)