added home blog section

This commit was merged in pull request #4.
This commit is contained in:
victorAnumudu
2024-07-30 15:32:47 +01:00
parent 045fe85938
commit f0ccf28fdd
14 changed files with 855 additions and 3 deletions
+25
View File
@@ -0,0 +1,25 @@
import Axios from 'axios';
import getConfig from './../Config/config'
async function JobsData() {
var site = getConfig()[0];
var callData = [{
"limit": 10,
"page": 1
}];
/*
var res = null;
const getWrenchBoardJobs = () => {
Axios.post("https://dashboard.wrenchboard.com/svs/user/startjoblist", callData).then((response) => {
res = response;
return response;
});
}
*/
let response = await Axios.post(process.env.REACT_APP_AUX_ENDPOINT+'/startjoblist', callData);
return await response;
}
export default JobsData;