use case config applied
This commit is contained in:
@@ -4,6 +4,7 @@ function getConfig() {
|
||||
return [
|
||||
|
||||
{
|
||||
"site_name" : 'WrenchBoard',
|
||||
"dash_url": 'https://dashboard.wrenchboard.com',
|
||||
"dash_url_login": "https://dashboard.wrenchboard.com/login",
|
||||
"dash_url_signup": "https://dashboard.wrenchboard.com/signup",
|
||||
|
||||
@@ -2,8 +2,11 @@ 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 HeaderNews({ action }) {
|
||||
var site = getConfig()[0];
|
||||
useEffect(() => {
|
||||
StickyMenu();
|
||||
});
|
||||
@@ -16,7 +19,7 @@ function HeaderNews({ action }) {
|
||||
<div className="col-lg-2 col-md-4 col-sm-5 col-6 order-1 order-sm-1">
|
||||
<div className="appie-logo-box">
|
||||
<a href="/">
|
||||
<img src={logo} alt="" />
|
||||
<img src={logo} alt={site.site_name} />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -27,10 +30,10 @@ function HeaderNews({ 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="#">
|
||||
<a className="login-btn" href={site.dash_url_login}>
|
||||
<i className="fal fa-user"></i> Login
|
||||
</a>
|
||||
<a className="main-btn ml-30" href="#">
|
||||
<a className="main-btn ml-30" href={site.dash_url_signup}>
|
||||
Get Started
|
||||
</a>
|
||||
<div
|
||||
|
||||
@@ -13,40 +13,41 @@ function UseCase() {
|
||||
<>
|
||||
<div className="row">
|
||||
{
|
||||
UseCaseDataResult.map(i=>{
|
||||
var blgImg = i.meta_value!=null?"../../assets/images/"+ i.meta_value : blogImg1;
|
||||
UseCaseDataResult.map(i => {
|
||||
var blgImg = i.meta_value != null ? "../../assets/images/" + i.meta_value : blogImg1;
|
||||
|
||||
console.log("AA",blgImg);
|
||||
blgImg=blogImg1;
|
||||
console.log("BB",blgImg);
|
||||
console.log("AA", blgImg);
|
||||
blgImg = blogImg1;
|
||||
console.log("BB", blgImg);
|
||||
|
||||
return (
|
||||
<div className="col-lg-4">
|
||||
<div className="post-item-1">
|
||||
|
||||
{<img src={blgImg} alt={i.title} />}
|
||||
{/* <img src={`../assets/images/${i.meta_value}`} /> */}
|
||||
<div className="b-post-details">
|
||||
|
||||
<h3>
|
||||
<a href={dashboardUrl}>
|
||||
{i.title}
|
||||
</a>
|
||||
</h3>
|
||||
<a className="read-more" href={dashboardUrl}>
|
||||
Learn more<i className="fal fa-arrow-right"></i>
|
||||
</a>
|
||||
return (
|
||||
<div className="col-lg-4">
|
||||
<div className="post-item-1">
|
||||
|
||||
{<img src={blgImg} alt={i.title} />}
|
||||
{/* <img src={`../assets/images/${i.meta_value}`} /> */}
|
||||
<div className="b-post-details">
|
||||
|
||||
<h3>
|
||||
<a href={dashboardUrl}>
|
||||
{i.title}
|
||||
</a>
|
||||
</h3>
|
||||
<a className="read-more" href={dashboardUrl}>
|
||||
Learn more<i className="fal fa-arrow-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
)
|
||||
)
|
||||
|
||||
})
|
||||
})
|
||||
}
|
||||
</div>
|
||||
|
||||
{/*
|
||||
<div className="row">
|
||||
<div className="col-lg-12">
|
||||
<div className="bisylms-pagination">
|
||||
@@ -58,6 +59,8 @@ function UseCase() {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
*/}
|
||||
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user