This commit is contained in:
2022-01-16 15:21:43 -05:00
3 changed files with 32 additions and 8 deletions
+19
View File
@@ -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;
+9 -6
View File
@@ -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 (
<>
<section className={`appie-footer-area ${className || ''}`}>
@@ -18,18 +21,18 @@ function FooterHomeOne({ className }) {
<p>
{`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. `}
</p>
<a href="#">
<a href="/services">
Read More <i className="fal fa-arrow-right" />
</a>
<div className="social mt-30">
<ul>
<li>
<a href="https://www.facebook.com/wrenchboard">
<a href={site.facebook_link}>
<i className="fab fa-facebook-f" />
</a>
</li>
<li>
<a href="https://twitter.com/wrenchboard/">
<a href={site.twitter_link}>
<i className="fab fa-twitter" />
</a>
</li>
@@ -85,7 +88,7 @@ function FooterHomeOne({ className }) {
<ul>
<li>
<a href="#">
<i className="fal fa-envelope" /> {``}support@wrenchboard.com
<i className="fal fa-envelope" /> {site.support_email}
</a>
</li>
<li>
@@ -108,12 +111,12 @@ function FooterHomeOne({ className }) {
<div className="apps-download-btn">
<ul>
<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>
+4 -2
View File
@@ -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>