Skip to content

Commit

Permalink
Merge pull request #343 from SCBJ-7/feature/#342-refactor-search
Browse files Browse the repository at this point in the history
서버 주소 변경
  • Loading branch information
chaeminseok authored Apr 7, 2024
2 parents 31317c1 + 49f7fdf commit ea10b48
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,17 +224,19 @@
## 🎨 페이지 별 디자인 및 기능

### 메인페이지

![2024-01-298 47 41-ezgif com-video-to-gif-converter](https://github.com/SCBJ-7/SCBJ-FE/assets/126222848/aee9e236-72f8-4b9c-b52d-11ae2fa98251)

_지역별 특가 상품과 주말 호캉스 특가상품을 볼 수 있습니다._
자체적으로 만든 캐로셀의 props에 연동하여 wrapper에 있는 텍스트 애니메이션이 재생되며
2초마다 자동으로 섹션 전환을 진행합니다.

### 판매 상품 선택 페이지

![판매글 작성](https://github.com/SCBJ-7/SCBJ-FE/assets/126222848/2116a3b0-76cf-4fa8-a69c-495fa1fdc3f0)

_판매할 상품을 선택할 수 있습니다._
야놀자 인증이 된 상품만을 취급하는 정책이 있기 때문에,
야놀자 인증이 된 상품만을 취급하는 정책이 있기 때문에,
비로그인 시나 야놀자 인증이 안 된 상태에서는 서비스를 이용할 수 없게 예외처리를 하였습니다.

### 판매 상품 가격설정 페이지 & 성공페이지
Expand All @@ -251,7 +253,6 @@ _판매 게시물 작성을 정상적으로 마치면 성공화면으로 전환

### 알림페이지


_알림아이콘에 불이 들어오면 새로운 알림이 왔다는 신호입니다. 들어가서 정산 알림을 받을 수 있습니다_
판매가 이루어졌을 때 푸시알림이 옵니다. 매일 12:00AM마다 당일 판매한 상품의 정산이 이루어지며 알림이 옵니다.
pwa를 통해 알림을 받을 수 있습니다.
Expand Down Expand Up @@ -320,4 +321,4 @@ pwa를 통해 알림을 받을 수 있습니다.

- 채민석

- 기획 디자인 프론트엔드 백엔드 끼리 함께 협업하는 프로젝트를 진행한게 너무 좋은 경험이였습니다. 매일 스크럼을 진행하면서 서로 진행상황, 문제점, 개선점을 공유하고 문제점에 대해 같이 해결해 나아갔습니다. 팀원분들 모두 너무 고맙고 고생많으셨습니다!
- 기획 디자인 프론트엔드 백엔드 끼리 함께 협업하는 프로젝트를 진행한게 너무 좋은 경험이였습니다. 매일 스크럼을 진행하면서 서로 진행상황, 문제점, 개선점을 공유하고 문제점에 대해 같이 해결해 나아갔습니다. 팀원분들 모두 너무 고맙고 고생많으셨습니다 !
2 changes: 1 addition & 1 deletion src/apis/fetchSeachList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const fetchSearchList = async (
},
},
);

console.log("response data", response);
return response.data.data;
} catch (error) {
throw new Error("호텔 검색에 실패했습니다");
Expand Down
2 changes: 1 addition & 1 deletion src/constants/api.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const BASE_URL = "https://3.35.83.30.nip.io";
export const BASE_URL = "https://43.200.52.7.nip.io";

export const END_POINTS = {
LOGIN: "/v1/members/signin",
Expand Down
2 changes: 2 additions & 0 deletions src/pages/myPage/info/Info.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ const Info = () => {
await logout();
localStorage.removeItem(ACCESS_TOKEN);
localStorage.removeItem(REFRESH_TOKEN);
localStorage.removeItem("searchFilterStorage");
setIsLoggedIn(false);
setUserInfo(null);
queryClient.removeQueries({ queryKey: [KEY.PURCHASE_LIST] });
queryClient.removeQueries({ queryKey: [KEY.SALE] });

navigate(PATH.ROOT);
} catch (err) {
handleToast(true, [<>로그아웃 실패. 잠시 후 다시 시도해 주세요</>]);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/searchPage/components/searchBar/SearchBar.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PATH } from "@/constants/path";
import { PATH } from "@constants/path";
import { useSearchFilterInfoStore } from "@store/store";
import { formatDateMonthAndDay } from "@utils/dateFomaterMonthDay";
import { useNavigate } from "react-router-dom";
Expand Down
6 changes: 2 additions & 4 deletions src/pages/signInPage/SignIn.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export const SignInContainer = styled.form`
display: flex;
flex-direction: column;
align-items: center;
margin: 100px 20px 0 20px;
padding: 100px 20px 30px 20px;
background-color: white;
`;

export const SignInLogo = styled(LoginLogo)``;
Expand All @@ -17,9 +17,7 @@ export const SignInInputContainer = styled.div`
display: flex;
flex-direction: column;
gap: 24px;
margin: 80px 0 40px 0;
width: 100%;
`;

Expand Down

0 comments on commit ea10b48

Please sign in to comment.