Compare commits

...

2 Commits

Author SHA1 Message Date
victorAnumudu 9771375431 env variable added 2023-06-27 16:10:51 +01:00
ameye 4829c9cd7e Merge branch 'faq-breadcrum' of WrenchBoard/WrenchBoardMainSite into master 2023-06-27 12:14:46 +00:00
21 changed files with 86 additions and 41 deletions
+15
View File
@@ -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_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_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'
+16 -1
View File
@@ -1,4 +1,19 @@
ESLINT_NO_DEV_ERRORS=true ESLINT_NO_DEV_ERRORS=true
REACT_APP_AUX_ENDPOINT="https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1" 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_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'
+16 -1
View File
@@ -1,4 +1,19 @@
ESLINT_NO_DEV_ERRORS=true ESLINT_NO_DEV_ERRORS=true
REACT_APP_AUX_ENDPOINT="https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1" 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_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'
+1 -1
View File
@@ -4,7 +4,7 @@ import getConfig from './../Config/config'
async function ContactData(callData) { async function ContactData(callData) {
// debugger; // debugger;
var site = getConfig()[0]; 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; return response.data.result;
} }
+1 -1
View File
@@ -4,7 +4,7 @@ import getConfig from './../Config/config'
async function FaqData() { async function FaqData() {
// debugger; // debugger;
var site = getConfig()[0]; 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; return await response;
} }
+1 -1
View File
@@ -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; return response.data.result_list;
} }
+2 -2
View File
@@ -30,10 +30,10 @@ function HeaderAbout({ action }) {
</div> </div>
<div className="col-lg-4 col-md-7 col-sm-6 col-6 order-2 order-sm-3"> <div className="col-lg-4 col-md-7 col-sm-6 col-6 order-2 order-sm-3">
<div className="appie-btn-box text-right"> <div className="appie-btn-box text-right">
<a className="login-btn" href={site.dash_url_login}> <a className="login-btn" href={process.env.REACT_APP_DASH_URL_LOGIN}>
<i className="fal fa-user"></i> Login <i className="fal fa-user"></i> Login
</a> </a>
<a className="main-btn ml-30" href={site.dash_url_signup}> <a className="main-btn ml-30" href={process.env.REACT_APP_DASH_URL_SIGNUP}>
Get Started Get Started
</a> </a>
<div <div
+8 -8
View File
@@ -50,12 +50,12 @@ function Forms() {
<h5>Headquaters</h5> <h5>Headquaters</h5>
<p> <p>
<i className="fal fa-home"></i> <i className="fal fa-home"></i>
{site.support_us_address} {process.env.REACT_APP_SUPPORT_US_ADDRESS}
</p> </p>
<p> <p>
<i className="fal fa-home"></i> <i className="fal fa-home"></i>
{site.support_ng_address} {process.env.REACT_APP_SUPPORT_NG_ADDRESS}
</p> </p>
</div> </div>
@@ -63,31 +63,31 @@ function Forms() {
<h5>Phone</h5> <h5>Phone</h5>
<p> <p>
<i className="fal fa-phone"></i> <i className="fal fa-phone"></i>
{site.support_phone} {process.env.REACT_APP_SUPPORT_PHONE}
<br /> <br />
{site.support_phone_ng} {process.env.REACT_APP_SUPPORT_PHONE_NG}
</p> </p>
</div> </div>
<div className="single-info"> <div className="single-info">
<h5>Support</h5> <h5>Support</h5>
<p> <p>
<i className="fal fa-envelope"></i> <i className="fal fa-envelope"></i>
{site.support_email} {process.env.REACT_APP_SUPPORT_EMAIL}
</p> </p>
</div> </div>
<div className="ab-social"> <div className="ab-social">
<h5>Follow Us</h5> <h5>Follow Us</h5>
<a className="fac" href={site.facebook_link}> <a className="fac" href={process.env.REACT_APP_FACEBOOK_LINK}>
<i className="fab fa-facebook-f"></i> <i className="fab fa-facebook-f"></i>
</a> </a>
<a className="twi" href={site.twitter_link}> <a className="twi" href={process.env.REACT_APP_TWITTER_LINK}>
<i className="fab fa-twitter"></i> <i className="fab fa-twitter"></i>
</a> </a>
<a className="you" href="#"> <a className="you" href="#">
<i className="fab fa-youtube"></i> <i className="fab fa-youtube"></i>
</a> </a>
<a className="lin" href={site.linked_link}> <a className="lin" href={process.env.REACT_APP_LINKEDIN_LINK}>
<i className="fab fa-linkedin-in"></i> <i className="fab fa-linkedin-in"></i>
</a> </a>
</div> </div>
+3 -3
View File
@@ -68,7 +68,7 @@ function FeaturesHomeOne({ className }) {
// <p> // <p>
// 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. // 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.
// </p> // </p>
// <a className="main-btn" href={site.dash_url_login}> // <a className="main-btn" href={process.env.REACT_APP_DASH_URL_LOGIN}>
// Learn More // Learn More
// </a> // </a>
// </div> // </div>
@@ -89,7 +89,7 @@ function FeaturesHomeOne({ className }) {
// <p> // <p>
// 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. // 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.
// </p> // </p>
// <a className="main-btn" href={site.dash_url_login}> // <a className="main-btn" href={process.env.REACT_APP_DASH_URL_LOGIN}>
// Learn More // Learn More
// </a> // </a>
// </div> // </div>
@@ -110,7 +110,7 @@ function FeaturesHomeOne({ className }) {
// <p> // <p>
// 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. // 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.
// </p> // </p>
// <a className="main-btn" href={site.dash_url_login}> // <a className="main-btn" href={process.env.REACT_APP_DASH_URL_LOGIN}>
// Learn More // Learn More
// </a> // </a>
// </div> // </div>
+3 -3
View File
@@ -33,7 +33,7 @@ function FooterHomeOne({ className }) {
</a> </a>
</li> </li>
<li> <li>
<a href={site.twitter_link}> <a href={process.env.REACT_APP_TWITTER_LINK}>
<i className="fab fa-twitter" /> <i className="fab fa-twitter" />
</a> </a>
</li> </li>
@@ -112,12 +112,12 @@ function FooterHomeOne({ className }) {
<div className="apps-download-btn"> <div className="apps-download-btn">
<ul> <ul>
<li> <li>
<a href={site.apple_app}> <a href={process.env.APPLE_APP}>
<i className="fab fa-apple" /> Download for iOS <i className="fab fa-apple" /> Download for iOS
</a> </a>
</li> </li>
<li> <li>
<a className="item-2" href={site.android_app}> <a className="item-2" href={process.env.REACT_APP_ANDROID_APP}>
<i className="fab fa-google-play" /> Download for <i className="fab fa-google-play" /> Download for
Android Android
</a> </a>
+2 -2
View File
@@ -25,12 +25,12 @@ function HeroHomeOne() {
</p> </p>
<ul> <ul>
<li> <li>
<a href={site.apple_app}> <a href={process.env.APPLE_APP}>
<i className="fab fa-apple" /> Download for iOS <i className="fab fa-apple" /> Download for iOS
</a> </a>
</li> </li>
<li> <li>
<a className="item-2" href={site.android_app}> <a className="item-2" href={process.env.REACT_APP_ANDROID_APP}>
<i className="fab fa-google-play" /> Download for <i className="fab fa-google-play" /> Download for
Android Android
</a> </a>
+2 -2
View File
@@ -28,10 +28,10 @@ function HomeOneHeader({ action }) {
</div> </div>
<div className="col-lg-4 col-md-7 col-sm-6 col-6 order-2 order-sm-3"> <div className="col-lg-4 col-md-7 col-sm-6 col-6 order-2 order-sm-3">
<div className="appie-btn-box text-right"> <div className="appie-btn-box text-right">
<a className="login-btn" href={site.dash_url_login}> <a className="login-btn" href={process.env.REACT_APP_DASH_URL_LOGIN}>
<i className="fal fa-user" /> Login <i className="fal fa-user" /> Login
</a> </a>
<a className="main-btn ml-30" href={site.dash_url_signup}> <a className="main-btn ml-30" href={process.env.REACT_APP_DASH_URL_SIGNUP}>
Get Started Get Started
</a> </a>
<div <div
+1 -1
View File
@@ -36,7 +36,7 @@ titleLen(title){
if ( this.state.jobsDataResults== undefined ){ if ( this.state.jobsDataResults== undefined ){
return null; return null;
} }
var dashUrl = site.dash_url; var dashUrl = process.env.REACT_APP_DASH_URL;
if (this.state.jobsDataResults.length == 0){ if (this.state.jobsDataResults.length == 0){
return <></>; return <></>;
+1 -1
View File
@@ -54,7 +54,7 @@ function TrafficHomeOne() {
</div> </div>
{/* <div className="col-lg-12"> {/* <div className="col-lg-12">
<div className="traffic-btn mt-50"> <div className="traffic-btn mt-50">
<a className="main-btn" href={site.dash_url_login}> <a className="main-btn" href={process.env.REACT_APP_DASH_URL_LOGIN}>
Login <i className="fal fa-arrow-right" /> Login <i className="fal fa-arrow-right" />
</a> </a>
</div> </div>
+3 -3
View File
@@ -72,7 +72,7 @@ function Drawer({ drawer, action }) {
<div className="offcanvas-social"> <div className="offcanvas-social">
<ul className="text-center"> <ul className="text-center">
<li> <li>
<a href={site.facebook_link} > <a href={process.env.REACT_APP_FACEBOOK_LINK} >
<i className="fab fa-facebook-f"></i> <i className="fab fa-facebook-f"></i>
</a> </a>
</li> </li>
@@ -89,12 +89,12 @@ function Drawer({ drawer, action }) {
<li> <li>
<a href="#"> <a href="#">
<i className="fal fa-envelope"></i>{' '} <i className="fal fa-envelope"></i>{' '}
{site.support_email} {process.env.REACT_APP_SUPPORT_EMAIL}
</a> </a>
</li> </li>
<li> <li>
<a href="#"> <a href="#">
<i className="fal fa-phone"></i> {site.support_phone} <i className="fal fa-phone"></i> {process.env.REACT_APP_SUPPORT_PHONE}
</a> </a>
</li> </li>
<li> <li>
+2 -2
View File
@@ -29,10 +29,10 @@ function HeaderNews({ action }) {
</div> </div>
<div className="col-lg-4 col-md-7 col-sm-6 col-6 order-2 order-sm-3"> <div className="col-lg-4 col-md-7 col-sm-6 col-6 order-2 order-sm-3">
<div className="appie-btn-box text-right"> <div className="appie-btn-box text-right">
<a className="login-btn" href={site.dash_url_login}> <a className="login-btn" href={process.env.REACT_APP_DASH_URL_LOGIN}>
<i className="fal fa-user"></i> Login <i className="fal fa-user"></i> Login
</a> </a>
<a className="main-btn ml-30" href={site.dash_url_signup}> <a className="main-btn ml-30" href={process.env.REACT_APP_DASH_URL_SIGNUP}>
Get Started Get Started
</a> </a>
<div <div
+1 -1
View File
@@ -38,7 +38,7 @@ function DetailsService() {
finance & accounting, website & app development, creative & design, finance & accounting, website & app development, creative & design,
customer support and operations. customer support and operations.
<hr /> <hr />
Learn more at < a href ={site.dash_url_login} >WrenchBoard</a> Learn more at < a href ={process.env.REACT_APP_DASH_URL_LOGIN} >WrenchBoard</a>
</p> </p>
</div> </div>
</div> </div>
+2 -2
View File
@@ -25,10 +25,10 @@ function HeaderService({ action }) {
</div> </div>
<div className="col-lg-4 col-md-7 col-sm-6 col-6 order-2 order-sm-3"> <div className="col-lg-4 col-md-7 col-sm-6 col-6 order-2 order-sm-3">
<div className="appie-btn-box text-right"> <div className="appie-btn-box text-right">
<a className="login-btn" href={site.dash_url_login}> <a className="login-btn" href={process.env.REACT_APP_DASH_URL_LOGIN}>
<i className="fal fa-user"></i> Login <i className="fal fa-user"></i> Login
</a> </a>
<a className="main-btn ml-30" href={site.dash_url_signup}> <a className="main-btn ml-30" href={process.env.REACT_APP_DASH_URL_SIGNUP}>
Get Started Get Started
</a> </a>
<div <div
+1 -1
View File
@@ -54,7 +54,7 @@ function ServiceSideMenu() {
</a> </a>
</li> </li>
<li> <li>
<a className="item-2" href={site.android_app}> <a className="item-2" href={process.env.REACT_APP_ANDROID_APP}>
<i className="fab fa-google-play" /> Download for <i className="fab fa-google-play" /> Download for
Android Android
</a> </a>
+3 -3
View File
@@ -19,7 +19,7 @@ function HeaderNews({ action }) {
<div className="col-lg-2 col-md-4 col-sm-5 col-6 order-1 order-sm-1"> <div className="col-lg-2 col-md-4 col-sm-5 col-6 order-1 order-sm-1">
<div className="appie-logo-box"> <div className="appie-logo-box">
<a href="/"> <a href="/">
<img src={logo} alt={site.site_name} /> <img src={logo} alt={process.env.REACT_APP_SITE_NAME} />
</a> </a>
</div> </div>
</div> </div>
@@ -30,10 +30,10 @@ function HeaderNews({ action }) {
</div> </div>
<div className="col-lg-4 col-md-7 col-sm-6 col-6 order-2 order-sm-3"> <div className="col-lg-4 col-md-7 col-sm-6 col-6 order-2 order-sm-3">
<div className="appie-btn-box text-right"> <div className="appie-btn-box text-right">
<a className="login-btn" href={site.dash_url_login}> <a className="login-btn" href={process.env.REACT_APP_DASH_URL_LOGIN}>
<i className="fal fa-user"></i> Login <i className="fal fa-user"></i> Login
</a> </a>
<a className="main-btn ml-30" href={site.dash_url_signup}> <a className="main-btn ml-30" href={process.env.REACT_APP_DASH_URL_SIGNUP}>
Get Started Get Started
</a> </a>
<div <div
+2 -2
View File
@@ -31,11 +31,11 @@ function UseCase() {
<div className="b-post-details"> <div className="b-post-details">
<h3> <h3>
<a href={site.dash_url_login}> <a href={process.env.REACT_APP_DASH_URL_LOGIN}>
{i.title} {i.title}
</a> </a>
</h3> </h3>
<a className="read-more" href={site.dash_url_login}> <a className="read-more" href={process.env.REACT_APP_DASH_URL_LOGIN}>
Learn more<i className="fal fa-arrow-right"></i> Learn more<i className="fal fa-arrow-right"></i>
</a> </a>
</div> </div>