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 React from 'react';
import { Link } from 'react-router-dom'; import { Link } from 'react-router-dom';
import logo from '../../assets/images/wrenchboard.png'; import logo from '../../assets/images/wrenchboard.png';
import getConfig from './../../Config/config'
function FooterHomeOne({ className }) { function FooterHomeOne({ className }) {
var site = getConfig()[0];
return ( return (
<> <>
<section className={`appie-footer-area ${className || ''}`}> <section className={`appie-footer-area ${className || ''}`}>
@@ -18,18 +21,18 @@ function FooterHomeOne({ className }) {
<p> <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. `} {`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> </p>
<a href="#"> <a href="/services">
Read More <i className="fal fa-arrow-right" /> Read More <i className="fal fa-arrow-right" />
</a> </a>
<div className="social mt-30"> <div className="social mt-30">
<ul> <ul>
<li> <li>
<a href="https://www.facebook.com/wrenchboard"> <a href={site.facebook_link}>
<i className="fab fa-facebook-f" /> <i className="fab fa-facebook-f" />
</a> </a>
</li> </li>
<li> <li>
<a href="https://twitter.com/wrenchboard/"> <a href={site.twitter_link}>
<i className="fab fa-twitter" /> <i className="fab fa-twitter" />
</a> </a>
</li> </li>
@@ -85,7 +88,7 @@ function FooterHomeOne({ className }) {
<ul> <ul>
<li> <li>
<a href="#"> <a href="#">
<i className="fal fa-envelope" /> {``}support@wrenchboard.com <i className="fal fa-envelope" /> {site.support_email}
</a> </a>
</li> </li>
<li> <li>
@@ -108,12 +111,12 @@ function FooterHomeOne({ className }) {
<div className="apps-download-btn"> <div className="apps-download-btn">
<ul> <ul>
<li> <li>
<a href="#"> <a href={site.apple_app}>
<i className="fab fa-apple" /> Download for iOS <i className="fab fa-apple" /> Download for iOS
</a> </a>
</li> </li>
<li> <li>
<a className="item-2" href="#"> <a className="item-2" href={site.android_app}>
<i className="fab fa-google-play" /> Download for <i className="fab fa-google-play" /> Download for
Android Android
</a> </a>
+4 -2
View File
@@ -1,6 +1,8 @@
import React from 'react'; import React from 'react';
import getConfig from './../../Config/config'
function ServiceSideMenu() { function ServiceSideMenu() {
var site = getConfig()[0];
return ( return (
<> <>
<div className="service-details-sidebar mr-50"> <div className="service-details-sidebar mr-50">
@@ -47,12 +49,12 @@ function ServiceSideMenu() {
</li> </li>
<li> <li>
<a href="#"> <a href={site.apple_app}>
<i className="fab fa-apple" /> Download for iOS <i className="fab fa-apple" /> Download for iOS
</a> </a>
</li> </li>
<li> <li>
<a className="item-2" href="#"> <a className="item-2" href={site.android_app}>
<i className="fab fa-google-play" /> Download for <i className="fab fa-google-play" /> Download for
Android Android
</a> </a>