Skip to content

Commit

Permalink
fix: change webcam position type
Browse files Browse the repository at this point in the history
  • Loading branch information
Najeong-Kim committed Dec 1, 2024
1 parent e7435cb commit 752b742
Show file tree
Hide file tree
Showing 13 changed files with 86 additions and 325 deletions.
5 changes: 1 addition & 4 deletions src/entities/slope/model/model.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ export type WebcamConstant = {
id: number;
key?: string;
scale: number;
position: {
top: string;
left: string;
};
position: [number, number];
};

export type SlopeConstant = {
Expand Down
15 changes: 3 additions & 12 deletions src/entities/slope/model/resorts/eden.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,28 +46,19 @@ export const EDEN: ResortConstant = {
{
id: 1,
key: '베이직 슬로프',
position: {
top: 'top-[52%]',
left: 'left-[35%]',
},
position: [52, 35],
scale: 1,
},
{
id: 2,
key: '쥬피터 슬로프',
position: {
top: 'top-[16%]',
left: 'left-[50%]',
},
position: [16, 50],
scale: 1,
},
{
id: 3,
key: '우라누스 슬로프',
position: {
top: 'top-[32%]',
left: 'left-[77%]',
},
position: [32, 77],
scale: 1,
},
],
Expand Down
15 changes: 3 additions & 12 deletions src/entities/slope/model/resorts/elysian-gangchon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,28 +61,19 @@ export const ELYSIAN_GANGCHON: ResortConstant = {
{
id: 1,
key: '알프하우스',
position: {
top: 'top-[7%]',
left: 'left-[27%]',
},
position: [7, 27],
scale: 1,
},
{
id: 2,
key: '서브하우스',
position: {
top: 'top-[86%]',
left: 'left-[19%]',
},
position: [86, 19],
scale: 1,
},
{
id: 3,
key: '스키하우스',
position: {
top: 'top-[83%]',
left: 'left-[80%]',
},
position: [83, 80],
scale: 1,
},
],
Expand Down
25 changes: 5 additions & 20 deletions src/entities/slope/model/resorts/gonjiam.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,47 +61,32 @@ export const GONJIAM: ResortConstant = {
{
id: 1,
key: '정상 휴게소',
position: {
top: 'top-[7%]',
left: 'left-[20%]',
},
position: [7, 20],
scale: 1,
},
{
id: 2,
key: '정상부 슬로프',
position: {
top: 'top-[34%]',
left: 'left-[21%]',
},
position: [34, 21],
scale: 1,
},

{
id: 3,
key: '중간 슬로프',
position: {
top: 'top-[60%]',
left: 'left-[43%]',
},
position: [60, 43],
scale: 1,
},
{
id: 4,
key: '초중급 베이스',
position: {
top: 'top-[82%]',
left: 'left-[51%]',
},
position: [82, 51],
scale: 1,
},
{
id: 5,
key: '중상급 베이스',
position: {
top: 'top-[85%]',
left: 'left-[43%]',
},
position: [85, 43],
scale: 1,
},
],
Expand Down
90 changes: 18 additions & 72 deletions src/entities/slope/model/resorts/high1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,163 +91,109 @@ export const HIGH1: ResortConstant = {
{
id: 1,
key: '제우스2번 슬로프 입구',
position: {
top: 'top-[6%]',
left: 'left-[45%]',
},
position: [6, 45],
scale: 2,
},
{
id: 2,
key: '헤라2번 슬로프 입구',
position: {
top: 'top-[10%]',
left: 'left-[50%]',
},
position: [10, 50],
scale: 2,
},
{
id: 3,
key: '하이원 탑',
position: {
top: 'top-[6%]',
left: 'left-[54%]',
},
position: [6, 54],
scale: 2,
},
{
id: 4,
key: '아테나1번 슬로프',
position: {
top: 'top-[30%]',
left: 'left-[65%]',
},
position: [30, 65],
scale: 2,
},
{
id: 5,
key: '마운틴 허브 베이스',
position: {
top: 'top-[35%]',
left: 'left-[61%]',
},
position: [35, 61],
scale: 2,
},
{
id: 6,
key: '아테나2번 슬로프',
position: {
top: 'top-[40%]',
left: 'left-[66%]',
},
position: [40, 66],
scale: 2,
},
{
id: 7,
key: '마운틴 베이스',
position: {
top: 'top-[68%]',
left: 'left-[78%]',
},
position: [68, 78],
scale: 2,
},
{
id: 8,
key: '아테나2번 슬로프 하단',
position: {
top: 'top-[76%]',
left: 'left-[73%]',
},
position: [76, 73],
scale: 2,
},
{
id: 9,
key: '빅토리아 상단',
position: {
top: 'top-[17%]',
left: 'left-[17%]',
},
position: [17, 17],
scale: 2,
},
{
id: 10,
key: '제우스 2번',
position: {
top: 'top-[34%]',
left: 'left-[38%]',
},
position: [34, 38],
scale: 2,
},
{
id: 11,
key: '밸리 허브 베이스',
position: {
top: 'top-[40%]',
left: 'left-[40%]',
},
position: [40, 40],
scale: 2,
},
{
id: 12,
key: '빅토리아1번 슬로프',
position: {
top: 'top-[48%]',
left: 'left-[43%]',
},
position: [48, 43],
scale: 2,
},
{
id: 13,
key: '제우스3번 슬로프',
position: {
top: 'top-[50%]',
left: 'left-[36%]',
},
position: [50, 36],
scale: 2,
},
{
id: 14,
key: '제우스3번 중단부',
position: {
top: 'top-[58%]',
left: 'left-[40%]',
},
position: [58, 40],
scale: 2,
},
{
id: 15,
key: '아폴로4번 중단부',
position: {
top: 'top-[58%]',
left: 'left-[52%]',
},
position: [58, 52],
scale: 2,
},
{
id: 16,
key: '아폴로 베이스',
position: {
top: 'top-[71%]',
left: 'left-[44%]',
},
position: [71, 44],
scale: 2,
},
{
id: 17,
key: '제우스3번 하단',
position: {
top: 'top-[86%]',
left: 'left-[46%]',
},
position: [86, 46],
scale: 2,
},
{
id: 18,
key: '밸리 베이스',
position: {
top: 'top-[86%]',
left: 'left-[39%]',
},
position: [86, 39],
scale: 2,
},
],
Expand Down
35 changes: 7 additions & 28 deletions src/entities/slope/model/resorts/jisan.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,64 +51,43 @@ export const JISAN: ResortConstant = {
{
id: 1,
key: '레몬 탑승장',
position: {
top: 'top-[84%]',
left: 'left-[20%]',
},
position: [84, 20],
scale: 1,
},
{
id: 2,
key: '오렌지 탑승장',
position: {
top: 'top-[74%]',
left: 'left-[31%]',
},
position: [74, 31],
scale: 1,
},
{
id: 3,
key: '뉴오렌지 탑승장',
position: {
top: 'top-[64%]',
left: 'left-[38%]',
},
position: [64, 38],
scale: 1,
},
{
id: 4,
key: '블루 탑승장',
position: {
top: 'top-[69%]',
left: 'left-[56%]',
},
position: [69, 56],
scale: 1,
},
{
id: 5,
key: '5번 슬로프',
position: {
top: 'top-[47%]',
left: 'left-[37%]',
},
position: [47, 37],
scale: 1,
},
{
id: 6,
key: '실버 탑승장',
position: {
top: 'top-[72%]',
left: 'left-[68%]',
},
position: [72, 68],
scale: 1,
},
{
id: 7,
key: '지산 전경',
position: {
top: 'top-[38%]',
left: 'left-[52%]',
},
position: [38, 52],
scale: 1,
},
],
Expand Down
Loading

0 comments on commit 752b742

Please sign in to comment.