Config added
This commit is contained in:
@@ -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;
|
||||
@@ -1,6 +1,8 @@
|
||||
import React from 'react';
|
||||
import getConfig from './../../Config/config'
|
||||
|
||||
function ServiceSideMenu() {
|
||||
var site = getConfig()[0];
|
||||
return (
|
||||
<>
|
||||
<div className="service-details-sidebar mr-50">
|
||||
@@ -47,12 +49,12 @@ function ServiceSideMenu() {
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="#">
|
||||
<a href={site.apple_app}>
|
||||
<i className="fab fa-apple" /> Download for iOS
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a className="item-2" href="#">
|
||||
<a className="item-2" href={site.android_app}>
|
||||
<i className="fab fa-google-play" /> Download for
|
||||
Android
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user