Skip to content
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

Merged
merged 5 commits into from
Sep 6, 2024

Conversation

saurabhburade
Copy link
Contributor

Description

Migrate PageHero to tailwind.

Copy link

netlify bot commented Aug 26, 2024

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit c2a626f
🔍 Latest deploy log https://app.netlify.com/sites/ethereumorg/deploys/66dab444b3da260008d10f36
😎 Deploy Preview https://deploy-preview-13723--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 43 (🔴 down 5 from production)
Accessibility: 94 (🟢 up 1 from production)
Best Practices: 83 (🔴 down 9 from production)
SEO: 93 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

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.

@saurabhburade LGTM! thanks

I've pushed a commit with minor style tweaks to align with latest design decisions.

eventName: button.matomo.eventName,
})
}
customEventOptions={{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@@ -102,7 +102,10 @@ const config = {
800: "var(--orange-800)",
900: "var(--orange-900)",
},

text: {
Copy link
Member

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.

ps={{ base: 0, lg: 8 }}
me={{ base: 0, lg: 4 }}
<div
// TODO: container.sm width unavailable
Copy link
Member

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.

Copy link
Contributor Author

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) .

Copy link
Member

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.

@pettinarip pettinarip merged commit 0ecabb6 into ethereum:dev Sep 6, 2024
6 of 8 checks passed
This was referenced Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants