Skip to content

Commit

Permalink
[fix] deposit, monthly rent 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
zestlee1106 committed Dec 20, 2023
1 parent 31c2c6f commit 3b8c355
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/RoomCard/RoomCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const Footer = ({ room, isLikedRooms }: CardProps) => {
{room.location.name}-dong, {room.location.upperLocation?.name}-gu
</div>
<div className="font-poppins text-[20px] font-semibold text-g7 flex items-center">
<div>&#8361;{formatPrice(room.deposit.amount)}&nbsp;</div>
<div>&#8361;{formatPrice(room.monthlyRent.amount)}&nbsp;</div>
<span className="font-pretendard text-[14px] font-medium mr-[12px]">/ month </span>
<span className="font-pretendard text-[14px] text-r1 font-[500] bg-g1 px-[4px] py-[2px] rounded-[2px]">
{room.deposit ? 'Deposit required' : ''}
Expand Down
2 changes: 1 addition & 1 deletion pages/room/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ export default function RoomDetail() {
<div className="fixed bottom-0 w-full overflow-x-hidden left-[50%] translate-x-[-50%] max-w-max bg-g0 h-[71px] flex justify-center border-t-[1px] border-g2">
<div className="flex items-center">
<Like className="stroke-g7 stroke-[1.5px] m-[8px]" />
<span className="text-[20px] font-semibold">&#8361; {formatPrice(room.deposit.amount)}&nbsp;</span>
<span className="text-[20px] font-semibold">&#8361; {formatPrice(room.monthlyRent.amount)}&nbsp;</span>
<span>/ month</span>
<div className="h-[40px] font-medium text-[14px] ml-[12px]">
<Button height="40px" onClick={handleContactPopup}>
Expand Down

0 comments on commit 3b8c355

Please sign in to comment.