Config added home page
This commit is contained in:
@@ -12,6 +12,8 @@ function getConfig() {
|
||||
"facebook_link": 'https://www.facebook.com/wrenchboard',
|
||||
"twitter_link": 'https://twitter.com/wrenchboard/',
|
||||
"support_email": 'support@wrenchboard.com',
|
||||
"support_phone": '404 855-7966',
|
||||
"support_us_address":'Atlanta,GA 30339',
|
||||
"dummy": "2018-06-25T18:54:22.000Z",
|
||||
}
|
||||
];
|
||||
|
||||
@@ -4,8 +4,11 @@ import heroThumbTwo from '../../assets/images/hero-thumb-2.png';
|
||||
import shapeTwo from '../../assets/images/shape/shape-2.png';
|
||||
import shapeThree from '../../assets/images/shape/shape-3.png';
|
||||
import shapeFour from '../../assets/images/shape/shape-4.png';
|
||||
import getConfig from './../../Config/config'
|
||||
|
||||
|
||||
function HeroHomeOne() {
|
||||
var site = getConfig()[0];
|
||||
return (
|
||||
<>
|
||||
<section className="appie-hero-area">
|
||||
@@ -22,12 +25,12 @@ function HeroHomeOne() {
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://itunes.apple.com/us/app/wrenchboard/id1435718367?ls=1&mt=8">
|
||||
<a href={site.apple_app}>
|
||||
<i className="fab fa-apple" /> Download for iOS
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a className="item-2" href="https://play.google.com/store/apps/details?id=com.wrenchboard.users">
|
||||
<a className="item-2" href={site.android_app}>
|
||||
<i className="fab fa-google-play" /> Download for
|
||||
Android
|
||||
</a>
|
||||
@@ -42,7 +45,7 @@ function HeroHomeOne() {
|
||||
data-wow-duration="2000ms"
|
||||
data-wow-delay="200ms"
|
||||
>
|
||||
<img src={heroThumbOne} alt="" />
|
||||
<img src={heroThumbOne} alt="WrenchBoard" />
|
||||
</div>
|
||||
<div
|
||||
className="thumb-2 wow animated fadeInRight"
|
||||
|
||||
@@ -2,8 +2,10 @@ import React, { useEffect } from 'react';
|
||||
import logo from '../../assets/images/wrenchboard.png';
|
||||
import StickyMenu from '../../lib/StickyMenu';
|
||||
import Navigation from '../Navigation';
|
||||
import getConfig from './../../Config/config'
|
||||
|
||||
function HomeOneHeader({ action }) {
|
||||
var site = getConfig()[0];
|
||||
useEffect(() => {
|
||||
StickyMenu();
|
||||
}, []);
|
||||
@@ -26,10 +28,10 @@ function HomeOneHeader({ action }) {
|
||||
</div>
|
||||
<div className="col-lg-4 col-md-7 col-sm-6 col-6 order-2 order-sm-3">
|
||||
<div className="appie-btn-box text-right">
|
||||
<a className="login-btn" href="https://www.wrenchboard.com/login">
|
||||
<a className="login-btn" href={site.dash_url_login}>
|
||||
<i className="fal fa-user" /> Login
|
||||
</a>
|
||||
<a className="main-btn ml-30" href="https://www.wrenchboard.com/signup">
|
||||
<a className="main-btn ml-30" href={site.dash_url_signup}>
|
||||
Get Started
|
||||
</a>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user