diff --git a/src/Config/config.js b/src/Config/config.js new file mode 100644 index 0000000..08f4330 --- /dev/null +++ b/src/Config/config.js @@ -0,0 +1,16 @@ +import React from 'react'; + +function getConfig() { + return [ + + { + "dash_url": 'https://dashboard.wrenchboard.com', + "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', + "post_date": "2018-06-25T18:54:22.000Z", + } + ]; + +} + +export default getConfig; \ No newline at end of file diff --git a/src/components/Service/ServiceSideMenu.js b/src/components/Service/ServiceSideMenu.js index a070405..1d7c356 100644 --- a/src/components/Service/ServiceSideMenu.js +++ b/src/components/Service/ServiceSideMenu.js @@ -1,6 +1,8 @@ import React from 'react'; +import getConfig from './../../Config/config' function ServiceSideMenu() { + var site = getConfig()[0]; return ( <>
@@ -47,12 +49,12 @@ function ServiceSideMenu() {
  • - + Download for iOS
  • - + Download for Android