Skip to content

225 - Updated staff card component#228

Open
mehanana wants to merge 1 commit into
mainfrom
225-update-staff-card
Open

225 - Updated staff card component#228
mehanana wants to merge 1 commit into
mainfrom
225-update-staff-card

Conversation

@mehanana

@mehanana mehanana commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Issue

Closes #225

📝 Description

Updated the staff card component to match the new figma design

Briefly list the changes made to the code:

  1. Added new email & title props to display the staff's email and role
  2. Changed the layout of the card to match the new figma design
  3. Added new tests and modified existing tests for this component

✔️ Verification

Ran the tests to make sure everything passed. Also looked at the staff card to ensure it visually matched the figma.
How it looks on local host:
Screenshot 2026-06-08 225147
Tests for Staff Card Component:
Screenshot 2026-06-08 230108

Provide screenshots of any new components, styling changes, or pages.

🏕️ (Optional) Future Work / Notes

Currently, the props for title and image are optional, but I was wondering if the title should be required for every staff member?

@mehanana mehanana requested a review from nourshoreibah as a code owner June 9, 2026 03:07
@github-actions github-actions Bot requested a review from Vaibhav978 June 9, 2026 03:07
github-actions Bot added a commit that referenced this pull request Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update the staff card component

1 participant