Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix : 검색페이지 오류 수정 #347

Merged
merged 1 commit into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pages/searchFilterPage/SearchFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const SearchFilter = () => {
<>
<S.FilterContainer>
<S.FilterContent>
<S.FilterTitle>언제 어디로 여행가세요?</S.FilterTitle>
<S.FilterTitle>언제 어디로 떠나세요?</S.FilterTitle>
<S.FilterBlock onClick={handleRegionModal}>
<S.FilterSubTitle>지역</S.FilterSubTitle>
<S.FilterModalButton>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/searchPage/Search.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import styled from "styled-components";
import TopButtonIcon from "@assets/icons/ic_top_button.svg?react";

export const Container = styled.div`
background-color: ${({ theme }) => theme.color.white};
background-color: ${({ theme }) => theme.color.greyScale7};
`;

export const SearchContainer = styled.div`
width: 100%;
height: 100%;
min-height: 100vh;
color: ${({ theme }) => theme.color.black};
padding: 130px 0 130px 0;
background-color: ${({ theme }) => theme.color.greyScale7};
`;

export const SearchItemFlex = styled.div`
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
Expand Up @@ -9,7 +9,7 @@ const SearchBar = () => {
const navigate = useNavigate();
const searchInfo = useSearchFilterInfoStore((state) => state.searchInfo);

let searchBarContent = "언제 어디로 여행가세요?";
let searchBarContent = "언제 어디로 떠나세요?";
if (searchInfo.location && searchInfo.checkOut && searchInfo.quantityPeople) {
searchBarContent = `${searchInfo.location} / ${formatDateMonthAndDay(
searchInfo.checkIn,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export const ItemContainer = styled.div`
width: 100%;
height: 373px;
color: ${({ theme }) => theme.color.black};
position: relative;
@media screen and (min-width: 568px) {
width: calc(50% - 8px);
}
Expand All @@ -25,7 +26,6 @@ export const ItemContent = styled.div`
justify-content: space-between;
min-width: 240px;
height: 181px;
position: relative;
width: 100%;
padding: 24px 16px;
`;
Expand Down
4 changes: 2 additions & 2 deletions src/pages/searchPage/components/searchItem/SearchItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const SearchItem = ({ item }: { item: ISearchList }) => {
</div>
<div>{item.reviewRate}</div>
<div>&middot;</div>
<div>{`${item.hotelRate}성급`}</div>
<div>{item.hotelRate}</div>
</S.ItemRates>
<S.ItemName>{item.name}</S.ItemName>
<S.ItemRoomName>{item.roomType}</S.ItemRoomName>
Expand Down Expand Up @@ -66,7 +66,7 @@ const SearchItem = ({ item }: { item: ISearchList }) => {
</div>
</S.ItemOriginalPriceCover>
<S.ItemPriceCover>
<div>구매가</div>
<div>거래가</div>
<S.ItemPrice>
{item.salePrice.toLocaleString() + "원"}
</S.ItemPrice>
Expand Down
3 changes: 2 additions & 1 deletion src/pages/searchPage/components/searchNav/SearchNav.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ export const SearchNavContainer = styled.div`
min-width: 360px;
width: 100%;
height: 44px;
padding: 0.5rem 1.5rem;
padding: 0.5rem 1.5rem 2.5rem 1.5rem;
position: fixed;
z-index: 1;
top: 72px;
border-bottom: 1px solid ${({ theme }) => theme.color.greyScale6};
`;

export const SearchCellCover = styled.div`
Expand Down
Loading