-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
migrated trilemma modal to shadcn ui sheet component #14102
base: dev
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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 @atharv-av.
There are a few files that shouldn't be modified. LMK if you need help.
.env.example
Outdated
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.
This file should not be modified. Lets revert it.
package-lock.json
Outdated
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.
Same, revert this file. We shouldn't have any changes in this file
yarn.lock
Outdated
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.
idem
</DrawerContent> | ||
</Drawer> | ||
</Hide> | ||
<Sheet open={mobileModalOpen} onOpenChange={handleModalClose}> |
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.
We need to add a condition to only display/use the Sheet in mobile devices. Currently I can see it on desktop https://deploy-preview-14102--ethereumorg.netlify.app/en/roadmap/vision/
Hey @atharv-av wanted to know if you are blocked on this PR or need help. LMK thanks! |
The trilemma modal previously used chakra imports. I replaced them with shadcn ui and tailwind css. Also, I used components from
@/components/ui/flex