diff --git a/src/App.js b/src/App.js index df8cf8b7f0908163dd7b949d82337abd67f43808..02060634e7ce9d541fa9e8c29eee4d9a76e7fdb6 100644 --- a/src/App.js +++ b/src/App.js @@ -65,6 +65,7 @@ class App extends React.Component { thankYou: , congrats: ; } + // Oakland Survey ID = 2 + if(this.props.building.data.surveyId === 2) { + this.state.pages.thankYou = ; + } + // Milwaukee Survey ID = 3 if(this.props.building.data.surveyId === 3) { this.state.pages.thankYou = } - if (this.props.milwaukee === true) { + if (this.props.oakland === true ||this.props.milwaukee === true) { + const email = this.props.milwaukee === true ? + "welcome.milwaukee@blocpower.io": + "welcome.oakland@blocpower.io" + const emailURL = this.props.milwaukee === true ? + "mailto:welcome.milwaukee@blocpower.io": + "mailto:welcome.oakland@blocpower.io" data =
Looks like we need more information to see what energy saving projects are a good fit for your building.
We’ll send you an email to find a time to chat or you can call us at {process.env.REACT_APP_BLOCPOWER_CONTACT} - or email us at welcome.milwaukee@blocpower.io. + or email us at {email}.
}