From e7435cb2f55147cd428d8ff0dd386e2822bfeff9 Mon Sep 17 00:00:00 2001 From: bananajeong <73640737+Najeong-Kim@users.noreply.github.com> Date: Sun, 1 Dec 2024 11:24:24 +0900 Subject: [PATCH] fix: add key of webcams --- src/entities/slope/model/model.d.ts | 1 + src/entities/slope/model/resorts/eden.tsx | 3 + .../slope/model/resorts/elysian-gangchon.tsx | 11 ++-- src/entities/slope/model/resorts/gonjiam.tsx | 24 ++++--- src/entities/slope/model/resorts/high1.tsx | 18 +++++ src/entities/slope/model/resorts/jisan.tsx | 7 ++ src/entities/slope/model/resorts/muju.tsx | 8 +++ src/entities/slope/model/resorts/o2.tsx | 4 ++ src/entities/slope/model/resorts/phoenix.tsx | 31 +++++---- .../slope/model/resorts/vivaldipark.tsx | 65 ++++++++++-------- .../slope/model/resorts/wellihilli.tsx | 9 ++- .../slope/model/resorts/yongpyong.tsx | 66 +++++++++++-------- 12 files changed, 165 insertions(+), 82 deletions(-) diff --git a/src/entities/slope/model/model.d.ts b/src/entities/slope/model/model.d.ts index 7d891d9..ffe3cc7 100644 --- a/src/entities/slope/model/model.d.ts +++ b/src/entities/slope/model/model.d.ts @@ -37,6 +37,7 @@ export type ResortConstant = { export type WebcamConstant = { id: number; + key?: string; scale: number; position: { top: string; diff --git a/src/entities/slope/model/resorts/eden.tsx b/src/entities/slope/model/resorts/eden.tsx index 4df3405..5472260 100644 --- a/src/entities/slope/model/resorts/eden.tsx +++ b/src/entities/slope/model/resorts/eden.tsx @@ -45,6 +45,7 @@ export const EDEN: ResortConstant = { webcams: [ { id: 1, + key: '베이직 슬로프', position: { top: 'top-[52%]', left: 'left-[35%]', @@ -53,6 +54,7 @@ export const EDEN: ResortConstant = { }, { id: 2, + key: '쥬피터 슬로프', position: { top: 'top-[16%]', left: 'left-[50%]', @@ -61,6 +63,7 @@ export const EDEN: ResortConstant = { }, { id: 3, + key: '우라누스 슬로프', position: { top: 'top-[32%]', left: 'left-[77%]', diff --git a/src/entities/slope/model/resorts/elysian-gangchon.tsx b/src/entities/slope/model/resorts/elysian-gangchon.tsx index 552d3c4..f77e536 100644 --- a/src/entities/slope/model/resorts/elysian-gangchon.tsx +++ b/src/entities/slope/model/resorts/elysian-gangchon.tsx @@ -60,22 +60,25 @@ export const ELYSIAN_GANGCHON: ResortConstant = { webcams: [ { id: 1, + key: '알프하우스', position: { - top: 'top-[86%]', - left: 'left-[19%]', + top: 'top-[7%]', + left: 'left-[27%]', }, scale: 1, }, { id: 2, + key: '서브하우스', position: { - top: 'top-[7%]', - left: 'left-[27%]', + top: 'top-[86%]', + left: 'left-[19%]', }, scale: 1, }, { id: 3, + key: '스키하우스', position: { top: 'top-[83%]', left: 'left-[80%]', diff --git a/src/entities/slope/model/resorts/gonjiam.tsx b/src/entities/slope/model/resorts/gonjiam.tsx index 062d789..28bc8a9 100644 --- a/src/entities/slope/model/resorts/gonjiam.tsx +++ b/src/entities/slope/model/resorts/gonjiam.tsx @@ -60,40 +60,46 @@ export const GONJIAM: ResortConstant = { webcams: [ { id: 1, + key: '정상 휴게소', position: { - top: 'top-[82%]', - left: 'left-[51%]', + top: 'top-[7%]', + left: 'left-[20%]', }, scale: 1, }, { id: 2, + key: '정상부 슬로프', position: { - top: 'top-[85%]', - left: 'left-[43%]', + top: 'top-[34%]', + left: 'left-[21%]', }, scale: 1, }, + { id: 3, + key: '중간 슬로프', position: { - top: 'top-[34%]', - left: 'left-[21%]', + top: 'top-[60%]', + left: 'left-[43%]', }, scale: 1, }, { id: 4, + key: '초중급 베이스', position: { - top: 'top-[7%]', - left: 'left-[20%]', + top: 'top-[82%]', + left: 'left-[51%]', }, scale: 1, }, { id: 5, + key: '중상급 베이스', position: { - top: 'top-[60%]', + top: 'top-[85%]', left: 'left-[43%]', }, scale: 1, diff --git a/src/entities/slope/model/resorts/high1.tsx b/src/entities/slope/model/resorts/high1.tsx index a4125cc..86b7e33 100644 --- a/src/entities/slope/model/resorts/high1.tsx +++ b/src/entities/slope/model/resorts/high1.tsx @@ -90,6 +90,7 @@ export const HIGH1: ResortConstant = { webcams: [ { id: 1, + key: '제우스2번 슬로프 입구', position: { top: 'top-[6%]', left: 'left-[45%]', @@ -98,6 +99,7 @@ export const HIGH1: ResortConstant = { }, { id: 2, + key: '헤라2번 슬로프 입구', position: { top: 'top-[10%]', left: 'left-[50%]', @@ -106,6 +108,7 @@ export const HIGH1: ResortConstant = { }, { id: 3, + key: '하이원 탑', position: { top: 'top-[6%]', left: 'left-[54%]', @@ -114,6 +117,7 @@ export const HIGH1: ResortConstant = { }, { id: 4, + key: '아테나1번 슬로프', position: { top: 'top-[30%]', left: 'left-[65%]', @@ -122,6 +126,7 @@ export const HIGH1: ResortConstant = { }, { id: 5, + key: '마운틴 허브 베이스', position: { top: 'top-[35%]', left: 'left-[61%]', @@ -130,6 +135,7 @@ export const HIGH1: ResortConstant = { }, { id: 6, + key: '아테나2번 슬로프', position: { top: 'top-[40%]', left: 'left-[66%]', @@ -138,6 +144,7 @@ export const HIGH1: ResortConstant = { }, { id: 7, + key: '마운틴 베이스', position: { top: 'top-[68%]', left: 'left-[78%]', @@ -146,6 +153,7 @@ export const HIGH1: ResortConstant = { }, { id: 8, + key: '아테나2번 슬로프 하단', position: { top: 'top-[76%]', left: 'left-[73%]', @@ -154,6 +162,7 @@ export const HIGH1: ResortConstant = { }, { id: 9, + key: '빅토리아 상단', position: { top: 'top-[17%]', left: 'left-[17%]', @@ -162,6 +171,7 @@ export const HIGH1: ResortConstant = { }, { id: 10, + key: '제우스 2번', position: { top: 'top-[34%]', left: 'left-[38%]', @@ -170,6 +180,7 @@ export const HIGH1: ResortConstant = { }, { id: 11, + key: '밸리 허브 베이스', position: { top: 'top-[40%]', left: 'left-[40%]', @@ -178,6 +189,7 @@ export const HIGH1: ResortConstant = { }, { id: 12, + key: '빅토리아1번 슬로프', position: { top: 'top-[48%]', left: 'left-[43%]', @@ -186,6 +198,7 @@ export const HIGH1: ResortConstant = { }, { id: 13, + key: '제우스3번 슬로프', position: { top: 'top-[50%]', left: 'left-[36%]', @@ -194,6 +207,7 @@ export const HIGH1: ResortConstant = { }, { id: 14, + key: '제우스3번 중단부', position: { top: 'top-[58%]', left: 'left-[40%]', @@ -202,6 +216,7 @@ export const HIGH1: ResortConstant = { }, { id: 15, + key: '아폴로4번 중단부', position: { top: 'top-[58%]', left: 'left-[52%]', @@ -210,6 +225,7 @@ export const HIGH1: ResortConstant = { }, { id: 16, + key: '아폴로 베이스', position: { top: 'top-[71%]', left: 'left-[44%]', @@ -218,6 +234,7 @@ export const HIGH1: ResortConstant = { }, { id: 17, + key: '제우스3번 하단', position: { top: 'top-[86%]', left: 'left-[46%]', @@ -226,6 +243,7 @@ export const HIGH1: ResortConstant = { }, { id: 18, + key: '밸리 베이스', position: { top: 'top-[86%]', left: 'left-[39%]', diff --git a/src/entities/slope/model/resorts/jisan.tsx b/src/entities/slope/model/resorts/jisan.tsx index b1f7a68..10618e1 100644 --- a/src/entities/slope/model/resorts/jisan.tsx +++ b/src/entities/slope/model/resorts/jisan.tsx @@ -50,6 +50,7 @@ export const JISAN: ResortConstant = { webcams: [ { id: 1, + key: '레몬 탑승장', position: { top: 'top-[84%]', left: 'left-[20%]', @@ -58,6 +59,7 @@ export const JISAN: ResortConstant = { }, { id: 2, + key: '오렌지 탑승장', position: { top: 'top-[74%]', left: 'left-[31%]', @@ -66,6 +68,7 @@ export const JISAN: ResortConstant = { }, { id: 3, + key: '뉴오렌지 탑승장', position: { top: 'top-[64%]', left: 'left-[38%]', @@ -74,6 +77,7 @@ export const JISAN: ResortConstant = { }, { id: 4, + key: '블루 탑승장', position: { top: 'top-[69%]', left: 'left-[56%]', @@ -82,6 +86,7 @@ export const JISAN: ResortConstant = { }, { id: 5, + key: '5번 슬로프', position: { top: 'top-[47%]', left: 'left-[37%]', @@ -90,6 +95,7 @@ export const JISAN: ResortConstant = { }, { id: 6, + key: '실버 탑승장', position: { top: 'top-[72%]', left: 'left-[68%]', @@ -98,6 +104,7 @@ export const JISAN: ResortConstant = { }, { id: 7, + key: '지산 전경', position: { top: 'top-[38%]', left: 'left-[52%]', diff --git a/src/entities/slope/model/resorts/muju.tsx b/src/entities/slope/model/resorts/muju.tsx index 4b30749..ef89263 100644 --- a/src/entities/slope/model/resorts/muju.tsx +++ b/src/entities/slope/model/resorts/muju.tsx @@ -145,6 +145,7 @@ export const MUJU: ResortConstant = { webcams: [ { id: 1, + key: '설천상단 슬로프', position: { top: 'top-[16%]', left: 'left-[23%]', @@ -153,6 +154,7 @@ export const MUJU: ResortConstant = { }, { id: 2, + key: '설천봉 정상', position: { top: 'top-[12%]', left: 'left-[37%]', @@ -161,6 +163,7 @@ export const MUJU: ResortConstant = { }, { id: 3, + key: '모차르트, 미뉴에트', position: { top: 'top-[30%]', left: 'left-[27%]', @@ -169,6 +172,7 @@ export const MUJU: ResortConstant = { }, { id: 4, + key: '만선봉 정상', position: { top: 'top-[32%]', left: 'left-[51%]', @@ -177,6 +181,7 @@ export const MUJU: ResortConstant = { }, { id: 5, + key: '하이디 하우스', position: { top: 'top-[45%]', left: 'left-[70%]', @@ -185,6 +190,7 @@ export const MUJU: ResortConstant = { }, { id: 6, + key: '서역기행, 썬다운', position: { top: 'top-[65%]', left: 'left-[68%]', @@ -193,6 +199,7 @@ export const MUJU: ResortConstant = { }, { id: 7, + key: '만선 하우스', position: { top: 'top-[78%]', left: 'left-[47%]', @@ -201,6 +208,7 @@ export const MUJU: ResortConstant = { }, { id: 8, + key: '설천 하우스', position: { top: 'top-[74%]', left: 'left-[28%]', diff --git a/src/entities/slope/model/resorts/o2.tsx b/src/entities/slope/model/resorts/o2.tsx index 8c505d4..efe4ed5 100644 --- a/src/entities/slope/model/resorts/o2.tsx +++ b/src/entities/slope/model/resorts/o2.tsx @@ -75,6 +75,7 @@ export const O2: ResortConstant = { webcams: [ { id: 1, + key: '으뜸마루', position: { top: 'top-[5%]', left: 'left-[75%]', @@ -83,6 +84,7 @@ export const O2: ResortConstant = { }, { id: 2, + key: '버금마루', position: { top: 'top-[23%]', left: 'left-[46%]', @@ -91,6 +93,7 @@ export const O2: ResortConstant = { }, { id: 3, + key: '드림1', position: { top: 'top-[80%]', left: 'left-[48%]', @@ -99,6 +102,7 @@ export const O2: ResortConstant = { }, { id: 4, + key: '오투 스키하우스', position: { top: 'top-[76%]', left: 'left-[14%]', diff --git a/src/entities/slope/model/resorts/phoenix.tsx b/src/entities/slope/model/resorts/phoenix.tsx index 6a54731..6b1e7ea 100644 --- a/src/entities/slope/model/resorts/phoenix.tsx +++ b/src/entities/slope/model/resorts/phoenix.tsx @@ -85,54 +85,61 @@ export const PHOENIX: ResortConstant = { webcams: [ { id: 1, + key: '스패로우', position: { - top: 'top-[83%]', - left: 'left-[79%]', + top: 'top-[45%]', + left: 'left-[87%]', }, scale: 1, }, { id: 2, + key: '파노라마', position: { - top: 'top-[31%]', - left: 'left-[9%]', + top: 'top-[15%]', + left: 'left-[88%]', }, scale: 1, }, { id: 3, + key: '불새마루존', position: { - top: 'top-[79%]', - left: 'left-[43%]', + top: 'top-[31%]', + left: 'left-[9%]', }, scale: 1, }, { id: 4, + key: '스키베이스', position: { - top: 'top-[15%]', - left: 'left-[88%]', + top: 'top-[83%]', + left: 'left-[79%]', }, scale: 1, }, { id: 5, + key: '펭귄 슬로프', position: { - top: 'top-[7%]', - left: 'left-[53%]', + top: 'top-[79%]', + left: 'left-[43%]', }, scale: 1, }, { id: 6, + key: '몽블랑 정상', position: { - top: 'top-[45%]', - left: 'left-[87%]', + top: 'top-[7%]', + left: 'left-[53%]', }, scale: 1, }, { id: 7, + key: '챔피온', position: { top: 'top-[26%]', left: 'left-[66%]', diff --git a/src/entities/slope/model/resorts/vivaldipark.tsx b/src/entities/slope/model/resorts/vivaldipark.tsx index 8d79f5f..713e625 100644 --- a/src/entities/slope/model/resorts/vivaldipark.tsx +++ b/src/entities/slope/model/resorts/vivaldipark.tsx @@ -55,81 +55,92 @@ export const VIVALDIPARK: ResortConstant = { webcams: [ { id: 1, + key: '재즈', position: { - top: 'top-[14%]', - left: 'left-[37%]', + top: 'top-[62%]', + left: 'left-[21%]', }, scale: 1, }, { id: 2, + key: '발라드', position: { - top: 'top-[24%]', - left: 'left-[48%]', + top: 'top-[56%]', + left: 'left-[41%]', }, scale: 1, }, { - id: 3, + id: 4, + key: '블루스', position: { - top: 'top-[30%]', - left: 'left-[30%]', + top: 'top-[62%]', + left: 'left-[77%]', }, scale: 1, }, { - id: 4, + id: 5, + key: '테크노하단', position: { - top: 'top-[34%]', - left: 'left-[55%]', + top: 'top-[64%]', + left: 'left-[51%]', }, scale: 1, }, { - id: 5, + id: 6, + key: '힙합', position: { - top: 'top-[44%]', - left: 'left-[46%]', + top: 'top-[34%]', + left: 'left-[55%]', }, scale: 1, }, { - id: 6, + id: 8, + key: '슬로프 전경', position: { - top: 'top-[56%]', - left: 'left-[41%]', + top: 'top-[76%]', + left: 'left-[45%]', }, scale: 1, }, { - id: 7, + id: 9, + key: '스키월드 정상', position: { - top: 'top-[64%]', - left: 'left-[51%]', + top: 'top-[14%]', + left: 'left-[37%]', }, scale: 1, }, { - id: 8, + id: 3, + key: '클래식', position: { - top: 'top-[62%]', - left: 'left-[21%]', + top: 'top-[30%]', + left: 'left-[30%]', }, scale: 1, }, + { - id: 9, + id: 7, + key: '펑키', position: { - top: 'top-[62%]', - left: 'left-[77%]', + top: 'top-[44%]', + left: 'left-[46%]', }, scale: 1, }, { id: 10, + key: '테크노 상단', position: { - top: 'top-[76%]', - left: 'left-[45%]', + top: 'top-[24%]', + left: 'left-[48%]', }, scale: 1, }, diff --git a/src/entities/slope/model/resorts/wellihilli.tsx b/src/entities/slope/model/resorts/wellihilli.tsx index 9bc3db5..815e0c3 100644 --- a/src/entities/slope/model/resorts/wellihilli.tsx +++ b/src/entities/slope/model/resorts/wellihilli.tsx @@ -109,7 +109,8 @@ export const WELLIHILLI: ResortConstant = { ], webcams: [ { - id: 1, + id: 5, + key: '정상광장', position: { top: 'top-[4%]', left: 'left-[56%]', @@ -118,6 +119,7 @@ export const WELLIHILLI: ResortConstant = { }, { id: 2, + key: '하프파이프', position: { top: 'top-[81%]', left: 'left-[31%]', @@ -125,7 +127,8 @@ export const WELLIHILLI: ResortConstant = { scale: 1, }, { - id: 3, + id: 6, + key: '패밀리슬로프', position: { top: 'top-[85%]', left: 'left-[39%]', @@ -134,6 +137,7 @@ export const WELLIHILLI: ResortConstant = { }, { id: 4, + key: '야외광장', position: { top: 'top-[73%]', left: 'left-[19%]', @@ -142,6 +146,7 @@ export const WELLIHILLI: ResortConstant = { }, { id: 5, + key: 'A1/A3 슬로프', position: { top: 'top-[62%]', left: 'left-[8%]', diff --git a/src/entities/slope/model/resorts/yongpyong.tsx b/src/entities/slope/model/resorts/yongpyong.tsx index ca25321..ac277bf 100644 --- a/src/entities/slope/model/resorts/yongpyong.tsx +++ b/src/entities/slope/model/resorts/yongpyong.tsx @@ -114,47 +114,53 @@ export const YONGPYONG: ResortConstant = { ], webcams: [ { - id: 1, + id: 3, + key: '옐로우 슬로프', position: { - top: 'top-[2%]', - left: 'left-[61%]', + top: 'top-[71%]', + left: 'left-[37%]', }, scale: 2, }, { - id: 2, + id: 4, + key: '핑크 슬로프', position: { - top: 'top-[26%]', - left: 'left-[30%]', + top: 'top-[64%]', + left: 'left-[33%]', }, scale: 2, }, { - id: 3, + id: 5, + key: '베이스 전경', position: { - top: 'top-[41%]', - left: 'left-[79%]', + top: 'top-[84%]', + left: 'left-[34%]', }, scale: 2, }, { - id: 4, + id: 6, + key: '용평 진입로', position: { - top: 'top-[56%]', - left: 'left-[17%]', + top: 'top-[86%]', + left: 'left-[26%]', }, scale: 2, }, { - id: 5, + id: 7, + key: '골드 슬로프 전경', position: { - top: 'top-[59%]', - left: 'left-[56%]', + top: 'top-[56%]', + left: 'left-[17%]', }, scale: 2, }, { - id: 6, + id: 8, + key: '레드 슬로프', position: { top: 'top-[57%]', left: 'left-[29%]', @@ -162,34 +168,38 @@ export const YONGPYONG: ResortConstant = { scale: 2, }, { - id: 7, + id: 9, + key: '레인보우 정상', position: { - top: 'top-[64%]', - left: 'left-[33%]', + top: 'top-[2%]', + left: 'left-[61%]', }, scale: 2, }, { - id: 8, + id: 10, + key: '레인보우 전경', position: { - top: 'top-[71%]', - left: 'left-[37%]', + top: 'top-[41%]', + left: 'left-[79%]', }, scale: 2, }, { - id: 9, + id: 11, + key: '메가 그린 슬로프', position: { - top: 'top-[84%]', - left: 'left-[34%]', + top: 'top-[59%]', + left: 'left-[56%]', }, scale: 2, }, { - id: 10, + id: 12, + key: '슬로프 정상', position: { - top: 'top-[86%]', - left: 'left-[26%]', + top: 'top-[26%]', + left: 'left-[30%]', }, scale: 2, },