Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
SeungJL committed May 5, 2024
1 parent df72326 commit 575581d
Show file tree
Hide file tree
Showing 15 changed files with 207 additions and 227 deletions.
8 changes: 3 additions & 5 deletions components/services/studyVote/StudyVoteDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,14 @@ import { useQueryClient } from "react-query";
import { useRecoilValue } from "recoil";

import { STUDY_VOTE } from "../../../constants/keys/queryKeys";
import { PLACE_TO_NAME } from "../../../constants/serviceConstants/studyConstants/studyCafeNameConstants";
import { PLACE_TO_LOCATION } from "../../../constants/serviceConstants/studyConstants/studyLocationConstants";
import { useToast } from "../../../hooks/custom/CustomToast";
import { useStudyParticipationMutation } from "../../../hooks/study/mutations";
import { usePointSystemMutation } from "../../../hooks/user/mutations";
import { usePointSystemLogQuery } from "../../../hooks/user/queries";
import StudyVoteSubModalPrivate from "../../../modals/study/studyVoteSubModal/StudyVoteSubModalPrivate";
import {
myStudyState,
studyDateStatusState,
} from "../../../recoils/studyRecoils";
import { PLACE_TO_NAME } from "../../../storage/study";
import { myStudyState, studyDateStatusState } from "../../../recoils/studyRecoils";
import { IModal } from "../../../types/components/modalTypes";
import {
IStudyVote,
Expand All @@ -28,6 +25,7 @@ import { dayjsToStr } from "../../../utils/dateTimeUtils";
import BottomDrawerLg, { IBottomDrawerLgOptions } from "../../organisms/drawer/BottomDrawerLg";
import StudyVotePlacesPicker from "../StudyVotePlacesPicker";
import StudyVoteTimeRulletDrawer from "./StudyVoteTimeRulletDrawer";

dayjs.locale("ko");

interface IStudyVoteDrawer extends IModal {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,6 @@ export const STUDY_CAFE_LOGO: { [key in string]: string } = {
"https://studyabout.s3.ap-northeast-2.amazonaws.com/%EC%B9%B4%ED%8E%98+%EB%A1%9C%EA%B3%A0/%EC%8A%A4%ED%8A%B8%EB%A6%AC%ED%8A%B8+%EB%A1%9C%EA%B3%A0.png",
마르티:
"https://studyabout.s3.ap-northeast-2.amazonaws.com/%EC%B9%B4%ED%8E%98+%EB%A1%9C%EA%B3%A0/%EB%A7%88%EB%A5%B4%ED%8B%B0+%EB%A1%9C%EA%B3%A0.png",
엔제리너스:
"https://studyabout.s3.ap-northeast-2.amazonaws.com/%EC%B9%B4%ED%8E%98+%EB%A1%9C%EA%B3%A0/%EC%97%94%EC%A0%9C%EB%A6%AC%EB%84%88%EC%8A%A4+%EB%A1%9C%EA%B3%A0.jpg",
};
152 changes: 152 additions & 0 deletions constants/serviceConstants/studyConstants/studyCafeNameConstants.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
import {
ALL_스터디인증,
ANYANG_숨맑은집,
ANYANG_인뎃커피,
ANYANG_커피인더스트리,
ANYANG_파스쿠찌,
DONG_경희대,
DONG_길음역,
DONG_노원역,
DONG_동대문역,
DONG_딥십리역,
DONG_서울시립대,
DONG_석계역,
DONG_성신여대,
DONG_수유역,
DONG_신설동역,
DONG_안암역,
DONG_왕십리역,
DONG_월곡역,
DONG_장안동,
DONG_중화역,
DONG_혜화역,
DONG_혜화역2,
DONG_화랑대역,
GANGNAM_강남,
GANGNAM_강남구청,
GANGNAM_교대,
GANGNAM_논현,
GANGNAM_도곡,
GANGNAM_선릉,
GANGNAM_신논현,
GANGNAM_양재,
INC_구월동,
INC_부평,
INC_송도,
INC_송도DT,
INC_인천대,
INC_인하대,
SUWAN_경기대,
SUWAN_경희대,
SUWAN_고색역,
SUWAN_광교,
SUWAN_광교엘리웨이,
SUWAN_구운동,
SUWAN_망포역,
SUWAN_상현역,
SUWAN_성균관대역,
SUWAN_송죽,
SUWAN_수원시청,
SUWAN_수원역,
SUWAN_스타벅스,
SUWAN_아주대,
SUWAN_워터쿨러,
SUWAN_행궁동,
YANG_목동점,
YANG_몽글,
YANG_발산역,
YANG_스타벅스,
YANG_신길역,
YANG_신월동,
YANG_신풍역,
YANG_양천구청역,
YANG_위카페,
YANG_이디야,
YANG_카페꼼마,
YANG_카페베네,
YANG_파스쿠찌,
YANG_할리스,
YANG_화곡역,
} from "./studyPlaceConstants";

export const PLACE_TO_NAME = {
//전체
[ALL_스터디인증]: "스터디인증",
//수원
[SUWAN_수원시청]: "투썸플레이스",
[SUWAN_수원역]: "탐앤탐스",
[SUWAN_아주대]: "카탈로그",
[SUWAN_상현역]: "투썸플레이스",
[SUWAN_송죽]: "커피빈",
[SUWAN_경희대]: "칸나",
[SUWAN_구운동]: "이디야",
[SUWAN_스타벅스]: "스타벅스",
[SUWAN_경기대]: "탐앤탐스",

[SUWAN_고색역]: "에이티씨",
[SUWAN_성균관대역]: "스타벅스",
[SUWAN_광교엘리웨이]: "책발전소",
[SUWAN_워터쿨러]: "워터쿨러",
[SUWAN_망포역]: "스타벅스",
[SUWAN_행궁동]: "행궁동",
[SUWAN_광교]: "디어커피",
//양천
[YANG_위카페]: "위카페",
[YANG_할리스]: "할리스",
[YANG_파스쿠찌]: "파스쿠찌",
[YANG_이디야]: "이디야",
[YANG_카페베네]: "카페베네",
[YANG_스타벅스]: "스타벅스",
[YANG_몽글]: "몽글",
[YANG_카페꼼마]: "카페꼼마",

[YANG_신풍역]: "이디야",
[YANG_신길역]: "레어 그루브",
[YANG_신월동]: "코나빈스",
[YANG_양천구청역]: "시나본",
[YANG_화곡역]: "투썸플레이스",
[YANG_목동점]: "스타벅스",
[YANG_발산역]: "스타벅스",

//안양
[ANYANG_커피인더스트리]: "커피인더스트리",
[ANYANG_숨맑은집]: "숨맑은집",
[ANYANG_파스쿠찌]: "파스쿠찌",
[ANYANG_인뎃커피]: "인뎃커피",

//강남
[GANGNAM_강남]: "커피빈",
[GANGNAM_강남구청]: "파스쿠찌",
[GANGNAM_신논현]: "커피빈",
[GANGNAM_논현]: "커피빈",
[GANGNAM_교대]: "아펜즈커피",
[GANGNAM_양재]: "미오커피",
[GANGNAM_선릉]: "커피빈",
[GANGNAM_도곡]: "카페올로",

[DONG_장안동]: "투썸플레이스",
[DONG_석계역]: "카페디졸브",
[DONG_딥십리역]: "아띠커피",
[DONG_서울시립대]: "해머스미스커피",
[DONG_경희대]: "빵쌤",
[DONG_월곡역]: "카페어바웃",
[DONG_왕십리역]: "어질인",
[DONG_안암역]: "캐치카페",
[DONG_신설동역]: "커피니",
[DONG_길음역]: "일일커피",
[DONG_성신여대]: "카페 뮬",
[DONG_동대문역]: "D CAFE",
[DONG_혜화역]: "캐치카페",
[DONG_혜화역2]: "커피빈",
[DONG_화랑대역]: "마르티",
[DONG_중화역]: "스타벅스",
[DONG_수유역]: "엔제리너스",
[DONG_노원역]: "투썸플레이스",

[INC_구월동]: "파스쿠찌",
[INC_부평]: "하이테이블",
[INC_송도]: "카페꼼마",
[INC_송도DT]: "스타벅스",
[INC_인하대]: "더스토리",
[INC_인천대]: "스타벅스",
};
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
import {
DONG_화랑대역,
INC_구월동,
INC_송도,
INC_송도DT,
INC_인하대,
SUWAN_광교,
SUWAN_워터쿨러,
YANG_목동점,
YANG_발산역,
} from "../../../storage/study";
import { ActiveLocation } from "../../../types/services/locationTypes";
import {
ANYANG_범계학원가,
Expand All @@ -30,6 +19,7 @@ import {
DONG_월곡역,
DONG_장안동,
DONG_혜화역,
DONG_화랑대역,
GANGNAM_강남,
GANGNAM_강남구청,
GANGNAM_교대,
Expand All @@ -38,9 +28,14 @@ import {
GANGNAM_선릉,
GANGNAM_신논현,
GANGNAM_양재,
INC_구월동,
INC_송도,
INC_송도DT,
INC_인하대,
SUWAN_경기대,
SUWAN_경희대,
SUWAN_고색역,
SUWAN_광교,
SUWAN_광교엘리웨이,
SUWAN_구운동,
SUWAN_망포역,
Expand All @@ -50,8 +45,11 @@ import {
SUWAN_수원시청,
SUWAN_수원역,
SUWAN_아주대,
SUWAN_워터쿨러,
SUWAN_행궁동,
YANG_목동점,
YANG_몽글,
YANG_발산역,
YANG_스타벅스,
YANG_신길역,
YANG_신월동,
Expand Down
29 changes: 12 additions & 17 deletions constants/serviceConstants/studyConstants/studyLocationConstants.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
import {
DONG_중화역,
DONG_화랑대역,
INC_구월동,
INC_부평,
INC_송도,
INC_송도DT,
INC_인하대,
SUWAN_광교,
SUWAN_워터쿨러,
YANG_목동점,
YANG_발산역,
} from "../../../storage/study";
import { ActiveLocation } from "../../../types/services/locationTypes";
import {
ANYANG_숨맑은집,
Expand All @@ -29,10 +16,11 @@ import {
DONG_안암역,
DONG_왕십리역,
DONG_월곡역,
DONG_자유신청,
DONG_장안동,
DONG_중화역,
DONG_혜화역,
DONG_혜화역2,
DONG_화랑대역,
DONG_회기역,
GANGNAM_강남,
GANGNAM_강남구청,
Expand All @@ -43,9 +31,15 @@ import {
GANGNAM_신논현,
GANGNAM_양재,
GANGNAM_자유신청,
INC_구월동,
INC_부평,
INC_송도,
INC_송도DT,
INC_인하대,
SUWAN_경기대,
SUWAN_경희대,
SUWAN_고색역,
SUWAN_광교,
SUWAN_광교엘리웨이,
SUWAN_광교중앙역,
SUWAN_구운동,
Expand All @@ -57,10 +51,12 @@ import {
SUWAN_수원역,
SUWAN_스타벅스,
SUWAN_아주대,
SUWAN_워터쿨러,
SUWAN_자유신청,
SUWAN_행궁동,
YANG_당산역,
YANG_목동점,
YANG_몽글,
YANG_발산역,
YANG_스타벅스,
YANG_신월동,
YANG_신풍역,
Expand Down Expand Up @@ -113,7 +109,7 @@ export const LOCATION_TO_PLACE: LocationToPlace = {
YANG_화곡역,
YANG_자유신청,
YANG_신월동,
YANG_당산역,

YANG_목동점,
YANG_발산역,
],
Expand Down Expand Up @@ -144,7 +140,6 @@ export const LOCATION_TO_PLACE: LocationToPlace = {
DONG_동대문역,
DONG_혜화역,
DONG_혜화역2,
DONG_자유신청,
DONG_화랑대역,
DONG_중화역,
DONG_회기역,
Expand Down
28 changes: 19 additions & 9 deletions constants/serviceConstants/studyConstants/studyPlaceConstants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@
export const ALL_스터디인증 = "65263917e90698c18a3b1e99";

//수원

export const SUWAN_수원시청 = "64395f1e8d1edf4e056e993d";
export const SUWAN_수원역 = "640c271121863deff358f459";
export const SUWAN_수원역 = "6637352830c7250eac355cc6";
export const SUWAN_아주대 = "62e5d6e0e098c232c05c3d3f";
export const SUWAN_상현역 = "64b15fb72704a3af110733ba";
export const SUWAN_송죽 = "644f6ffe9edb56992ccda5e9";
// export const SUWAN_경희대 = "644f70529edb56992ccda5eb";
export const SUWAN_경희대 = "661cdae4aaae875d410236d2";
export const SUWAN_경희대 = "644f70529edb56992ccda5eb";
export const SUWAN_구운동 = "6527c32774e4622ec48d12dd";
export const SUWAN_스타벅스 = "64ba45feefd3711264521a87";
export const SUWAN_경기대 = "65211465032de083c092353c";
Expand All @@ -19,7 +17,9 @@ export const SUWAN_행궁동 = "6559f7e8e5c9066b9b8e7d2a";
export const SUWAN_망포역 = "6559f61fe5c9066b9b8e7d29";
export const SUWAN_고색역 = "654ca7770f651095a2e41845";
export const SUWAN_성균관대역 = "654ca7b50f651095a2e41846";
export const SUWAN_워터쿨러 = "65bfc9347d1dd938049ed1a2";
export const SUWAN_광교엘리웨이 = "654ca92f0f651095a2e41848";
export const SUWAN_광교 = "65fbdd5eba2597c46415a02c";

//양천
export const YANG_위카페 = "6437e9d7ab537b843c6143ac";
Expand All @@ -31,13 +31,13 @@ export const YANG_스타벅스 = "64bbc30787f8dc1a5210da6a";
export const YANG_카페꼼마 = "650afdb79ea186d7d9b2a1b6";
export const YANG_몽글 = "650afd559ea186d7d9b2a1b5";
export const YANG_신풍역 = "6551d99dd01680084c5c6a92";
export const YANG_당산역 = "661cdb45aaae875d410236d3";

export const YANG_신길역 = "6551d7cbd01680084c5c6a91";
export const YANG_신월동 = "6551d5bdd01680084c5c6a90";
export const YANG_양천구청역 = "6551d2b3d01680084c5c6a8f";
export const YANG_자유신청 = "6437eb3fab537b843c6143ae";
export const YANG_화곡역 = "658fbbc2113d3959183e36c2";
export const YANG_발산역 = "65bfac0a7d1dd938049ed19e";
export const YANG_목동점 = "65bfab8b7d1dd938049ed19d";

//안양
export const ANYANG_커피인더스트리 = "6456ef2820352b2d87582959";
Expand All @@ -64,8 +64,7 @@ export const DONG_장안동 = "6597c1f1a11634850ed506e0";
export const DONG_석계역 = "6597c184a11634850ed506df";
export const DONG_딥십리역 = "6597c124a11634850ed506de";
export const DONG_서울시립대 = "6597c0a2a11634850ed506dd";
// export const DONG_경희대 = "6597c076a11634850ed506dc";
export const DONG_경희대 = "661cd9aeaaae875d410236d1";
export const DONG_경희대 = "6597c076a11634850ed506dc";
export const DONG_월곡역 = "6597c047a11634850ed506db";
export const DONG_왕십리역 = "6597c004a11634850ed506da";
export const DONG_안암역 = "6597bfd5a11634850ed506d9";
Expand All @@ -75,5 +74,16 @@ export const DONG_성신여대 = "6597bf26a11634850ed506d6";
export const DONG_동대문역 = "6597bed1a11634850ed506d5";
export const DONG_혜화역 = "6597be44a11634850ed506d3";
export const DONG_혜화역2 = "6597be67a11634850ed506d4";
export const DONG_자유신청 = "6597c957a11634850ed506e3";
export const DONG_화랑대역 = "65bfac8f7d1dd938049ed19f";
export const DONG_중화역 = "6604c1ee4920fb76c1a64e62";
export const DONG_노원역 = "663739e230c7250eac355cc8";
export const DONG_수유역 = "66373a7d30c7250eac355cc9";
export const DONG_회기역 = "661cd8d3aaae875d410236d0";

//인천
export const INC_인하대 = "65fbc711ba2597c46415a027";
export const INC_송도DT = "65fbc8eeba2597c46415a028";
export const INC_송도 = "65fbcba6ba2597c46415a029";
export const INC_구월동 = "65fbd787ba2597c46415a02a";
export const INC_부평 = "65fbd888ba2597c46415a02b";
export const INC_인천대 = "6637373030c7250eac355cc7";
2 changes: 2 additions & 0 deletions constants/settingValue/study/StudyCafeLogo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,6 @@ export const STUDY_CAFE_LOGO = {
"https://studyabout.s3.ap-northeast-2.amazonaws.com/%EC%B9%B4%ED%8E%98+%EB%A1%9C%EA%B3%A0/%EC%B9%B8%EB%82%98.webp",
마르티:
"https://studyabout.s3.ap-northeast-2.amazonaws.com/%EC%B9%B4%ED%8E%98+%EB%A1%9C%EA%B3%A0/%EB%A7%88%EB%A5%B4%ED%8B%B0+%EB%A1%9C%EA%B3%A0.png",
엔제리너스:
"https://studyabout.s3.ap-northeast-2.amazonaws.com/%EC%B9%B4%ED%8E%98+%EB%A1%9C%EA%B3%A0/%EC%97%94%EC%A0%9C%EB%A6%AC%EB%84%88%EC%8A%A4+%EB%A1%9C%EA%B3%A0.jpg",
};
Loading

0 comments on commit 575581d

Please sign in to comment.