From 366dd652597319bbd0ee127cfebf7a05d4af1f1a Mon Sep 17 00:00:00 2001 From: dev-chiefworks Date: Sun, 16 Jan 2022 15:50:25 -0500 Subject: [PATCH] Config update --- src/Config/config.js | 6 +++--- src/components/Service/DetailsService.js | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/Config/config.js b/src/Config/config.js index 176e313..76f0a00 100644 --- a/src/Config/config.js +++ b/src/Config/config.js @@ -5,15 +5,15 @@ function getConfig() { { "dash_url": 'https://dashboard.wrenchboard.com', - "dash_url_login": "https://www.wrenchboard.com/login", - "dash_url_signup": "https://www.wrenchboard.com/signup", + "dash_url_login": "https://dashboard.wrenchboard.com/login", + "dash_url_signup": "https://dashboard.wrenchboard.com/signup", "android_app": 'https://play.google.com/store/apps/details?id=com.wrenchboard.users', "apple_app": 'https://itunes.apple.com/us/app/wrenchboard/id1435718367?ls=1&mt=8', "facebook_link": 'https://www.facebook.com/wrenchboard', "twitter_link": 'https://twitter.com/wrenchboard/', "support_email": 'support@wrenchboard.com', "support_phone": '404 855-7966', - "support_us_address":'Atlanta,GA 30339', + "support_us_address": 'Atlanta,GA 30339', "dummy": "2018-06-25T18:54:22.000Z", } ]; diff --git a/src/components/Service/DetailsService.js b/src/components/Service/DetailsService.js index a4792e7..d1c2b5c 100644 --- a/src/components/Service/DetailsService.js +++ b/src/components/Service/DetailsService.js @@ -1,8 +1,11 @@ import React from 'react'; import thumb from '../../assets/images/service-page.jpg'; import ServiceSideMenu from './ServiceSideMenu'; +import getConfig from './../../Config/config' function DetailsService() { + var site = getConfig()[0]; + return ( <>
@@ -35,7 +38,7 @@ function DetailsService() { finance & accounting, website & app development, creative & design, customer support and operations.
- Learn more at < a href = "https://dashboard.wrenchboard.com" >WrenchBoard + Learn more at < a href ={site.dash_url_login} >WrenchBoard