-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wallet Connect & Pre-order #28
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! 💪🍀
|
||
<main>{children}</main> | ||
|
||
<Footer /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've merged this PR for other PRs can be handled faster, but just realized this change is reverting what's done in #23,
the gatsby-theme-i18n
actually has an issue gatsbyjs/themes#138 that is wrapping only the main page, not the layout, so the layout is always getting default hard-coded en
https://nft-develop.matters.news/zh/ is always showing en
in header & footer, unless that is wanted; or otherwise will have to move back
Changes
.env.production.json
and.env.development.json
[1];gatsby@4
since it's a stable release and works fine [2];<Layout>
, otherwise they will be re-rendered on page transition;components/Layout/Header/LanguageSwitch
tocomponents/LanguageSwitch
and reused byLayout/Footer
[3];TODO
Upcoming
[1] For local dev, please run
cp .env.development.json .env.json
first;[2] Dependence issue still exist, please run
npm install --legacy-peer-deps
when installing deps;[3] Language switching doesn't work on my local, @tx0c could you take a little check if I am wrong editing?