-
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
Shadcn migration - EnergyConsumptionChart #13633
Shadcn migration - EnergyConsumptionChart #13633
Conversation
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Blockers
|
This was moved recently to https://github.com/ethereum/ethereum-org-website/blob/dev/src/components/ui/buttons/Button.tsx |
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.
@saurabhburade great job and thanks for the details. Left a couple of comments to reuse a few functions/components that we have built in the transition.
useBreakpointValue, | ||
useColorModeValue, | ||
} from "@chakra-ui/react" | ||
import { useBreakpointValue, useColorModeValue } from "@chakra-ui/react" |
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 about useBreakpointValue
. We need to think how we could replace it but not a blocker for this PR though.
cc @TylerAPfledderer maybe something we could do with tv responsive variants? do you have something in mind?
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.
LGTM! thanks @saurabhburade
Description
Migrate EnergyConsumptionChart to tailwind.