terms page added

This commit was merged in pull request #13.
This commit is contained in:
victorAnumudu
2024-08-03 10:18:52 +01:00
parent 8dcc1ac5e6
commit dc3872f8df
15 changed files with 701 additions and 15 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ async function ContactData(reqData) {
for (let value in reqData) {
formData.append(value, reqData[value]);
}
let response = await axios.post(`${process.env.REACT_APP_AUX_ENDPOINT}/sitecontact`, reqData);
let response = await axios.post(`${process.env.NEXT_PUBLIC_AUX_ENDPOINT}/sitecontact`, reqData);
return response;
}
+1 -4
View File
@@ -1,10 +1,7 @@
import Axios from 'axios';
import getConfig from './../Config/config'
async function FaqData() {
// debugger;
var site = getConfig()[0];
let response = await Axios.post(`${process.env.REACT_APP_AUX_ENDPOINT}/faq`);
let response = await Axios.post(`${process.env.NEXT_PUBLIC_AUX_ENDPOINT}/faq`);
return await response;
}
+2 -3
View File
@@ -1,8 +1,7 @@
import Axios from 'axios';
import getConfig from './../Config/config'
async function JobsData() {
var site = getConfig()[0];
var callData = [{
"limit": 10,
"page": 1
@@ -16,7 +15,7 @@ async function JobsData() {
});
}
*/
let response = await Axios.post(process.env.REACT_APP_AUX_ENDPOINT+'/startjoblist', callData);
let response = await Axios.post(process.env.NEXT_PUBLIC_AUX_ENDPOINT+'/startjoblist', callData);
return await response;
}