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

Add Fernando image #54

Merged
merged 7 commits into from
May 16, 2022
Merged

Add Fernando image #54

merged 7 commits into from
May 16, 2022

Conversation

RichardLitt
Copy link
Member

@flickz I'm not sure how to properly reference a local image. Can you help me out?

Related to #51.

@vercel
Copy link

vercel bot commented Mar 30, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/opencollective/digitalinfrastructure/9gJq2yGpkg9Wa4gR14jJiFGGjeTx
✅ Preview: https://digitalinfrastructure-git-feat-add-images-opencollective.vercel.app

@RichardLitt RichardLitt assigned RichardLitt and flickz and unassigned RichardLitt Mar 30, 2022
@flickz
Copy link
Contributor

flickz commented Apr 4, 2022

@RichardLitt To explain the commit a little:

  • I added a new property to the team object called localImagePath, Gatsby automatically identifies the value as a file path and treats it differently
  • I moved the /grantees directory from /src/images to /projects/images/

@RichardLitt
Copy link
Member Author

Hey @flickz - getting to this now, and I'm not able to get this to work on my local dev environment. I keep getting this error:

266:11 error Cannot query field "localImagePath" on type "MdxExportsTeam" graphql/template-strings

Any thoughts?

@RichardLitt RichardLitt requested a review from flickz May 5, 2022 09:39
@vercel
Copy link

vercel bot commented May 16, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
digitalinfrastructure ✅ Ready (Inspect) Visit Preview May 16, 2022 at 1:43PM (UTC)

@RichardLitt RichardLitt merged commit 2e8f42d into main May 16, 2022
@RichardLitt RichardLitt deleted the feat/add-images branch May 16, 2022 14:11
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