Skip to content

Conversation

Andreas-Bombaert
Copy link
Contributor

Replace <img> tags to <GatsbyImage> only for local images,

I had to refactor photos folder to be used by graphql.

It seems that Gatsby Images are not made use paths as it has been done on this project, so if we want to use Gatsby Images for dynamic components like person.js we should use local images, or keep using <img> tags.

I also think that there are some deprecated packages that disturb gatsby-plugin-image when loading the index first image

One last thing, Gatsby Images do not handle .svg files, maybe we should switch logo file to png, or decide to finally not use gatsby-plugin-image

@William-McGonagle William-McGonagle merged commit e7cb318 into fairfield-programming:master Dec 27, 2022
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