-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Member detail page and inductions use new Member model.
- Loading branch information
1 parent
1da616e
commit 251d1b1
Showing
12 changed files
with
153 additions
and
101 deletions.
There are no files selected for viewing
10 changes: 5 additions & 5 deletions
10
packages/webapp/src/inductions/components/induction-journeys/common/member-card-preview.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
import { Card } from "_app"; | ||
import { MemberData, MemberHoloCard, MemberCard } from "members"; | ||
import { Member, MemberHoloCard, MemberCard } from "members"; | ||
|
||
export const MemberCardPreview = ({ | ||
cardTitle = "Invitee information", | ||
memberData, | ||
member, | ||
}: { | ||
cardTitle?: string; | ||
memberData: MemberData; | ||
member: Member; | ||
}) => ( | ||
<Card title={cardTitle} titleSize={2}> | ||
<div className="flex justify-center items-center space-y-10 xl:space-y-0 xl:space-x-10 flex-col xl:flex-row"> | ||
<div className="max-w-xl"> | ||
<MemberHoloCard member={memberData} inducted={false} /> | ||
<MemberHoloCard member={member} inducted={false} /> | ||
</div> | ||
<MemberCard member={memberData} /> | ||
<MemberCard member={member} /> | ||
</div> | ||
</Card> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.