From cfd129fb96299c9e9b5709a2f4e544649a323882 Mon Sep 17 00:00:00 2001 From: Vivian Phung Date: Mon, 26 Feb 2024 16:57:49 -0500 Subject: [PATCH] frontend ignore .env and change image --- .gitignore | 4 ++++ packages/frontend/.env.example | 5 +++++ packages/frontend/.gitignore | 1 + packages/frontend/src/context/Web3ModalProvider.tsx | 4 +++- 4 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 packages/frontend/.env.example diff --git a/.gitignore b/.gitignore index c2658d7d..af6e1d2d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,5 @@ node_modules/ +yarn-error.log +.yarnrc.yml +.yarn/ + diff --git a/packages/frontend/.env.example b/packages/frontend/.env.example new file mode 100644 index 00000000..a460a683 --- /dev/null +++ b/packages/frontend/.env.example @@ -0,0 +1,5 @@ +REACT_APP_SERVER_URL = 'http://localhost:8000' + +REACT_APP_GITHUB_CLIENT_ID = +REACT_APP_GITHUB_TEMPLATE_REPO = +REACT_APP_WALLET_CONNECT_ID = \ No newline at end of file diff --git a/packages/frontend/.gitignore b/packages/frontend/.gitignore index 4d29575d..8692cf66 100644 --- a/packages/frontend/.gitignore +++ b/packages/frontend/.gitignore @@ -13,6 +13,7 @@ # misc .DS_Store +.env .env.local .env.development.local .env.test.local diff --git a/packages/frontend/src/context/Web3ModalProvider.tsx b/packages/frontend/src/context/Web3ModalProvider.tsx index 3b2363c2..c482588f 100644 --- a/packages/frontend/src/context/Web3ModalProvider.tsx +++ b/packages/frontend/src/context/Web3ModalProvider.tsx @@ -28,7 +28,9 @@ const metadata = { name: 'Web3Modal', description: 'Snowball Web3Modal', url: window.location.origin, - icons: ['https://avatars.githubusercontent.com/u/37784886'], + icons: [ + 'https://raw.githubusercontent.com/snowball-tools/mediakit/main/assets/logo.svg', + ], }; const chains = [mainnet, arbitrum] as const;