-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Migrate wallets.tsx
page to Chakra
#9500
Conversation
✅ ethereum-org-website-dev deploy preview ready
|
wallets.tsx
page to Chakra
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 @ameeetgaikwad
The overall result looks good but there are a few things we would like to add on this migration. Like deprecating the components from SharedStyledComponents
.
Then, there are a few spacing differences I see, comparing it with the production version, that would be nice to cover as well.
src/pages-conditional/wallets.tsx
Outdated
@@ -19,6 +19,7 @@ import { | |||
Divider, | |||
GrayContainer, | |||
Page, | |||
RightColumn, | |||
StyledCard, | |||
TwoColumnContent, | |||
} from "../components/SharedStyledComponents" |
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.
As part of this migration, we deprecated the components living on SharedStyledComponents
. We need to replace them using Chakra components as well.
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 I should refactor SharedStyledComponents
first?
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.
No, you need to:
- remove that dependency
- replace all previous imported components like
TwoColumnContent
,GrayContainer
, etc. with Chakra components
You can take a look at other PRs and see how it was done. For example, #9524.
Congrats, your important contribution to this open-source project has earned you a GitPOAP! Be sure to join the Ethereum.org discord if you are interested in contributing further to the project or have any questions for the team. GitPOAP: 2023 Ethereum.org Contributor: Head to gitpoap.io & connect your GitHub account to mint! Learn more about GitPOAPs here. |
Description
Migrate
wallets.tsx
page from emotion to ChakraRelated Issue
#9353