-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Migrate MeetupList to Chakra #8043
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ ethereum-org-website-dev deploy preview ready
|
pettinarip
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @ImMiguelP. I've noticed a few differences with the prod styles.
Check this page where we are using this component: https://ethereum.org/en/community/events/#meetups
pettinarip
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job so far. I would like to fix the implementation of LinkOverlay.
src/components/MeetupList.tsx
Outdated
| </RightContainer> | ||
| </Item> | ||
| <LinkBox key={idx}> | ||
| <LinkOverlay |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, the idea of this LinkOverlay is to wrap only the text you want to behave as the link text. In this case, it would be the {meetup.title}.
LinkBox => should have all the layout styles
LinkOverlay => is the <a> tag that should only wrap the text
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok that makes sense thank you. So even though if I wrap the text with LinkOverlay the LinkBox will make the other Box clickable correct? In a sense its kind of like wrapping all the components in a Form?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes exactly, it is useful when you need to create this clickable components (like Cards) which are more than just a text link, and you still want to keep the html semantics in a good shape.
|
Congrats, your important contribution to this open-source project has earned you a GitPOAP! GitPOAP: 2022 Ethereum.org Contributor: Head to gitpoap.io & connect your GitHub account to mint! Learn more about GitPOAPs here. |



Description
Migrates
MeetupListcomponent fromemotiontochakra-uiRelated Issue
#6374