gatsbyjs / themes

This is a repo for Gatsby's official themes.
138 stars 77 forks source link

Particles component vanishes in locale #91

Closed onurtahmaz closed 3 years ago

onurtahmaz commented 3 years ago

Hey,

I've come across this problem while implementing gatsby-theme-i18 to a website I've been working on:

I use particles.js library in the layout component and the default locale is English. However, when I switch to Turkish, the particles component vanishes. When I switch back to English, I see the particles component again. I cannot make it work for the other language. I even couldn't find a connection between particles.js and gatsby-theme-i18.

Any help would be much obliged!

Here is the part including the particles component:

I don't really know if the problem originates from "gatsby-theme-i18", but that is what I thought in the end.

onurtahmaz commented 3 years ago

problem was because of Gatsby-background-image's Tag being html. I changed it to div and problem was solved.