From 33fddfc4a623257a129af86650d410292702249e Mon Sep 17 00:00:00 2001 From: Robin Wen Date: Sun, 6 Mar 2022 08:28:39 +0800 Subject: [PATCH 1/7] Remove shutdown notice --- pages/_app.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pages/_app.js b/pages/_app.js index a55790553..90ad58935 100644 --- a/pages/_app.js +++ b/pages/_app.js @@ -3,7 +3,6 @@ import { ThemeProvider } from '@material-ui/core/styles'; import CssBaseline from '@material-ui/core/CssBaseline'; import SnackbarController from '../components/snackbar' -import ShutdownNotice from '../components/shutdownNotice' import stores from '../stores/index.js' @@ -35,19 +34,11 @@ function MyApp({ Component, pageProps }) { stores.dispatcher.dispatch({ type: CONFIGURE }) },[]); - const [shutdownNoticeOpen, setShutdownNoticeOpen] = useState(true); - const closeShutdown = () => { - setShutdownNoticeOpen(false) - } - return ( - { shutdownNoticeOpen && - - } ) } From 840c0ed761837d9dcfed417959ac3c690f142454 Mon Sep 17 00:00:00 2001 From: Robin Wen Date: Sun, 6 Mar 2022 10:53:17 +0800 Subject: [PATCH 2/7] Add twitter --- git_push.sh | 5 +++++ pages/index.js | 8 ++++++++ 2 files changed, 13 insertions(+) create mode 100755 git_push.sh diff --git a/git_push.sh b/git_push.sh new file mode 100755 index 000000000..86f706eaa --- /dev/null +++ b/git_push.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +git add -A . +git commit -S -m "$1" +git push origin main diff --git a/pages/index.js b/pages/index.js index 6ca8f9a7b..4b6bbbbf4 100644 --- a/pages/index.js +++ b/pages/index.js @@ -154,6 +154,14 @@ function Home({ changeTheme, theme }) { Version 1.0.7 +
+ + + + + Follow us on Twitter + +
From 59701b9aef94b7e510fb036281d8f6534a5dd189 Mon Sep 17 00:00:00 2001 From: Robin Wen Date: Sun, 6 Mar 2022 11:07:52 +0800 Subject: [PATCH 3/7] Update GitHub repo url --- pages/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/index.js b/pages/index.js index 4b6bbbbf4..879dda150 100644 --- a/pages/index.js +++ b/pages/index.js @@ -146,20 +146,20 @@ function Home({ changeTheme, theme }) { Add Your Network
- + View Source Code - Version 1.0.7 + Original project by Chainlist
- Follow us on Twitter + Follow me on Twitter
From 88ded1e84c7dfe2a8c745cbea90b3e0e587303a6 Mon Sep 17 00:00:00 2001 From: Robin Wen Date: Sun, 6 Mar 2022 11:27:27 +0800 Subject: [PATCH 4/7] Remove multichain --- pages/index.js | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/pages/index.js b/pages/index.js index 879dda150..3d9561929 100644 --- a/pages/index.js +++ b/pages/index.js @@ -15,7 +15,7 @@ import { import ToggleButton from '@material-ui/lab/ToggleButton'; import ToggleButtonGroup from '@material-ui/lab/ToggleButtonGroup'; import Chain from '../components/chain' -import MultiChain from '../components/multichain' +// import MultiChain from '../components/multichain' import Header from '../components/header' import SearchIcon from '@material-ui/icons/Search'; @@ -85,7 +85,7 @@ function Home({ changeTheme, theme }) { const [ layout, setLayout ] = useState('grid') const [ search, setSearch ] = useState('') - const [ hideMultichain, setHideMultichain ] = useState('1') + // const [ hideMultichain, setHideMultichain ] = useState('1') const router = useRouter() if (router.query.search) { setSearch(router.query.search) @@ -107,18 +107,18 @@ function Home({ changeTheme, theme }) { window.open('https://github.com/ethereum-lists/chains', '_blank') } - const closeMultichain = (perma) => { - setHideMultichain('1') - localStorage.setItem('chainlist.org-hideMultichain', perma ? '1' : '0') - } + // const closeMultichain = (perma) => { + // setHideMultichain('1') + // localStorage.setItem('chainlist.org-hideMultichain', perma ? '1' : '0') + // } useEffect(() => { - const multi = localStorage.getItem('chainlist.org-hideMultichain') - if(multi) { - setHideMultichain(multi) - } else { - setHideMultichain('0') - } + // const multi = localStorage.getItem('chainlist.org-hideMultichain') + // if(multi) { + // setHideMultichain(multi) + // } else { + // setHideMultichain('0') + // } }, []) return ( @@ -239,4 +239,4 @@ export default withTheme(Home) // } // } // -// } +// } \ No newline at end of file From 0216457df526272652e8a0b49de1f4d43c6d69ff Mon Sep 17 00:00:00 2001 From: Robin Wen Date: Sun, 6 Mar 2022 11:30:56 +0800 Subject: [PATCH 5/7] Remove multichain --- pages/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/pages/index.js b/pages/index.js index 3d9561929..e0d7ff48d 100644 --- a/pages/index.js +++ b/pages/index.js @@ -193,7 +193,6 @@ function Home({ changeTheme, theme }) {
- { hideMultichain === '0' && } { data && data.filter((chain) => { if(search === '') { From 87c6a6081d2091b8c1ecd8fae1aad3566ee47514 Mon Sep 17 00:00:00 2001 From: Robin Wen Date: Sun, 6 Mar 2022 14:32:40 +0800 Subject: [PATCH 6/7] Update README --- README.md | 35 +++++------------------------------ 1 file changed, 5 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index b12f3e33e..3f8aa7d3e 100644 --- a/README.md +++ b/README.md @@ -1,34 +1,9 @@ -This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). +# Chainlist -## Getting Started +> Helping users connect to EVM powered networks. -First, run the development server: +Chainlist is a list of EVM networks. Users can use the information to connect their wallets and Web3 middleware providers to the appropriate Chain ID and Network ID to connect to the correct chain. -```bash -npm run dev -# or -yarn dev -``` +Original project by [@antonnell](https://github.com/antonnell/networklist-org). -Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. - -You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file. - -[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`. - -The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. - -## Learn More - -To learn more about Next.js, take a look at the following resources: - -- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. -- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. - -You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! - -## Deploy on Vercel - -The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. - -Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. +Website: [chainlist.network](https://chainlist.network). From 789e871166668d30e2f0d997779cccce270961bf Mon Sep 17 00:00:00 2001 From: Robin Wen Date: Sun, 6 Mar 2022 17:55:12 +0800 Subject: [PATCH 7/7] Update author --- pages/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/index.js b/pages/index.js index e0d7ff48d..ae5ebb640 100644 --- a/pages/index.js +++ b/pages/index.js @@ -152,7 +152,7 @@ function Home({ changeTheme, theme }) { View Source Code - Original project by Chainlist + Original project by @antonnell