From 72784ec7788f03fe2211a350ace86e47607bc73f Mon Sep 17 00:00:00 2001 From: RujitRaval Date: Thu, 12 Dec 2019 11:10:36 -0500 Subject: [PATCH 1/2] Make contact number an environment variable --- .env.default | 1 + src/Congrats.js | 2 +- src/ThankYou.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.env.default b/.env.default index c60cd93b6..d18f2f3e5 100644 --- a/.env.default +++ b/.env.default @@ -4,3 +4,4 @@ ENVIRONMENT # Services REACT_APP_BLOCLINK_URL REACT_APP_MAILCHIMP_URL +REACT_APP_BLOCPOWER_CONTACT \ No newline at end of file diff --git a/src/Congrats.js b/src/Congrats.js index 5002f150d..9356510dc 100644 --- a/src/Congrats.js +++ b/src/Congrats.js @@ -34,7 +34,7 @@ const Congrats = (props) => {
- We'll send you an email to find a time to chat or you can call us at 646-504-2236. + We'll send you an email to find a time to chat or you can call us at {process.env.REACT_APP_BLOCPOWER_CONTACT}.
); diff --git a/src/ThankYou.js b/src/ThankYou.js index dbf994861..12ed955a7 100644 --- a/src/ThankYou.js +++ b/src/ThankYou.js @@ -13,7 +13,7 @@ const ThankYou = (props) => {
Looks like we need more information to see if your building is a good fit for air source heat pumps. We'll send you an email to find a time to chat or you can {' '} - call us at 646-504-2236. + call us at {process.env.REACT_APP_BLOCPOWER_CONTACT}.
); -- GitLab From 22e9cb9c039669653c5aad02e1318e3a954fee58 Mon Sep 17 00:00:00 2001 From: RujitRaval Date: Thu, 12 Dec 2019 11:24:03 -0500 Subject: [PATCH 2/2] Add endline char --- .env.default | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.default b/.env.default index d18f2f3e5..0a4b9471a 100644 --- a/.env.default +++ b/.env.default @@ -4,4 +4,4 @@ ENVIRONMENT # Services REACT_APP_BLOCLINK_URL REACT_APP_MAILCHIMP_URL -REACT_APP_BLOCPOWER_CONTACT \ No newline at end of file +REACT_APP_BLOCPOWER_CONTACT -- GitLab