Skip to content

Commit

Permalink
fix: 주차장 대수 표기 임시 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondanythings committed Apr 15, 2023
1 parent 132261a commit bdf82d8
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 56 deletions.
59 changes: 31 additions & 28 deletions src/components/Search/DestinationCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,35 +77,38 @@ const DestinationCard: FC<any> = ({ node, maxLength, idx, fetchMore }) => {

<BottomButtons className='scrollbar-hide'>
{node.parkingAvailable ? (
<PopupButton
label={node.id}
toolTip={
!node.parkingCount ? (
<>
<Exclamation />
<div>
<PopupTitle>장애인 주차장</PopupTitle>
<Subscription red>
정확한 주차 가능대수는 알 수 없어요 :(
<br />
전화 문의 부탁드립니다.
</Subscription>
</div>
</>
) : (
<>
<Check />
<div>
<PopupTitle>장애인 주차장</PopupTitle>
<Subscription>주차 가능대수는 {node.parkingCount}대 입니다.</Subscription>
</div>
</>
)
}
>
<CircleBadge>{node.parkingCount ? `${node.parkingCount}` : '?'}</CircleBadge>
// <PopupButton
// label={node.id}
// toolTip={
// !node.parkingCount ? (
// <>
// <Exclamation />
// <div>
// <PopupTitle>장애인 주차장</PopupTitle>
// <Subscription red>
// 정확한 주차 가능대수는 알 수 없어요 :(
// <br />
// 전화 문의 부탁드립니다.
// </Subscription>
// </div>
// </>
// ) : (
// <>
// <Check />
// <div>
// <PopupTitle>장애인 주차장</PopupTitle>
// <Subscription>주차 가능대수는 {node.parkingCount}대 입니다.</Subscription>
// </div>
// </>
// )
// }
// >
// <CircleBadge>{node.parkingCount ? `${node.parkingCount}` : '?'}</CircleBadge>
// <serviceIcon.ParkingAvailable />
// </PopupButton>
<Button>
<serviceIcon.ParkingAvailable />
</PopupButton>
</Button>
) : null}
{node.wheelChairRentable ? (
<Button>
Expand Down
59 changes: 31 additions & 28 deletions src/screen/Detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,35 +110,38 @@ const Detail = () => {
<Bottom>
<IconWrapper>
{place.parkingAvailable ? (
<PopupButton
label={place.id}
toolTip={
!place.parkingCount ? (
<>
<Exclamation />
<div>
<PopupTitle>장애인 주차장</PopupTitle>
<Subscription red>
정확한 주차 가능대수는 알 수 없어요 :(
<br />
전화 문의 부탁드립니다.
</Subscription>
</div>
</>
) : (
<>
<Check />
<div>
<PopupTitle>장애인 주차장</PopupTitle>
<Subscription>주차 가능대수는 {place.parkingCount}대 입니다.</Subscription>
</div>
</>
)
}
>
<CircleBadge>{place.parkingCount ? `${place.parkingCount}` : '?'}</CircleBadge>
// <PopupButton
// label={place.id}
// toolTip={
// !place.parkingCount ? (
// <>
// <Exclamation />
// <div>
// <PopupTitle>장애인 주차장</PopupTitle>
// <Subscription red>
// 정확한 주차 가능대수는 알 수 없어요 :(
// <br />
// 전화 문의 부탁드립니다.
// </Subscription>
// </div>
// </>
// ) : (
// <>
// <Check />
// <div>
// <PopupTitle>장애인 주차장</PopupTitle>
// <Subscription>주차 가능대수는 {place.parkingCount}대 입니다.</Subscription>
// </div>
// </>
// )
// }
// >
// <CircleBadge>{place.parkingCount ? `${place.parkingCount}` : '?'}</CircleBadge>
// <serviceIcon.ParkingAvailable />
// </PopupButton>
<Button>
<serviceIcon.ParkingAvailable />
</PopupButton>
</Button>
) : null}
{place.wheelChairRentable ? (
<Button>
Expand Down

1 comment on commit bdf82d8

@vercel
Copy link

@vercel vercel bot commented on bdf82d8 Apr 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.