I would like to pass state to a sibling or even a grandparent whatever.  I have 3 components. Inside Header, I have a button with an onClick function to toggle a Dropdown Menu inside Navigation. And by the way, I would like to pass the same state to...
In the Contentful CMS, I have two different content-types: BigCaseStudy and BigCaseStudySection. To get this content to appear in my Gatsby 2.x site, my thinking was:   Do query 1, which gets all the BigCaseStudy fields I want to display, and also co...
I am building a multi-page website (so, multi Component) with Gatsby. On the official documentation it says that in the Layouts folder I should have the file index.js which stores the components common to the other pages (such as the navbar and the f...
I have been tweaking in Gatsby and by far it provides seamless functionality for static websites. I have stack where I need to design layouts using bootstrap as far as layouts are concerned bootstrap works well but for additional support like dropdow...
i am going through this tutorial: https://www.gatsbyjs.org/blog/2017-07-19-creating-a-blog-with-gatsby/  I have completed everything, and I am getting a graphQL compile error:   GraphQL Error There was an error while compiling your site's GraphQL...
I am pretty much familiar with the React.js but new to Gatsby.  I want to detect the previous page URL in Gatsby?...
I'm stuggling to figure out how to query for multiple specific images with GraphQL in Gatsbyjs. My initial thought was to do something like this:    file(relativePath: {eq: "images/front.jpg"}) {   id } file(relativePath: {eq: "images...
I have already set up a social sharing image for my root route in React Helmet with the following code:  <meta property="og:url" content="https://foo.com" /> <meta property="og:image" content="https://myhostedimg....
I'm creating a website using Gatsby.js. In my component, I'd created animation using Gsap, inside useEffect function.  While debugging, all works. In production the useEffect function not running, what follows to not showing animations.  What...
I have a Gatsby site on Gitlab deployed to Netlify and using Netlify-CMS. Netlify makes it possible to push the site to different branches and have each deployed to a separate url. For example my current site has a production branch deployed to examp...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.