diff --git a/.env.sample b/.env.sample index 61aa907..d4ff8a1 100644 --- a/.env.sample +++ b/.env.sample @@ -1 +1,2 @@ -REACT_APP_INFURA_KEY= \ No newline at end of file +REACT_APP_INFURA_KEY= +REACT_APP_GITCOIN_GRANTS_ACTIVE= \ No newline at end of file diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index b68218f..24902ba 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -36,16 +36,33 @@ function Footer() { Found the project helpful? - Support it on - - - Gitcoin Grants - - - + {process.env.REACT_APP_GITCOIN_GRANTS_ACTIVE === "true" ? ( + <> + Support it on + + + Gitcoin Grants + + + + + ) : ( + <> + Support at + + + apoorv.eth + + + + + )}