diff --git a/.gitignore b/.gitignore index 1eb9c61..8ff5c9b 100644 --- a/.gitignore +++ b/.gitignore @@ -39,7 +39,4 @@ next-env.d.ts storybook-static .env.local -.env.test - - -src/mocks/data +.env.test \ No newline at end of file diff --git a/src/mocks/data/festivalMocks/HotFestival.json b/src/mocks/data/festivalMocks/HotFestival.json new file mode 100644 index 0000000..665d2af --- /dev/null +++ b/src/mocks/data/festivalMocks/HotFestival.json @@ -0,0 +1,32 @@ +{ + "statusCode": 200, + "status": "OK", + "message": "스크랩 다건 조회 성공", + "data": { + "content": [ + { + "festivalId": 1, + "name": "한강 페스티벌", + "sido": "서울", + "sigungu": "광진구", + "thumbnailImage": "https://placehold.co/400.png", + "startDate": "2024-10-04", + "endDate": "2024-10-10" + }, + { + "festivalId": 2, + "name": "쉬어강서", + "sido": "서울", + "sigungu": "광서구", + "thumbnailImage": "https://placehold.co/400.png", + "startDate": "2024-10-04", + "endDate": "2024-10-10" + } + ], + "offset": 0, + "pageNumber": 0, + "pageSize": 6, + "totalElements": 2, + "totalPages": 1 + } +} diff --git a/src/mocks/data/festivalMocks/HotFestival_1.json b/src/mocks/data/festivalMocks/HotFestival_1.json new file mode 100644 index 0000000..29403e4 --- /dev/null +++ b/src/mocks/data/festivalMocks/HotFestival_1.json @@ -0,0 +1,69 @@ +{ + "statusCode": 200, + "status": "OK", + "message": "스크랩 다건 조회 성공", + "data": { + "content" : [ + { + "festivalId" : 1, + "name" : "한강 페스티벌", + "sido" : "서울", + "sigungu" : "광진구", + "thumbnailImage" : "https://placehold.co/400.png", + "startDate" : "2024-10-04", + "endDate" : "2024-10-10" + }, + { + "festivalId" : 2, + "name" : "쉬어강서", + "sido" : "서울", + "sigungu" : "광서구", + "thumbnailImage" : "https://placehold.co/400.png", + "startDate" : "2024-10-04", + "endDate" : "2024-10-10" + }, + { + "festivalId" : 3, + "name" : "부산 국제 영화제", + "sido" : "부산", + "sigungu" : "해운대구", + "thumbnailImage" : "https://placehold.co/400.png", + "startDate" : "2024-11-01", + "endDate" : "2024-11-07" + }, + { + "festivalId" : 4, + "name" : "전주 한옥마을 축제", + "sido" : "전북", + "sigungu" : "전주시", + "thumbnailImage" : "https://placehold.co/400.png", + "startDate" : "2024-09-15", + "endDate" : "2024-09-20" + }, + { + "festivalId" : 5, + "name" : "속초 국제 불꽃 축제", + "sido" : "강원", + "sigungu" : "속초시", + "thumbnailImage" : "https://placehold.co/400.png", + "startDate" : "2024-12-24", + "endDate" : "2024-12-26" + }, + { + "festivalId" : 6, + "name" : "제주 감귤 축제", + "sido" : "제주", + "sigungu" : "제주시", + "thumbnailImage" : "https://placehold.co/400.png", + "startDate" : "2024-11-15", + "endDate" : "2024-11-20" + } + ], + "offset": 12, + "pageNumber": 0, + "pageSize": 6, + "totalElements": 43, + "totalPages": 8 + } + } + \ No newline at end of file diff --git a/src/mocks/data/festivalMocks/HotFestival_2.json b/src/mocks/data/festivalMocks/HotFestival_2.json new file mode 100644 index 0000000..7f98e66 --- /dev/null +++ b/src/mocks/data/festivalMocks/HotFestival_2.json @@ -0,0 +1,69 @@ +{ + "statusCode": 200, + "status": "OK", + "message": "스크랩 다건 조회 성공", + "data": { + "content" : [ + { + "festivalId" : 7, + "name" : "광주 비엔날레", + "sido" : "광주", + "sigungu" : "서구", + "thumbnailImage" : "https://placehold.co/400.png", + "startDate" : "2024-08-20", + "endDate" : "2024-08-25" + }, + { + "festivalId" : 8, + "name" : "안동 탈춤 축제", + "sido" : "경북", + "sigungu" : "안동시", + "thumbnailImage" : "https://placehold.co/400.png", + "startDate" : "2024-09-30", + "endDate" : "2024-10-05" + }, + { + "festivalId" : 9, + "name" : "대구 컬러풀 페스티벌", + "sido" : "대구", + "sigungu" : "중구", + "thumbnailImage" : "https://placehold.co/400.png", + "startDate" : "2024-10-15", + "endDate" : "2024-10-20" + }, + { + "festivalId" : 10, + "name" : "대전 엑스포", + "sido" : "대전", + "sigungu" : "유성구", + "thumbnailImage" : "https://placehold.co/400.png", + "startDate" : "2024-11-05", + "endDate" : "2024-11-10" + }, + { + "festivalId" : 11, + "name" : "포항 해양 축제", + "sido" : "경북", + "sigungu" : "포항시", + "thumbnailImage" : "https://placehold.co/400.png", + "startDate" : "2024-07-15", + "endDate" : "2024-07-20" + }, + { + "festivalId" : 12, + "name" : "울산 고래 축제", + "sido" : "울산", + "sigungu" : "남구", + "thumbnailImage" : "https://placehold.co/400.png", + "startDate" : "2024-06-01", + "endDate" : "2024-06-05" + } + ], + "offset": 12, + "pageNumber": 1, + "pageSize": 6, + "totalElements": 43, + "totalPages": 8 + } + } + \ No newline at end of file diff --git a/src/mocks/data/festivalMocks/HotFestival_3.json b/src/mocks/data/festivalMocks/HotFestival_3.json new file mode 100644 index 0000000..65100b5 --- /dev/null +++ b/src/mocks/data/festivalMocks/HotFestival_3.json @@ -0,0 +1,68 @@ +{ + "statusCode": 200, + "status": "OK", + "message": "스크랩 다건 조회 성공", + "data": { + "content": [ + { + "festivalId": 13, + "name": "청주 국제 공예 비엔날레", + "sido": "충북", + "sigungu": "청주시", + "thumbnailImage": "https://placehold.co/400.png", + "startDate": "2024-09-10", + "endDate": "2024-09-15" + }, + { + "festivalId": 14, + "name": "인천 펜타포트 락 페스티벌", + "sido": "인천", + "sigungu": "연수구", + "thumbnailImage": "https://placehold.co/400.png", + "startDate": "2024-08-02", + "endDate": "2024-08-04" + }, + { + "festivalId": 15, + "name": "춘천 마임 축제", + "sido": "강원", + "sigungu": "춘천시", + "thumbnailImage": "https://placehold.co/400.png", + "startDate": "2024-05-25", + "endDate": "2024-05-29" + }, + { + "festivalId": 16, + "name": "수원 화성 문화제", + "sido": "경기", + "sigungu": "수원시", + "thumbnailImage": "https://placehold.co/400.png", + "startDate": "2024-10-12", + "endDate": "2024-10-15" + }, + { + "festivalId": 17, + "name": "고양 국제 꽃박람회", + "sido": "경기", + "sigungu": "고양시", + "thumbnailImage": "https://placehold.co/400.png", + "startDate": "2024-04-27", + "endDate": "2024-05-03" + }, + { + "festivalId": 18, + "name": "남이섬 겨울 연가 축제", + "sido": "강원", + "sigungu": "춘천시", + "thumbnailImage": "https://placehold.co/400.png", + "startDate": "2024-12-10", + "endDate": "2024-12-15" + } + ], + "offset": 12, + "pageNumber": 2, + "pageSize": 6, + "totalElements": 43, + "totalPages": 8 + } +}