Skip to content

Conversation

@ImMiguelP
Copy link
Contributor

Description

Migrates MeetupList component from emotion to chakra-ui

Related Issue

#6374

@gatsby-cloud
Copy link

gatsby-cloud bot commented Sep 27, 2022

✅ ethereum-org-website-dev deploy preview ready

Copy link
Member

@pettinarip pettinarip left a 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

This PR:
image

Expected (prod):
image

Copy link
Member

@pettinarip pettinarip left a 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.

</RightContainer>
</Item>
<LinkBox key={idx}>
<LinkOverlay
Copy link
Member

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

Copy link
Contributor Author

@ImMiguelP ImMiguelP Oct 4, 2022

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?

Copy link
Member

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.

@pettinarip pettinarip merged commit 45c3eea into ethereum:dev Oct 19, 2022
@gitpoap-bot
Copy link

gitpoap-bot bot commented Oct 19, 2022

Congrats, your important contribution to this open-source project has earned you a GitPOAP!

GitPOAP: 2022 Ethereum.org Contributor:

GitPOAP: 2022 Ethereum.org Contributor GitPOAP Badge

Head to gitpoap.io & connect your GitHub account to mint!

Learn more about GitPOAPs here.

@pettinarip pettinarip mentioned this pull request Oct 19, 2022
80 tasks
@corwintines corwintines mentioned this pull request Oct 21, 2022
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.

3 participants