Help with correctly laying things our for a noob.. #33700
Unanswered
OldSkoolTips
asked this question in
Help
Replies: 1 comment
-
Any imports from the same location can be joined together so for example..
Can be.. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
EDIT - Solved. Installed react-reveal using yarn to avoid dependency issues with npm. works flawlessly.
Hi.. so I started with Gatsby around 3 weeks ago. I jumped straight in and started adding everything and now its come back to bite and I don't really know how to arrange things correctly and need your help..
So im building a web site for my sis and would like to add some fancy scrolling effects.
Honestly I'm asking If anyone has any time spare to show me what I should do to get this work.
Ive correctly added the initial parts to a test gatsby hello world setup with JS in the static folder and calling it via Helmet and withPrefix today and they work fine..
But on my site that I started 3 weeks ago. everything works on first load but then if I go to another page and come back to index.js i get Identifier 'scrollElements' has already been declared - errors.
I know it's my not understanding how to lay things out properly and the difference between exports and const etc but just can't get my head around what I need to sort out on my Index page.. We we're all noobs once right? But it's infuriating..
So here is the page where everything works as it should on todays hello world setup...
And here is my actual page where I need to get this to work... you can see I have a Row with
<Row className="scroll-element js-scroll slide-right card-padding center-block text-center mb-3">
Beta Was this translation helpful? Give feedback.
All reactions