// 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": "5th Jan 2022",
        "sent": null
    },
    {
        "title": "Article",
        "description": "Opinion (Nigeria economy/politics) for Publication",
        "id": "108",
        "job_description": null,
        "price": null,
        "timeline_days": null,
        "expire": "5th Dec 2019",
        "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": "14th Nov 2018",
        "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": "14th Nov 2018",
        "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": "14th Nov 2018",
        "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": "9th Nov 2018",
        "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": "9th Nov 2018",
        "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": "31st Oct 2018",
        "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": "28th Oct 2018",
        "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": "25th Jul 2018",
        "sent": null
    }
];


 return res1;
  }

export default JobsData;


