📢 Announcing Gatsby Cloud
We’re excited to announce the launch of Gatsby Cloud: a commercial platform of stable, trusted tools that enable web creators to build better websites. Read the full blog post: https://www.gatsbyjs.org/blog/2019-11-14-announcing-gatsby-cloud/ Developers, designers, marketers,…
Passing css module into components
I have 4 sections in my homepage src/pages/index.js in order to make it tidy I want to break the section into 4 different components, let say src/components/foo.js src/components/bar.js src/components/baz.js and src/components/qux.js src/pages/index.js my question is how to…
How to protect chosen routes with password?
Hey there, I'm working on my personal website now and struggling to set up password-protected pages. What I'm looking for is showing password only field on modal or on the protected page itself (if user opens it directly by link). I made a quick visual prototype of my ideas on…
How does Gatsby accomplish serving an html file for every requests?
Suppose there is a directory like this. If I publish it to a static file server(let's say GitHub Pages) and request directly to https://userid.github.io/xxx.html I will get a 404 html of GitHub default. But with files built with gatsby build command, I could get a 404 html of…
Gatsby + Prismic + GraphQL + Live Previews
Has anyone actually gotten the gatsby-source-prismic-graphql plugin to work, so they can see a preview of content? I've tried everything including the example repo, but I'm getting an error: TypeError: o.StaticQuery.propTypes is undefinedon my now.sh instance If anyone has a…
add facebook messenger customer chat to gatsbyjs project
I'd like to add the raw code provided by facebook. I'm trying to add to the html.js filed using this: https://www.gatsbyjs.org/docs/custom-html/ Can't seem to get it to work. I'm open to a gatsby plugin or react component, but none of those have worked either. …