Skip to content
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

Merged
merged 14 commits into from
Oct 25, 2021
Merged

Wallet Connect & Pre-order #28

merged 14 commits into from
Oct 25, 2021

Conversation

robertu7
Copy link
Contributor

@robertu7 robertu7 commented Oct 24, 2021

Changes

  • Add support for connecting Ethereum wallet via MetaMask or WalletConnect;
  • Add pre-order functionality;
  • Add "Sign In with Matters" functionality;
  • Add .env.production.json and .env.development.json [1];
  • Upgrade to gatsby@4 since it's a stable release and works fine [2];
  • Add favicons;
  • Move page header & footer back to <Layout>, otherwise they will be re-rendered on page transition;
  • Move components/Layout/Header/LanguageSwitch to components/LanguageSwitch and reused by Layout/Footer [3];

TODO

  • Update pre-order logic once contract adds quantity support;

Upcoming

  • Airdrop

[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?

@robertu7 robertu7 mentioned this pull request Oct 24, 2021
@robertu7 robertu7 changed the title WIP: Wallet Connect & Pre-order Wallet Connect & Pre-order Oct 25, 2021
This was linked to issues Oct 25, 2021
Copy link
Contributor

@guoliu guoliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 💪🍀

@tx0c tx0c merged commit 541896f into develop Oct 25, 2021
@tx0c tx0c deleted the feature/wallet-connect branch October 25, 2021 18:00

<main>{children}</main>

<Footer />
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[NFT Page] - Preorder dialog [NFT Page] - Connect Wallet
3 participants