-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
chore(www): convert ImagePlaceholder used in guidelines to theme-ui #25078
chore(www): convert ImagePlaceholder used in guidelines to theme-ui #25078
Conversation
…e/image-placeholder
@tesseralis |
import { jsx } from "theme-ui" | ||
import { Box } from "theme-ui" |
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.
Can we combine these together or does it break the JSX pragma?
import { jsx } from "theme-ui" | |
import { Box } from "theme-ui" | |
import { jsx, Box } from "theme-ui" |
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, just a minor comment about whether we can combine imports
Yes, I combined them, please check now |
@tesseralis can I get a review on this and my other PR’s? |
Description
Convert the
<ImagePlaceholder/>
component to theme-uiScreenshot(s)
How to test
The ImagePlaceholder is being used only on typography page, it is used at 3 places, the images are provided above
The images provided above should look same on both local and production URL mentioned below
Local URL: http://localhost:8000/guidelines/typography/
Production URL: https://www.gatsbyjs.org/guidelines/typography/