Fix pages

This commit is contained in:
dev-chiefworks
2022-01-15 16:11:39 -05:00
parent a53189d4c5
commit d37fdc74d3
6 changed files with 18 additions and 29 deletions
+4 -4
View File
@@ -64,7 +64,7 @@ var res = null;
"post_type": "post",
"post_mime_type": "",
"comment_count": 0,
"meta_value": "2022/01/wrechboard-sample.jpg"
"meta_value": "wrechboard-sample.jpg"
},
{
"id": 41,
@@ -91,7 +91,7 @@ var res = null;
"post_type": "post",
"post_mime_type": "",
"comment_count": 0,
"meta_value": "2022/01/wrechboard-sample.jpg"
"meta_value": "wrechboard-sample.jpg"
},
{
"id": 39,
@@ -118,7 +118,7 @@ var res = null;
"post_type": "post",
"post_mime_type": "",
"comment_count": 0,
"meta_value": "2022/01/wrechboard-sample.jpg"
"meta_value": "test-site-app.jpg"
},
{
"id": 37,
@@ -145,7 +145,7 @@ var res = null;
"post_type": "post",
"post_mime_type": "",
"comment_count": 0,
"meta_value": "2022/01/wrechboard-sample.jpg"
"meta_value": "wrechboard-sample.jpg"
},
{
"id": 35,
Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

+1 -1
View File
@@ -18,7 +18,7 @@ function AboutUs() {
<HeaderAbout drawer={drawer} action={drawerAction.toggle} />
<HeroAbout />
<ServicesAbout />
<TeamAbout />
{/* <TeamAbout />*/}
{/* <SponserHomeTwo />
<SignupHomeEight />*/}
<FooterHomeOne className="appie-footer-about-area" />
+2 -12
View File
@@ -24,25 +24,15 @@ function FooterHomeOne({ className }) {
<div className="social mt-30">
<ul>
<li>
<a href="#">
<a href="https://www.facebook.com/wrenchboard">
<i className="fab fa-facebook-f" />
</a>
</li>
<li>
<a href="#">
<a href="https://twitter.com/wrenchboard/">
<i className="fab fa-twitter" />
</a>
</li>
<li>
<a href="#">
<i className="fab fa-pinterest-p" />
</a>
</li>
<li>
<a href="#">
<i className="fab fa-linkedin-in" />
</a>
</li>
</ul>
</div>
</div>
+11 -12
View File
@@ -1,38 +1,37 @@
import React from 'react';
import blogImg1 from '../../assets/images/blog/1.jpg';
import blogImg2 from '../../assets/images/blog/2.jpg';
import blogImg3 from '../../assets/images/blog/3.jpg';
import blogImg4 from '../../assets/images/blog/4.jpg';
import blogImg5 from '../../assets/images/blog/5.jpg';
import blogImg6 from '../../assets/images/blog/6.jpg';
import blogImg7 from '../../assets/images/blog/7.jpg';
import blogImg8 from '../../assets/images/blog/8.jpg';
import UseCaseData from '../../Services/UseCaseData';
function UseCase() {
var UseCaseDataResult = UseCaseData();
var dashboardUrl = "https://dashboard.wrenchboard.com";
var dashboardUrl = "https://dashboard.wrenchboard.com/";
//C:\WORKS\WrenchBoardMainSite\src\assets\images\wrechboard-sample.jpg
return (
<>
<div className="row">
{
UseCaseDataResult.map(i=>{
var blgImg = i.meta_value!=null?"https://blog.wrenchboard.com/wp-content/uploads/"+ i.meta_value : blogImg1;
var blgImg = i.meta_value!=null?"../../assets/images/"+ i.meta_value : blogImg1;
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={blgImg} alt={i.title} />
<div className="b-post-details">
<h3>
<a href="/news/single-news">
<a href={dashboardUrl}>
{i.title}
</a>
</h3>
<a className="read-more" href="{dashboardUrl}">
<a className="read-more" href={dashboardUrl}>
Learn more<i className="fal fa-arrow-right"></i>
</a>
</div>