Replies: 1 comment
-
Related to #31326 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So given I have various company logos.
I would like to make a component that does something like:
What is the best practice to incorporate this design with
gatsby-plugin-image
? I'm also open to alternative practice if what I'm thinking is not ideal.Currently what I'm doing is to run a GraphQL static query in
CompanyLogo
to retrieve all company logos, then use JS function to find the one I want depending on the received prop.I have very little knowledge of GraphQL. Will this have any impact on performance.
Beta Was this translation helpful? Give feedback.
All reactions