Job data added
This commit is contained in:
@@ -0,0 +1,147 @@
|
|||||||
|
// http://172.31.4.19:8000/wordpress-data
|
||||||
|
|
||||||
|
//import React from 'react';
|
||||||
|
import Axios from 'axios';
|
||||||
|
|
||||||
|
function JobsData() {
|
||||||
|
|
||||||
|
var callData =[ {
|
||||||
|
"limit": 10,
|
||||||
|
"page":1
|
||||||
|
} ];
|
||||||
|
|
||||||
|
console.log("~~~~~~~~ ameye jobData ~~~~~~~~~");
|
||||||
|
var res = null;
|
||||||
|
const getWrenchBoardJobs = () => {
|
||||||
|
Axios.post("https://www.wrenchboard.com/svs/user/startjoblist",callData).then((response) => {
|
||||||
|
console.log(response);
|
||||||
|
res = response;
|
||||||
|
console.log("~~~~~~~~ jobData ~~~~~~~~~");
|
||||||
|
return response;
|
||||||
|
// console.log(blogResultData);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/* return (
|
||||||
|
<>
|
||||||
|
Ameye
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
*/
|
||||||
|
getWrenchBoardJobs();
|
||||||
|
|
||||||
|
//console.log(getWrenchBoardBlog());
|
||||||
|
|
||||||
|
//console.log("Ameye got here");
|
||||||
|
// return blogResultData; // getWrenchBoardBlog();
|
||||||
|
|
||||||
|
var res1 = [
|
||||||
|
{
|
||||||
|
"title": "Post 5 articles to social ",
|
||||||
|
"description": "This task is about posting 5 articles like from www.dorcastore.com to you Facebook page",
|
||||||
|
"id": "109",
|
||||||
|
"job_description": null,
|
||||||
|
"price": null,
|
||||||
|
"timeline_days": null,
|
||||||
|
"expire": null,
|
||||||
|
"sent": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Article",
|
||||||
|
"description": "Opinion (Nigeria economy/politics) for Publication",
|
||||||
|
"id": "108",
|
||||||
|
"job_description": null,
|
||||||
|
"price": null,
|
||||||
|
"timeline_days": null,
|
||||||
|
"expire": null,
|
||||||
|
"sent": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Create a family related article for my blog",
|
||||||
|
"description": "Propose a title and write about 500-word article for my blog",
|
||||||
|
"id": "23",
|
||||||
|
"job_description": null,
|
||||||
|
"price": null,
|
||||||
|
"timeline_days": null,
|
||||||
|
"expire": null,
|
||||||
|
"sent": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Promote my blog with your Facebook page",
|
||||||
|
"description": "You will need to have a Facebook page with at least 400 friends to for this task",
|
||||||
|
"id": "73",
|
||||||
|
"job_description": null,
|
||||||
|
"price": null,
|
||||||
|
"timeline_days": null,
|
||||||
|
"expire": null,
|
||||||
|
"sent": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Promote health care based articles",
|
||||||
|
"description": "Promote by placing my articles on your blog with good Alexa ranking ",
|
||||||
|
"id": "92",
|
||||||
|
"job_description": null,
|
||||||
|
"price": null,
|
||||||
|
"timeline_days": null,
|
||||||
|
"expire": null,
|
||||||
|
"sent": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Pictures of Product Display In Supermarket",
|
||||||
|
"description": "We are conducting a product research and I want to know the most common products in my line of business. Go to ten supermarkets around and take pictures of the wine sections clearly showing the wines",
|
||||||
|
"id": "103",
|
||||||
|
"job_description": null,
|
||||||
|
"price": null,
|
||||||
|
"timeline_days": null,
|
||||||
|
"expire": null,
|
||||||
|
"sent": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Write a Health Article for a blog",
|
||||||
|
"description": "Write a 1-page article on “The need for healthy eating in Nigeria”. The article is for publication on a health and wellness blog.",
|
||||||
|
"id": "101",
|
||||||
|
"job_description": null,
|
||||||
|
"price": null,
|
||||||
|
"timeline_days": null,
|
||||||
|
"expire": null,
|
||||||
|
"sent": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Who are Niger Delta's Warlords?",
|
||||||
|
"description": "Describe the situation that led to Niger Delta Amnesty Programme?",
|
||||||
|
"id": "105",
|
||||||
|
"job_description": null,
|
||||||
|
"price": null,
|
||||||
|
"timeline_days": null,
|
||||||
|
"expire": null,
|
||||||
|
"sent": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "What is Niger Delta Ecology?",
|
||||||
|
"description": "Write article on Niger Delta Ecology",
|
||||||
|
"id": "104",
|
||||||
|
"job_description": null,
|
||||||
|
"price": null,
|
||||||
|
"timeline_days": null,
|
||||||
|
"expire": null,
|
||||||
|
"sent": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Promote health care based articles",
|
||||||
|
"description": "Promote by placing my articles on your blog with good Alexa ranking ",
|
||||||
|
"id": "92",
|
||||||
|
"job_description": null,
|
||||||
|
"price": null,
|
||||||
|
"timeline_days": null,
|
||||||
|
"expire": null,
|
||||||
|
"sent": null
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
|
return res1;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default JobsData;
|
||||||
|
|
||||||
|
|
||||||
@@ -33,9 +33,9 @@ var res = null;
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
debugger;
|
//debugger;
|
||||||
console.log("~~~~~~~~ dorcas ~~~~~~~~~");
|
//console.log("~~~~~~~~ dorcas ~~~~~~~~~");
|
||||||
console.log(blogResult);
|
//console.log(blogResult);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
@@ -52,11 +52,7 @@ console.log(blogResult);
|
|||||||
|
|
||||||
{
|
{
|
||||||
blogResult.map(i=>{
|
blogResult.map(i=>{
|
||||||
console.log(i);
|
|
||||||
console.log("------------------------------ 11 ----");
|
|
||||||
var blgImg = i.meta_value!=null?"https://blog.wrenchboard.com/wp-content/uploads/"+ i.meta_value : blogOne;
|
var blgImg = i.meta_value!=null?"https://blog.wrenchboard.com/wp-content/uploads/"+ i.meta_value : blogOne;
|
||||||
|
|
||||||
|
|
||||||
return ( <div className="col-lg-4 col-md-6">
|
return ( <div className="col-lg-4 col-md-6">
|
||||||
<div
|
<div
|
||||||
className="appie-blog-item mt-30 wow animated fadeInUp"
|
className="appie-blog-item mt-30 wow animated fadeInUp"
|
||||||
@@ -88,8 +84,6 @@ console.log(blogResult);
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -2,8 +2,12 @@ import React from 'react';
|
|||||||
import blogOne from '../../assets/images/blog-1.jpg';
|
import blogOne from '../../assets/images/blog-1.jpg';
|
||||||
import blogTwo from '../../assets/images/blog-2.jpg';
|
import blogTwo from '../../assets/images/blog-2.jpg';
|
||||||
import blogThree from '../../assets/images/blog-3.jpg';
|
import blogThree from '../../assets/images/blog-3.jpg';
|
||||||
|
import JobsData from '../../Services/JobsData';
|
||||||
|
|
||||||
function RecentJobsOne() {
|
function RecentJobsOne() {
|
||||||
|
const jobsDataResults = JobsData();
|
||||||
|
var dashUrl = "https://dashboard.wrenchboard.com/";
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<section className="appie-blog-area pt-90 pb-95">
|
<section className="appie-blog-area pt-90 pb-95">
|
||||||
@@ -11,78 +15,56 @@ function RecentJobsOne() {
|
|||||||
<div className="row">
|
<div className="row">
|
||||||
<div className="col-lg-12">
|
<div className="col-lg-12">
|
||||||
<div className="appie-section-title text-center">
|
<div className="appie-section-title text-center">
|
||||||
<h3 className="appie-title">Recent Tasks</h3>
|
<h3 className="appie-title">WrenchBoard Market</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="row">
|
<div className="row">
|
||||||
<div className="col-lg-3 col-md-6">
|
|
||||||
|
{
|
||||||
|
jobsDataResults.map(i=>{
|
||||||
|
|
||||||
|
return ( <div className="col-lg-3 col-md-6">
|
||||||
<div
|
<div
|
||||||
className="appie-blog-item mt-30 wow animated fadeInUp"
|
className="appie-blog-item mt-30 wow animated fadeInUp"
|
||||||
data-wow-duration="3000ms"
|
data-wow-duration="3000ms"
|
||||||
data-wow-delay="200ms"
|
data-wow-delay="200ms"
|
||||||
>
|
>
|
||||||
<div className="thumb">
|
|
||||||
<img src={blogOne} alt="" />
|
|
||||||
</div>
|
|
||||||
<div className="content">
|
<div className="content">
|
||||||
<div className="blog-meta">
|
|
||||||
|
<h3 className="title">
|
||||||
|
<a href={dashUrl}>
|
||||||
|
{i.title}
|
||||||
|
</a>
|
||||||
|
</h3>
|
||||||
|
<div className="blog-meta">
|
||||||
<ul>
|
<ul>
|
||||||
<li>December 10, 2021</li>
|
<li>December 10, 2021</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="#">Online Jobs</a>
|
<a href={dashUrl}>Online Jobs</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<h3 className="title">
|
<a href={dashUrl}>
|
||||||
<a href="/news/single-news">
|
|
||||||
Online Jobs for University Students
|
|
||||||
</a>
|
|
||||||
</h3>
|
|
||||||
<a href="#">
|
|
||||||
Learn More <i className="fal fa-arrow-right" />
|
Learn More <i className="fal fa-arrow-right" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>)
|
||||||
<div className="col-lg-3 col-md-6">
|
|
||||||
<div
|
|
||||||
className="appie-blog-item mt-30 wow animated fadeInUp"
|
})
|
||||||
data-wow-duration="3000ms"
|
}
|
||||||
data-wow-delay="400ms"
|
|
||||||
>
|
|
||||||
<div className="thumb">
|
|
||||||
<img src={blogTwo} alt="" />
|
|
||||||
</div>
|
|
||||||
<div className="content">
|
|
||||||
<div className="blog-meta">
|
|
||||||
<ul>
|
|
||||||
<li>December 17, 2021</li>
|
|
||||||
<li>
|
|
||||||
<a href="#">Time and price management </a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<h3 className="title">
|
|
||||||
<a href="/news/single-news">
|
|
||||||
Time and price management when working an online job
|
|
||||||
</a>
|
|
||||||
</h3>
|
|
||||||
<a href="#">
|
|
||||||
Learn More <i className="fal fa-arrow-right" />
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div className="col-lg-3 col-md-6">
|
<div className="col-lg-3 col-md-6">
|
||||||
<div
|
<div
|
||||||
className="appie-blog-item mt-30 wow animated fadeInUp"
|
className="appie-blog-item mt-30 wow animated fadeInUp"
|
||||||
data-wow-duration="3000ms"
|
data-wow-duration="3000ms"
|
||||||
data-wow-delay="600ms"
|
data-wow-delay="600ms"
|
||||||
>
|
>
|
||||||
<div className="thumb">
|
|
||||||
<img src={blogThree} alt="" />
|
|
||||||
</div>
|
|
||||||
<div className="content">
|
<div className="content">
|
||||||
<div className="blog-meta">
|
<div className="blog-meta">
|
||||||
<ul>
|
<ul>
|
||||||
@@ -104,36 +86,6 @@ function RecentJobsOne() {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="col-lg-3 col-md-6">
|
|
||||||
<div
|
|
||||||
className="appie-blog-item mt-30 wow animated fadeInUp"
|
|
||||||
data-wow-duration="3000ms"
|
|
||||||
data-wow-delay="600ms"
|
|
||||||
>
|
|
||||||
<div className="thumb">
|
|
||||||
<img src={blogThree} alt="" />
|
|
||||||
</div>
|
|
||||||
<div className="content">
|
|
||||||
<div className="blog-meta">
|
|
||||||
<ul>
|
|
||||||
<li>December 21, 2021</li>
|
|
||||||
<li>
|
|
||||||
<a href="#"> online career strategy</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<h3 className="title">
|
|
||||||
<a href="/news/single-news">
|
|
||||||
How to implement an effective online career strategy
|
|
||||||
</a>
|
|
||||||
</h3>
|
|
||||||
<a href="#">
|
|
||||||
Learn More <i className="fal fa-arrow-right" />
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
Reference in New Issue
Block a user