Skip to content
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
15 changes: 10 additions & 5 deletions src/pages/home/components/PromiseCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,16 @@ const PromiseCard = ({

{!isCompleted &&
(memberCount === 1 ? (
<div className="flex items-center p-1.5 w-61 bg-[#EAF2FF] border border-[#C0D7FD] rounded-[10px]">
<img src={MemberInvitePlusIcon} />
<p className="text-[#00408E] font-Pretendard font-regular text-[0.75rem] leading-4.2">
친구를 초대하기
</p>
<div className="flex w-full justify-between gap-15">
<div className="flex items-center p-1.5 w-full bg-[#EAF2FF] border border-[#C0D7FD] rounded-[10px]">
<img src={MemberInvitePlusIcon} />
<p className="text-[#00408E] font-Pretendard font-regular text-[0.75rem] leading-4.2">
친구를 초대하기
</p>
</div>
<div className="w-7.5 h-7.5 shrink-0 flex items-center justify-center bg-[#E4E4E4] rounded-full">
<img src={CardDetailButtonIcon} />
</div>
</div>
) : (
<div className="flex justify-between items-center">
Expand Down
12 changes: 0 additions & 12 deletions src/pages/promise/CreatePromiseForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,18 +205,6 @@ const CreatePromiseForm = () => {
</div>
</div>

<div className="flex justify-between items-center">
<CreatePromiseTitle title="참여자 초대" />
<button
onClick={showAllErrors}
className="py-1 px-4 border bg-[#FAFAFA] border-[#C6C6C6] rounded-[10px] active:bg-[#00408E]"
>
<p className="text-[0.875rem] font-Pretendard text-[#C6C6C6] font-light leading-5 active:text-[#FFFFFF]">
공유하기
</p>
</button>
</div>

<div className="flex justify-between">
<CreatePromiseTitle title="장소 복수 투표" />
<div
Expand Down
Loading