-
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 - PageHero #13723
Shadcn migration - PageHero #13723
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.
@saurabhburade LGTM! thanks
I've pushed a commit with minor style tweaks to align with latest design decisions.
eventName: button.matomo.eventName, | ||
}) | ||
} | ||
customEventOptions={{ |
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.
Nice!
tailwind.config.ts
Outdated
@@ -102,7 +102,10 @@ const config = { | |||
800: "var(--orange-800)", | |||
900: "var(--orange-900)", | |||
}, | |||
|
|||
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.
Gonna remove these colors because we now default to white in the hero texts.
src/components/PageHero.tsx
Outdated
ps={{ base: 0, lg: 8 }} | ||
me={{ base: 0, lg: 4 }} | ||
<div | ||
// TODO: container.sm width unavailable |
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.
Removing comment since we will not have this measure (640px) on the new theme. We can treat it now as a custom size.
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.
Gotcha!! So every container.sm
is considered as a custom size of (640px)
.
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.
Yeah, we don't have that breakpoint on the theme anymore.
Description
Migrate PageHero to tailwind.