Skip to content

Conversation

aditya520
Copy link
Member

Summary

Rationale

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code

@aditya520 aditya520 requested a review from a team as a code owner September 27, 2025 09:06
Copy link

vercel bot commented Sep 27, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
component-library Ready Ready Preview Comment Sep 27, 2025 9:09am
developer-hub Ready Ready Preview Comment Sep 27, 2025 9:09am
entropy-explorer Ready Ready Preview Comment Sep 27, 2025 9:09am
insights Ready Ready Preview Comment Sep 27, 2025 9:09am
3 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
api-reference Skipped Skipped Sep 27, 2025 9:09am
proposals Skipped Skipped Sep 27, 2025 9:09am
staking Skipped Skipped Sep 27, 2025 9:09am

Copy link
Collaborator

@cprussin cprussin left a comment

Choose a reason for hiding this comment

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

The code is pretty solid! However, the styling is off -- it doesn't match the link styling elsewhere in the design system, and the cards are huge at smaller screen sizes, e.g. here's a smaller browser window:

Image

And here's a mobile screen:

Image

I suggest we have @partyparrotgreg take a quick pass at this and match his suggestion. I think that card-style links probably aren't the right presentation here.


.communityCard {
aspect-ratio: 1;
min-height: 160px;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please stick to theme.spacing for spacing units

Comment on lines +258 to +261
&:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgb(0 0 0 / 15%);
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

This hover styling appears nowhere else in the design system; it's inconsistent and we should make this match everything else

Comment on lines +287 to +290
svg {
width: 100%;
height: 100%;
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

This styling should be unneeded, since you're using phosphor icons the default width and height are set to 1em. This means that the right way to style them is to set font-size: theme.spacing(12) on .communityIcon instead of setting width and height and having the styling here.

@aditya520
Copy link
Member Author

I will wait for @partyparrotgreg here then.

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.

2 participants