fix config
This commit is contained in:
@@ -1,11 +1,13 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import blogImg1 from '../../assets/images/blog/1.jpg';
|
import blogImg1 from '../../assets/images/blog/1.jpg';
|
||||||
import UseCaseData from '../../Services/UseCaseData';
|
import UseCaseData from '../../Services/UseCaseData';
|
||||||
|
import getConfig from './../../Config/config'
|
||||||
|
|
||||||
|
|
||||||
function UseCase() {
|
function UseCase() {
|
||||||
|
var site = getConfig()[0];
|
||||||
|
|
||||||
var UseCaseDataResult = UseCaseData();
|
var UseCaseDataResult = UseCaseData();
|
||||||
var dashboardUrl = "https://dashboard.wrenchboard.com/";
|
|
||||||
|
|
||||||
//C:\WORKS\WrenchBoardMainSite\src\assets\images\wrechboard-sample.jpg
|
//C:\WORKS\WrenchBoardMainSite\src\assets\images\wrechboard-sample.jpg
|
||||||
|
|
||||||
@@ -29,11 +31,11 @@ function UseCase() {
|
|||||||
<div className="b-post-details">
|
<div className="b-post-details">
|
||||||
|
|
||||||
<h3>
|
<h3>
|
||||||
<a href={dashboardUrl}>
|
<a href={site.dash_url_login}>
|
||||||
{i.title}
|
{i.title}
|
||||||
</a>
|
</a>
|
||||||
</h3>
|
</h3>
|
||||||
<a className="read-more" href={dashboardUrl}>
|
<a className="read-more" href={site.dash_url_login}>
|
||||||
Learn more<i className="fal fa-arrow-right"></i>
|
Learn more<i className="fal fa-arrow-right"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user