diff --git a/.env b/.env index 08e064a..ef9aebf 100644 --- a/.env +++ b/.env @@ -2,3 +2,18 @@ ESLINT_NO_DEV_ERRORS=true REACT_APP_AUX_ENDPOINT="https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1" REACT_APP_USERS_ENDPOINT="https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1" + +REACT_APP_SITE_NAME='WrenchBoard' +REACT_APP_DASH_URL='https://dev-users.wrenchboard.com' +REACT_APP_DASH_URL_LOGIN="https://dev-users.wrenchboard.com/login" +REACT_APP_DASH_URL_SIGNUP="https://dev-users.wrenchboard.com/signup" +REACT_APP_ANDROID_APP='https://play.google.com/store/apps/details?id=com.wrenchboard.users' +REACT_APP_APPLE_APP='https://itunes.apple.com/us/app/wrenchboard/id1435718367?ls=1&mt=8' +REACT_APP_FACEBOOK_LINK='https://www.facebook.com/wrenchboard' +REACT_APP_TWITTER_LINK='https://twitter.com/wrenchboard/' +REACT_APP_LINKEDIN_LINK="https://www.linkedin.com/company/wrenchboard/" +REACT_APP_SUPPORT_EMAIL='support@wrenchboard.com' +REACT_APP_SUPPORT_PHONE='404 855-7966' +REACT_APP_SUPPORT_PHONE_NG='(+420) 336 476 328' +REACT_APP_SUPPORT_US_ADDRESS='Cumberland Pkwy, Atlanta GA 30339' +REACT_APP_SUPPORT_NG_ADDRESS='Saka Tinubu Street, Victoria Island Lagos, Nigeria' diff --git a/.env.development b/.env.development index 7b89cab..0844084 100644 --- a/.env.development +++ b/.env.development @@ -1,4 +1,19 @@ ESLINT_NO_DEV_ERRORS=true REACT_APP_AUX_ENDPOINT="https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1" -REACT_APP_USERS_ENDPOINT="https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1" \ No newline at end of file +REACT_APP_USERS_ENDPOINT="https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1" + +REACT_APP_SITE_NAME='WrenchBoard' +REACT_APP_DASH_URL='https://dev-users.wrenchboard.com' +REACT_APP_DASH_URL_LOGIN="https://dev-users.wrenchboard.com/login" +REACT_APP_DASH_URL_SIGNUP="https://dev-users.wrenchboard.com/signup" +REACT_APP_ANDROID_APP='https://play.google.com/store/apps/details?id=com.wrenchboard.users' +REACT_APP_APPLE_APP='https://itunes.apple.com/us/app/wrenchboard/id1435718367?ls=1&mt=8' +REACT_APP_FACEBOOK_LINK='https://www.facebook.com/wrenchboard' +REACT_APP_TWITTER_LINK='https://twitter.com/wrenchboard/' +REACT_APP_LINKEDIN_LINK="https://www.linkedin.com/company/wrenchboard/" +REACT_APP_SUPPORT_EMAIL='support@wrenchboard.com' +REACT_APP_SUPPORT_PHONE='404 855-7966' +REACT_APP_SUPPORT_PHONE_NG='(+420) 336 476 328' +REACT_APP_SUPPORT_US_ADDRESS='Cumberland Pkwy, Atlanta GA 30339' +REACT_APP_SUPPORT_NG_ADDRESS='Saka Tinubu Street, Victoria Island Lagos, Nigeria' \ No newline at end of file diff --git a/.env.production b/.env.production index 7b89cab..f537d78 100644 --- a/.env.production +++ b/.env.production @@ -1,4 +1,19 @@ ESLINT_NO_DEV_ERRORS=true REACT_APP_AUX_ENDPOINT="https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1" -REACT_APP_USERS_ENDPOINT="https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1" \ No newline at end of file +REACT_APP_USERS_ENDPOINT="https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1" + +REACT_APP_SITE_NAME='WrenchBoard' +REACT_APP_DASH_URL='https://users.wrenchboard.com' +REACT_APP_DASH_URL_LOGIN="https://users.wrenchboard.com/login" +REACT_APP_DASH_URL_SIGNUP="https://users.wrenchboard.com/signup" +REACT_APP_ANDROID_APP='https://play.google.com/store/apps/details?id=com.wrenchboard.users' +REACT_APP_APPLE_APP='https://itunes.apple.com/us/app/wrenchboard/id1435718367?ls=1&mt=8' +REACT_APP_FACEBOOK_LINK='https://www.facebook.com/wrenchboard' +REACT_APP_TWITTER_LINK='https://twitter.com/wrenchboard/' +REACT_APP_LINKEDIN_LINK="https://www.linkedin.com/company/wrenchboard/" +REACT_APP_SUPPORT_EMAIL='support@wrenchboard.com' +REACT_APP_SUPPORT_PHONE='404 855-7966' +REACT_APP_SUPPORT_PHONE_NG='(+420) 336 476 328' +REACT_APP_SUPPORT_US_ADDRESS='Cumberland Pkwy, Atlanta GA 30339' +REACT_APP_SUPPORT_NG_ADDRESS='Saka Tinubu Street, Victoria Island Lagos, Nigeria' \ No newline at end of file diff --git a/src/Services/ContactData.js b/src/Services/ContactData.js index 877a677..383b922 100644 --- a/src/Services/ContactData.js +++ b/src/Services/ContactData.js @@ -4,7 +4,7 @@ import getConfig from './../Config/config' async function ContactData(callData) { // debugger; var site = getConfig()[0]; - let response = await Axios.post(`${site.user_service_endpoint}/sitecontact`, callData); + let response = await Axios.post(`${process.env.REACT_APP_AUX_ENDPOINT}/sitecontact`, callData); return response.data.result; } diff --git a/src/Services/FaqData.js b/src/Services/FaqData.js index 62fd161..42cb2c6 100644 --- a/src/Services/FaqData.js +++ b/src/Services/FaqData.js @@ -4,7 +4,7 @@ import getConfig from './../Config/config' async function FaqData() { // debugger; var site = getConfig()[0]; - let response = await Axios.post(`${site.user_service_endpoint}/faq`); + let response = await Axios.post(`${process.env.REACT_APP_AUX_ENDPOINT}/faq`); return await response; } diff --git a/src/Services/JobsData.js b/src/Services/JobsData.js index 91ad4e5..1949192 100644 --- a/src/Services/JobsData.js +++ b/src/Services/JobsData.js @@ -16,7 +16,7 @@ async function JobsData() { }); } */ - let response = await Axios.post(site.user_service_endpoint + "/startjoblist", callData); + let response = await Axios.post(process.env.REACT_APP_AUX_ENDPOINT + "/startjoblist", callData); return response.data.result_list; } diff --git a/src/components/AboutUs/HeaderAbout.js b/src/components/AboutUs/HeaderAbout.js index 5362ad9..128883b 100644 --- a/src/components/AboutUs/HeaderAbout.js +++ b/src/components/AboutUs/HeaderAbout.js @@ -30,10 +30,10 @@ function HeaderAbout({ action }) {
- {site.support_us_address} + {process.env.REACT_APP_SUPPORT_US_ADDRESS}
- {site.support_ng_address} + {process.env.REACT_APP_SUPPORT_NG_ADDRESS}
- {site.support_phone}
+ {process.env.REACT_APP_SUPPORT_PHONE}
- {site.support_phone_ng}
+ {process.env.REACT_APP_SUPPORT_PHONE_NG}
- {site.support_email} + {process.env.REACT_APP_SUPPORT_EMAIL}
// WrenchBoard platform connects you with quality service that need articles writing, blog management, photography, product testing research and surveys and more to deliver your project with ease. //
- // + // // Learn More // //// Cash in the Pocket with WrenchBoard as a reliable partner to connect you with new opportunities.Track, Organize your Portfolio and Manage your Skills, preferred workgroup and teams efficiently. //
- // + // // Learn More // // @@ -110,7 +110,7 @@ function FeaturesHomeOne({ className }) { //// Get paid Instantly for completed task using WrenchBoard. Achieve your short-term goals or long-term income by Connecting with WrenchBoard. Complete access to your earnings. //
- // + // // Learn More // // diff --git a/src/components/HomeOne/FooterHomeOne.js b/src/components/HomeOne/FooterHomeOne.js index 3b3b4da..f74af3f 100644 --- a/src/components/HomeOne/FooterHomeOne.js +++ b/src/components/HomeOne/FooterHomeOne.js @@ -33,7 +33,7 @@ function FooterHomeOne({ className }) {