diff --git a/src/Config/config.js b/src/Config/config.js new file mode 100644 index 0000000..9484339 --- /dev/null +++ b/src/Config/config.js @@ -0,0 +1,19 @@ +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', + "facebook_link": 'https://www.facebook.com/wrenchboard', + "twitter_link" : 'https://twitter.com/wrenchboard/', + "support_email" : 'support@wrenchboard.com', + "dummy": "2018-06-25T18:54:22.000Z", + } + ]; + +} + +export default getConfig; \ No newline at end of file diff --git a/src/components/HomeOne/FooterHomeOne.js b/src/components/HomeOne/FooterHomeOne.js index 1d08dab..49fae2e 100644 --- a/src/components/HomeOne/FooterHomeOne.js +++ b/src/components/HomeOne/FooterHomeOne.js @@ -1,8 +1,11 @@ import React from 'react'; import { Link } from 'react-router-dom'; import logo from '../../assets/images/wrenchboard.png'; +import getConfig from './../../Config/config' function FooterHomeOne({ className }) { + var site = getConfig()[0]; + return ( <>
@@ -18,18 +21,18 @@ function FooterHomeOne({ className }) {

{`It is simple. You can do something that somebody is ready to pay you for. WrenchBoard is the platform to connect you with earning opportunities. `}

- + Read More