Skip to content

Commit

Permalink
update rsvp status in home page
Browse files Browse the repository at this point in the history
  • Loading branch information
juancwu committed May 13, 2024
1 parent 7799a18 commit 9ccc191
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions src/pages/Home/Home.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,17 +113,18 @@ const HomePage = () => {
</div>
</Card>

<Card title="RSVP Status" className="xl:col-span-5">
<span className="flex flex-col gap-2">
<p className="text-[#333] text-sm">
RSVP status:{" "}
<b>
{currentUser?.rsvpVerified
? "RSVP'd"
: "Not RSVP'd"}
</b>
</p>
</span>
<Card title="RSVP Status" className="xl:col-span-5">
<span className="flex flex-col gap-2">
<p className="text-lg">
RSVP status:{" "}
<span className="font-bold">
{currentUser?.rsvpVerified
? "RSVP'd"
: "Not RSVP'd"}
<span className="capitalize">{` (${currentUser?.type})`}</span>
</span>
</p>
</span>
<Button
onClick={() =>
!disableAllActions && setOpenWithdrawRSVP(true)
Expand All @@ -133,7 +134,7 @@ const HomePage = () => {
>
Not able to make it?
</Button>
</Card>
</Card>

<Card
title="Important Information"
Expand Down

0 comments on commit 9ccc191

Please sign in to comment.