Skip to content

Commit

Permalink
miscalleanous changes to usercard
Browse files Browse the repository at this point in the history
  • Loading branch information
sinhaaaryan committed Aug 27, 2024
1 parent 86fbbeb commit 8ef0e56
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/components/UserCards/ReceivedCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export const ReceivedCard = (props: ReceivedCardProps): JSX.Element => {
setShowModal(true);
};

// TODO: Need to create a leftButton props for UserCard component so that each card can have custom things

const connectButtonInfo: ButtonInfo = {
text: "Manage",
onPress: () => handleManageReceived(),
Expand Down
6 changes: 3 additions & 3 deletions src/components/UserCards/UserCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const UserCard = (props: UserCardProps): JSX.Element => {
<div
key={i}
className={
"font-heavy flex h-6 w-6 items-center justify-center rounded-full border border-black text-sm" +
"font-semibold flex h-7 w-7 items-center justify-center rounded-full border border-black text-sm" +
backgroundColor
}
>
Expand Down Expand Up @@ -136,11 +136,11 @@ export const UserCard = (props: UserCardProps): JSX.Element => {


<div className="flex items-center w-full">
<p className="w-[45%] text-left">{props.otherUser.startPOILocation}</p>
<p className="font-semibold w-[45%] text-left">{props.otherUser.startPOILocation}</p>
<div className="w-[10%] flex justify-center">
<ArrowForwardIcon fontSize="small" />
</div>
<p className="w-[45%] text-right">{props.otherUser.companyName}</p>
<p className="font-semibold w-[45%] text-right">{props.otherUser.companyName}</p>
</div>


Expand Down

0 comments on commit 8ef0e56

Please sign in to comment.