menu
Channels
# All channels
view-forward
# General
view-forward
# I Made This
view-forward
# Meta
view-forward
# Themes
view-forward
Team
Posts
Members
Info
down-caret
·23d·Pinned# Meta

📢 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,…

thumbsup
9
message-simple
4

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…

thumbsup
0
message-simple
3

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…

thumbsup
2
message-simple
2

Use a styled components as my global style

Hi, Is there a way of using my Link styled component as my global style <a>? Like in gatsby-config you define that the a tag should be styled with this custom link component.

thumbsup
0
message-simple
1

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…

thumbsup
0
message-simple
0

I'm getting and error on develop/build

Whenever I trying to run gatsby develop or gatsby build I get the following error: Any idea what could be going on? Also, here's me repo/PR: https://github.com/adamrasheed/adamrasheed/pull/1

thumbsup
0
message-simple
2

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…

thumbsup
0
message-simple
0

Gatsby Storefront

Headless eCommerce PWA storefront for Shopify https://github.com/GatsbyStorefront/gatsby-theme-storefront-shopify

thumbsup
3
message-simple
5

How to access data loaded with gatsby-source-graphql in a resolver?

Hi, I'm trying to create a resolver that uses data loaded from by gatsby-source-graphql. I'm having trouble figuring out to query that data inside a resolver. Any advice on what I'm missing would be helpful.

thumbsup
0
message-simple
0

How to mock GraphQL responses for E2E testing?

I need to set up Cypress tests that should run against the Gatsby development server. Is there a way to responses from data sources that i don’t own on a higher level than unit tests?

thumbsup
0
message-simple
0

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. …

thumbsup
2
message-simple
4