Gatsby / GraphQL App - Rendering and Style Issues When Deployed (Netlify and Surge.sh) #30322
Unanswered
jordanwhunter
asked this question in
Help
Replies: 0 comments
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.
-
Description
Built a portfolio page with
Gatsby
/GraphQL
, usingstyled components
. On my local machine, it looks and functions exactly as I want it to. When deployed, there seem to be button style issues and one of my images isn't rendering at all. I tried deploying on bothNetlify
andSurge.sh
, but had the same result both times. What am I doing incorrectly? Edit: could my button styles be affected by howLink
is used?Steps to reproduce
Netlify
https://github.com/jordanwhunter/portfolio
Surge.sh
https://github.com/jordanwhunter/portfolio
gatsby build
surge public/
Expected result
Button styles locally:

About Me section locally (2 columns):

Actual result
Button styles deployed ('View Repo' doesn't even work deployed):

About Me section deployed (only column 1 shows):

Environment
3.0.1
3.0.0
14.16.0
7.6.2
Code
gatsby-config.js
package.json
Portfolio.js (button code starts on line 226)
About.js (column 2 code starts on line 137):
Beta Was this translation helpful? Give feedback.
All reactions