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

Deploy xDAI change to master #393

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
7df6ea7
Integration 2 (#392)
makoto Oct 10, 2020
0a1018d
Remove console.log
makoto Oct 10, 2020
cd0b558
Make banner dynamic based on date (#394)
makoto Nov 14, 2020
11a9bb5
Contribution fee (#395)
makoto Nov 28, 2020
d45cf99
Add DEPLOYER_QUERY for debugging purpose (#396)
makoto Dec 10, 2020
29e9a63
Change twitter-avatar address (#399)
makoto Dec 29, 2020
9050523
Reenable twitter avatar (#407)
makoto May 9, 2021
58013e4
Whitelist event (#409)
makoto May 29, 2021
64d1543
Display snapshot and POAP + ENS support (#411)
makoto Jun 2, 2021
ffef628
Show activities of non users (#412)
makoto Jun 13, 2021
0e681dc
Add reasoning to 'Can I cancel my registration' (#415)
timhc22 Aug 7, 2021
8e1f989
v1.1.0: Last known version deployed to xdai
makoto Aug 14, 2021
a7771a8
Polygon support (#422)
makoto Aug 14, 2021
79e0fc9
Add Network name
makoto Aug 14, 2021
484db1f
Point to snapshot org (#423)
makoto Aug 19, 2021
0026cd0
Add notify (#424)
makoto Aug 19, 2021
662e692
Matic bridge url (#426)
makoto Aug 22, 2021
a2669f2
Fix download csv button error (#427)
makoto Aug 29, 2021
924f53e
Nft (#428)
makoto Aug 31, 2021
5c7a40b
Change precision from 2 to 3 (#434)
makoto Sep 6, 2021
060d454
Update clr banner (#435)
makoto Sep 8, 2021
4c14d67
Save POAP (#437)
makoto Sep 8, 2021
488168b
Change to CLR 11
makoto Sep 9, 2021
6b8a220
Make private events hidden (#438)
makoto Sep 13, 2021
bfef9f7
Fix white page (#441)
makoto Sep 21, 2021
c28617c
multiple POAP badge (#443)
makoto Sep 25, 2021
dd17b0c
Participantslength and admin event (#444)
makoto Sep 25, 2021
81136cd
Latency warning (#445)
makoto Sep 25, 2021
c88200a
Fix poap page bug (#448)
makoto Dec 7, 2021
eb4e2b7
Add MIT
makoto Jan 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .deploy/now.polygon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"version": 2,
"scope": "wearekickback",
"builds": [
{ "src": "build/**", "use": "@now/static" },
{ "src": "api/**", "use": "@now/node" }
],
"routes": [
{ "src": "/", "dest": "build/index.html" },
{ "src": "/gettingstarted", "dest": "build/index.html" },
{ "src": "/faq", "dest": "build/index.html" },
{ "src": "/team", "dest": "build/index.html" },
{ "src": "/terms", "dest": "build/index.html" },
{ "src": "/privacy", "dest": "build/index.html" },
{ "src": "/pricing", "dest": "build/index.html" },
{ "src": "/create/?", "dest": "build/index.html" },
{ "src": "/deploy/?", "dest": "build/index.html" },
{ "src": "/events/?", "dest": "build/index.html" },
{ "src": "/event/.+", "dest": "api/event.js" },
{ "src": "/user/.+", "dest": "build/index.html" },
{
"src": "/service-worker.js",
"dest": "build/service-worker.js",
"headers": { "cache-control": "no-cache" }
},
{ "src": "/(.+)", "dest": "build/$1" }
]
}
3 changes: 1 addition & 2 deletions .deploy/now.rinkeby.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"version": 2,
"name": "kickback-app-rinkeby",
"alias": "rinkeby.kickback.events",
"scope": "wearekickback",
"builds": [
{ "src": "build/**", "use": "@now/static" },
{ "src": "api/**", "use": "@now/node" }
Expand Down
28 changes: 28 additions & 0 deletions .deploy/now.xdai.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"version": 2,
"scope": "wearekickback",
"builds": [
{ "src": "build/**", "use": "@now/static" },
{ "src": "api/**", "use": "@now/node" }
],
"routes": [
{ "src": "/", "dest": "build/index.html" },
{ "src": "/gettingstarted", "dest": "build/index.html" },
{ "src": "/faq", "dest": "build/index.html" },
{ "src": "/team", "dest": "build/index.html" },
{ "src": "/terms", "dest": "build/index.html" },
{ "src": "/privacy", "dest": "build/index.html" },
{ "src": "/pricing", "dest": "build/index.html" },
{ "src": "/create/?", "dest": "build/index.html" },
{ "src": "/deploy/?", "dest": "build/index.html" },
{ "src": "/events/?", "dest": "build/index.html" },
{ "src": "/event/.+", "dest": "api/event.js" },
{ "src": "/user/.+", "dest": "build/index.html" },
{
"src": "/service-worker.js",
"dest": "build/service-worker.js",
"headers": { "cache-control": "no-cache" }
},
{ "src": "/(.+)", "dest": "build/$1" }
]
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ tmp/*
# IDE
.idea
.vscode

.vercel
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v14.17.0
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: node_js
node_js:
- lts/dubnium
node_js: 14
cache: yarn
branches:
only:
Expand Down
7 changes: 7 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
The MIT License (MIT) Copyright (c)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,23 @@ $ yarn run cypress:open
```

Seed script must be re-run to test again.

## Deploying to xdai env manually

```
vercel login
vercel switch wearekickback
vercel -f --local-config .deploy/now.xdai.json --public --prod
```

## Deploying to Polygon env manually



```
vercel login
vercel switch wearekickback
// 1. Make sure .vercel/project.json points to Polygon project
yarn build:release:polygon
vercel -f --local-config .deploy/now.polygon.json --public --prod
```
35 changes: 23 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "app",
"version": "1.0.0",
"version": "1.2.0",
"private": true,
"dependencies": {
"@emotion/core": "^10.0.27",
"@emotion/styled": "^10.0.27",
"@ensdomains/renewal-widget": "^0.1.9",
"@wearekickback/contracts": "^1.2.9",
"@ensdomains/ens-contracts": "^0.0.3",
"@wearekickback/contracts": "1.5.0",
"@wearekickback/shared": "^1.14.1",
"apollo-cache-inmemory": "^1.2.8",
"apollo-client": "^2.4.0",
Expand All @@ -15,7 +15,8 @@
"apollo-link-state": "^0.4.1",
"apollo-upload-client": "^10.0.0",
"apollo-utilities": "^1.0.21",
"bnc-onboard": "^1.7.1",
"bnc-notify": "^1.9.1",
"bnc-onboard": "^1.34.1",
"decimal.js": "^10.0.1",
"es6-promisify": "^6.0.0",
"ethereum-event-logs": "^1.0.2",
Expand All @@ -33,7 +34,7 @@
"query-string": "^6.2.0",
"rc-time-picker": "^3.6.2",
"react": "^16.13.1",
"react-apollo": "^2.2.4",
"react-apollo": "^3.1.5",
"react-blockies": "^1.4.1",
"react-day-picker": "^7.3.0",
"react-dom": "^16.8.1",
Expand All @@ -51,12 +52,12 @@
"react-tiny-link": "^3.4.0",
"react-tooltip": "^3.9.0",
"sanitize-html": "^1.20.1",
"smart-chat-react": "^0.1.15",
"truffle": "^5.0.0-beta.0",
"truffle": "^5.1.30",
"use-interval": "^1.2.1",
"uuid": "^3.3.2",
"web3": "1.0.0-beta.36",
"web3-utils": "^1.0.0-beta.36",
"vercel": "^20.1.0",
"web3": "^1.3.5",
"web3-utils": "^1.3.5",
"whatwg-fetch": "^3.0.0"
},
"scripts": {
Expand All @@ -69,13 +70,17 @@
"build:release:rinkeby": "yarn setup --rinkeby && yarn build",
"build:release:alpha": "yarn setup --alpha && yarn build",
"build:release:live": "yarn setup --live && yarn build",
"build:release:xdai": "yarn setup --xdai && yarn build",
"build:release:polygon": "yarn setup --polygon && yarn build",
"deploy:ropsten": "yarn build:release:ropsten && yarn now -f --local-config .deploy/now.ropsten.json --public && yarn now alias --local-config .deploy/now.ropsten.json && yarn now rm kickback-app-ropsten --safe --yes",
"deploy:rinkeby": "yarn build:release:rinkeby && yarn now -f --local-config .deploy/now.rinkeby.json --public && yarn now alias --local-config .deploy/now.rinkeby.json && yarn now rm kickback-app-rinkeby --safe --yes",
"deploy:kovan": "yarn build:release:kovan && yarn now -f --local-config .deploy/now.kovan.json --public && yarn now alias --local-config .deploy/now.kovan.json && yarn now rm kickback-app-kovan --safe --yes",
"deploy:alpha": "yarn build:release:alpha && yarn now -f --local-config .deploy/now.alpha.json --public && yarn now alias --local-config .deploy/now.alpha.json && yarn now rm kickback-app-alpha --safe --yes",
"deploy:live": "yarn build:release:live && yarn now -f --local-config .deploy/now.live.json --public && yarn now alias --local-config .deploy/now.live.json && yarn now rm kickback-app-live --safe --yes",
"deploy:xdai": "yarn build:release:xdai && yarn now -f --local-config .deploy/now.xdai.json --public && yarn now alias --local-config .deploy/now.xdai.json && yarn now rm kickback-app-xdai --safe --yes",
"deploy:polygon": "yarn build:release:polygon && vercel -f --local-config .deploy/now.xdai.json --public --prod",
"deploy:dev": "yarn deploy:rinkeby",
"deploy:branch": "/bin/sh -c 'if [ \"$TRAVIS_BRANCH\" = \"master\" ]; then yarn deploy:live; elif [ \"$TRAVIS_BRANCH\" = \"dev\" ]; then yarn deploy:dev; fi'",
"deploy:branch": "/bin/sh -c 'if [ \"$TRAVIS_BRANCH\" = \"master\" ]; then yarn deploy:polygon; elif [ \"$TRAVIS_BRANCH\" = \"dev\" ]; then yarn deploy:dev; fi'",
"deploy:pr": "yarn build:release:rinkeby && scripts/deployTravisBuildToSurge.sh",
"deploy": "/bin/sh -c 'if [ \"$TRAVIS_PULL_REQUEST\" = \"false\" ]; then yarn deploy:branch; else yarn deploy:pr; fi'",
"precommit": "lint-staged",
Expand All @@ -85,7 +90,7 @@
"eject": "react-scripts eject",
"storybook": "start-storybook -p 9009 -s public",
"build-storybook": "build-storybook -s public",
"now": "now --team wearekickback --token $NOW_TOKEN"
"now": "vercel --scope wearekickback -t $NOW_TOKEN"
},
"devDependencies": {
"@storybook/addon-actions": "^3.4.11",
Expand All @@ -103,6 +108,12 @@
"surge": "^0.20.1",
"yargs": "^12.0.2"
},
"optionalDependencies":{
"fsevents": "2.3.2"
},
"resolutions": {
"fsevents": "2.3.2"
},
"lint-staged": {
"*.js": [
"npm run pretty",
Expand All @@ -122,6 +133,6 @@
]
},
"engines": {
"node": "10.x"
"node": "14.x"
}
}
126 changes: 78 additions & 48 deletions scripts/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,61 +30,91 @@ appConfig.API_URL = 'http://localhost:3001'
if (undefined === appConfig.NUM_CONFIRMATIONS) {
appConfig.NUM_CONFIRMATIONS = 1
}

if (argv.ropsten) {
appConfig.ENV = 'ropsten'
appConfig.API_URL = 'https://kickback-ropsten.herokuapp.com'
appConfig.GIT_COMMIT = getGitCommit()
appConfig.ROLLBAR_TOKEN = '37e0bca9006a4a348e244ae2d233d660'
appConfig.BLOCKNATIVE_DAPPID = '18cb2fa0-5941-43a2-b71d-07221c15a50f'
appConfig.INFURA_KEY = 'cd1ba006128543a0a11d23e54efaab93'
appConfig.FORTMATIC_KEY = 'pk_test_D3CAA2AEFE6A022E'
appConfig.PORTIS_KEY = '0ae69aa0-2a4e-41b2-a312-4aa2de69626e'
appConfig.SQUARELINK_KEY = '7918e26f77908d911fac'
} else if (argv.rinkeby) {
appConfig.ENV = 'rinkeby'
appConfig.API_URL = 'https://kickback-rinkeby.herokuapp.com'
appConfig.GIT_COMMIT = getGitCommit()
appConfig.ROLLBAR_TOKEN = 'e676d64e462b48d098a12db8a173598a'
appConfig.BLOCKNATIVE_DAPPID = '27b3eac2-e46c-428a-9a0c-56cce2725d42'
appConfig.INFURA_KEY = 'cd1ba006128543a0a11d23e54efaab93'
appConfig.FORTMATIC_KEY = 'pk_test_D3CAA2AEFE6A022E'
appConfig.PORTIS_KEY = '0ae69aa0-2a4e-41b2-a312-4aa2de69626e'
appConfig.SQUARELINK_KEY = '7918e26f77908d911fac'
} else if (argv.kovan) {
appConfig.ENV = 'kovan'
appConfig.API_URL = 'https://kickback-kovan.herokuapp.com'
// Hardcode polygon
// if (argv.ropsten) {
// appConfig.ENV = 'ropsten'
// appConfig.API_URL = 'https://kickback-ropsten.herokuapp.com'
// appConfig.GIT_COMMIT = getGitCommit()
// appConfig.ROLLBAR_TOKEN = '37e0bca9006a4a348e244ae2d233d660'
// appConfig.BLOCKNATIVE_DAPPID = '18cb2fa0-5941-43a2-b71d-07221c15a50f'
// appConfig.INFURA_KEY = 'cd1ba006128543a0a11d23e54efaab93'
// appConfig.FORTMATIC_KEY = 'pk_test_D3CAA2AEFE6A022E'
// appConfig.PORTIS_KEY = '0ae69aa0-2a4e-41b2-a312-4aa2de69626e'
// appConfig.SQUARELINK_KEY = '7918e26f77908d911fac'
// } else if (argv.rinkeby) {
// appConfig.ENV = 'rinkeby'
// appConfig.API_URL = 'https://kickback-rinkeby.herokuapp.com'
// appConfig.GIT_COMMIT = getGitCommit()
// appConfig.ROLLBAR_TOKEN = 'e676d64e462b48d098a12db8a173598a'
// appConfig.BLOCKNATIVE_DAPPID = '27b3eac2-e46c-428a-9a0c-56cce2725d42'
// appConfig.INFURA_KEY = 'cd1ba006128543a0a11d23e54efaab93'
// appConfig.FORTMATIC_KEY = 'pk_test_D3CAA2AEFE6A022E'
// appConfig.PORTIS_KEY = '0ae69aa0-2a4e-41b2-a312-4aa2de69626e'
// appConfig.SQUARELINK_KEY = '7918e26f77908d911fac'
// } else if (argv.kovan) {
// appConfig.ENV = 'kovan'
// appConfig.API_URL = 'https://kickback-kovan.herokuapp.com'
// appConfig.GIT_COMMIT = getGitCommit()
// appConfig.ROLLBAR_TOKEN = ''
// appConfig.BLOCKNATIVE_DAPPID = ''
// appConfig.INFURA_KEY = 'cd1ba006128543a0a11d23e54efaab93'
// appConfig.FORTMATIC_KEY = 'pk_test_D3CAA2AEFE6A022E'
// appConfig.PORTIS_KEY = '0ae69aa0-2a4e-41b2-a312-4aa2de69626e'
// appConfig.SQUARELINK_KEY = '7918e26f77908d911fac'
// } else if (argv.alpha) {
// appConfig.ENV = 'alpha'
// appConfig.API_URL = 'https://kickback-alpha.herokuapp.com'
// appConfig.GIT_COMMIT = getGitCommit()
// appConfig.ROLLBAR_TOKEN = ''
// appConfig.BLOCKNATIVE_DAPPID = ''
// appConfig.INFURA_KEY = 'cd1ba006128543a0a11d23e54efaab93'
// appConfig.FORTMATIC_KEY = 'pk_test_D3CAA2AEFE6A022E'
// appConfig.PORTIS_KEY = '0ae69aa0-2a4e-41b2-a312-4aa2de69626e'
// appConfig.SQUARELINK_KEY = '7918e26f77908d911fac'
// } else if (argv.xdai) {
// appConfig.ENV = 'xdai'
// appConfig.API_URL = 'https://kickback-xdai.herokuapp.com'
// appConfig.GIT_COMMIT = getGitCommit()
// appConfig.ROLLBAR_TOKEN = ''
// appConfig.BLOCKNATIVE_DAPPID = ''
// appConfig.INFURA_KEY = 'cd1ba006128543a0a11d23e54efaab93'
// appConfig.FORTMATIC_KEY = 'pk_test_D3CAA2AEFE6A022E'
// appConfig.PORTIS_KEY = '0ae69aa0-2a4e-41b2-a312-4aa2de69626e'
// appConfig.SQUARELINK_KEY = '7918e26f77908d911fac'
// appConfig.PLATFORM_FEE_ADDRESS = '0xeC34bf8f41BC951071A501502e1E60Af0cC9f9d6'
// appConfig.NETWORK_NAME = 'xdai'
// } else if (argv.polygon) {
if (argv.polygon) {
appConfig.ENV = 'polygon'
appConfig.API_URL = 'https://kickback-polygon.herokuapp.com'
appConfig.GIT_COMMIT = getGitCommit()
appConfig.ROLLBAR_TOKEN = ''
appConfig.BLOCKNATIVE_DAPPID = ''
appConfig.INFURA_KEY = 'cd1ba006128543a0a11d23e54efaab93'
appConfig.INFURA_KEY = '3f0f6038f2614a7994fb48b7031e22ad'
appConfig.FORTMATIC_KEY = 'pk_test_D3CAA2AEFE6A022E'
appConfig.PORTIS_KEY = '0ae69aa0-2a4e-41b2-a312-4aa2de69626e'
appConfig.SQUARELINK_KEY = '7918e26f77908d911fac'
} else if (argv.alpha) {
appConfig.ENV = 'alpha'
appConfig.API_URL = 'https://kickback-alpha.herokuapp.com'
appConfig.GIT_COMMIT = getGitCommit()
appConfig.ROLLBAR_TOKEN = ''
appConfig.BLOCKNATIVE_DAPPID = ''
appConfig.INFURA_KEY = 'cd1ba006128543a0a11d23e54efaab93'
appConfig.FORTMATIC_KEY = 'pk_test_D3CAA2AEFE6A022E'
appConfig.PORTIS_KEY = '0ae69aa0-2a4e-41b2-a312-4aa2de69626e'
appConfig.SQUARELINK_KEY = '7918e26f77908d911fac'
} else if (argv.live) {
appConfig.ENV = 'live'
appConfig.API_URL = 'https://kickback-live.herokuapp.com'
appConfig.GIT_COMMIT = getGitCommit()
appConfig.MIXPANEL_ID = '11a2f7a59470cdb46cb611c5d22876f2'
appConfig.LOGROCKET_TOKEN = '5gnafo/kickback-live'
appConfig.ROLLBAR_TOKEN = 'bfb8dfff7ff44f6fa6a13d4571447c28'
appConfig.BLOCKNATIVE_DAPPID = '612ef703-3041-442c-b246-cf68604b8ce9'
appConfig.INFURA_KEY = 'cd1ba006128543a0a11d23e54efaab93'
appConfig.FORTMATIC_KEY = 'pk_live_34FA001C997028B0'
appConfig.PORTIS_KEY = '0ae69aa0-2a4e-41b2-a312-4aa2de69626e'
appConfig.SQUARELINK_KEY = '7918e26f77908d911fac'
appConfig.PLATFORM_FEE_ADDRESS = '0x24362A8b91baded7Aa4F5FCaAA5B0032864B9f25'
appConfig.NETWORK_NAME = 'polygon-mainnet'
// } else if (argv.live) {
// appConfig.ENV = 'live'
// appConfig.API_URL = 'https://kickback-live.herokuapp.com'
// appConfig.GIT_COMMIT = getGitCommit()
// appConfig.MIXPANEL_ID = '11a2f7a59470cdb46cb611c5d22876f2'
// appConfig.LOGROCKET_TOKEN = '5gnafo/kickback-live'
// appConfig.ROLLBAR_TOKEN = 'bfb8dfff7ff44f6fa6a13d4571447c28'
// appConfig.BLOCKNATIVE_DAPPID = '612ef703-3041-442c-b246-cf68604b8ce9'
// appConfig.INFURA_KEY = 'cd1ba006128543a0a11d23e54efaab93'
// appConfig.FORTMATIC_KEY = 'pk_live_34FA001C997028B0'
// appConfig.PORTIS_KEY = '0ae69aa0-2a4e-41b2-a312-4aa2de69626e'
// appConfig.SQUARELINK_KEY = '7918e26f77908d911fac'
// appConfig.NETWORK_NAME = 'mainnet'
} else {
// local
appConfig.PLATFORM_FEE_ADDRESS = '0x4ef57faD87Ce46e3f63C8F6B7A1ACB987e9140Fe' // Some random address
appConfig.NETWORK_NAME = 'local'
}

console.log('***appConfig', { appConfig })
const str = JSON.stringify(appConfig, null, 2)
console.log(str)

Expand Down
2 changes: 2 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import DefaultLayout, {
} from './layout/Layouts'

import AllEvents from './routes/AllEvents'
import AdminEvents from './routes/AdminEvents'
import CreateEvent from './routes/CreateEvent'
import SingleEvent from './routes/SingleEvent'
import SingleEventChallenge from './routes/SingleEventChallenge'
Expand Down Expand Up @@ -86,6 +87,7 @@ class App extends Component {
layout={NoWeb3CheckLayout}
/>
<Route path="/create" component={CreateEvent} />
<Route path="/admin" component={AdminEvents} />
<Route path="/faq" component={Faq} layout={NoWeb3CheckLayout} />
<Route
path="/terms"
Expand Down
Loading