Skip to content

Added board members to grid and made aspects responsive#60

Merged
yubinzhen merged 5 commits into
devfrom
ManuChint/BoardGridResponsive
Jun 4, 2026
Merged

Added board members to grid and made aspects responsive#60
yubinzhen merged 5 commits into
devfrom
ManuChint/BoardGridResponsive

Conversation

@ManuChint

Copy link
Copy Markdown
Collaborator

I found that the page responsiveness adds a little gap to the side on phone screens, but that should probably clear up once the navbar is responsive. The images are still a little off-center but nothing too alarming. Theres also more members than the figma so I did 2:3:3:4.

fixes #42

Screenshot 2026-05-31 at 10 14 31 PM Screenshot 2026-05-31 at 10 14 46 PM Screenshot 2026-05-31 at 10 15 05 PM Screenshot 2026-05-31 at 10 15 39 PM

@ManuChint ManuChint self-assigned this Jun 1, 2026

@yubinzhen yubinzhen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good so far! if you can try to center some of the board members, that'd be great but it's okay if you can't. can you make the grid have 3 board members per row on lg screens, 2 board members per row on md screens, and 1 board member per row on sm screens.

Comment thread src/components/board/BoardCard.tsx Outdated

<div className="flex flex-col items-center gap-0.5 text-center">
<p className="text-nsbe-yellow-100 text-2xl font-extrabold">{name}</p>
<p className="text-nsbe-yellow-100 text-3xl font-extrabold">{name}</p>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change to text-2xl

Comment thread src/components/board/BoardCard.tsx Outdated
src={image}
alt={name}
className="border-nsbe-yellow-100 aspect-square w-[20vw] rounded-full border-3 object-cover"
className="border-nsbe-yellow-100 aspect-square w-[20vw] rounded-full border-4 object-cover"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

try to avoid hard coding the width. use code like w-1/2. the current size of the image is a little large, make it a little smaller

Comment thread src/components/board/BoardCard.tsx Outdated

<div className="flex flex-col items-center gap-0.5 text-center">
<p className="text-nsbe-yellow-100 text-2xl font-extrabold">{name}</p>
<p className="text-nsbe-yellow-100 text-3xl font-extrabold">{name}</p>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make sure to adjust text size according to screen size too

@ManuChint

ManuChint commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator Author

looks good so far! if you can try to center some of the board members, that'd be great but it's okay if you can't. can you make the grid have 3 board members per row on lg screens, 2 board members per row on md screens, and 1 board member per row on sm screens.

I added the requested changes, is it alright if we take care of the image cropping a little later?
Screenshot 2026-06-03 at 3 36 36 PM

@yubinzhen yubinzhen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great!

@yubinzhen yubinzhen merged commit 2fec36c into dev Jun 4, 2026
5 checks passed
@yubinzhen yubinzhen deleted the ManuChint/BoardGridResponsive branch June 4, 2026 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Board Grid + Responsive

2 participants