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

chore(www): convert ImagePlaceholder used in guidelines to theme-ui #25078

Merged
merged 6 commits into from
Jun 25, 2020
Merged

chore(www): convert ImagePlaceholder used in guidelines to theme-ui #25078

merged 6 commits into from
Jun 25, 2020

Conversation

abhishekjakhar
Copy link
Contributor

Description

Convert the <ImagePlaceholder/> component to theme-ui

Screenshot(s)

image-placeholder-1

image-placeholder-2

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/

@abhishekjakhar abhishekjakhar requested a review from fk June 17, 2020 19:37
@abhishekjakhar abhishekjakhar requested a review from a team as a code owner June 17, 2020 19:37
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jun 17, 2020
tesseralis
tesseralis previously approved these changes Jun 17, 2020
@abhishekjakhar
Copy link
Contributor Author

abhishekjakhar commented Jun 17, 2020

@tesseralis
Gatsby Build Service - using-styled-components this is failing for every build, I don't have any idea about this, it was not there before

@abhishekjakhar abhishekjakhar added topic: website and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Jun 17, 2020
Comment on lines 2 to 3
import { jsx } from "theme-ui"
import { Box } from "theme-ui"
Copy link
Contributor

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?

Suggested change
import { jsx } from "theme-ui"
import { Box } from "theme-ui"
import { jsx, Box } from "theme-ui"

tesseralis
tesseralis previously approved these changes Jun 19, 2020
Copy link
Contributor

@tesseralis tesseralis left a 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

@abhishekjakhar
Copy link
Contributor Author

abhishekjakhar commented Jun 19, 2020

lgtm, just a minor comment about whether we can combine imports

Yes, I combined them, please check now

@abhishekjakhar
Copy link
Contributor Author

@tesseralis can I get a review on this and my other PR’s?

@tesseralis tesseralis merged commit ff83475 into gatsbyjs:master Jun 25, 2020
@abhishekjakhar abhishekjakhar deleted the chore/image-placeholder branch June 25, 2020 06:52
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