diff --git a/src/components/HomeOne/CurrentJobsHero.js b/src/components/HomeOne/CurrentJobsHero.js index 07ca7fe..8c20670 100644 --- a/src/components/HomeOne/CurrentJobsHero.js +++ b/src/components/HomeOne/CurrentJobsHero.js @@ -45,7 +45,6 @@ class CurrentJobsHero extends Component { if (this.state.jobsDataResults.length == 0){ return <>; } - return ( <>
@@ -54,11 +53,14 @@ class CurrentJobsHero extends Component {

Recent jobs.

{ - this.state.jobsDataResults.map(i => { + this.state.jobsDataResults.map((i, index) => { var options = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }; var postDt = new Date(i.expire).toLocaleDateString("en-US", options); + let hourRemaining = Math.floor(Math.abs(new Date() - new Date(i.expire)) / (1000*60*60)) - return (
+ if(index < 5){ + return ( +
*/} {/*
*/}
- + Learn More
- - ) + + ) + } }) diff --git a/src/components/HomeOne/HomeNigeria.js b/src/components/HomeOne/HomeNigeria.js index 86412c2..5a2605d 100644 --- a/src/components/HomeOne/HomeNigeria.js +++ b/src/components/HomeOne/HomeNigeria.js @@ -9,16 +9,16 @@ function HomeNigeria() {
-
+
{/*Welcome To Creative App.*/} -

Pick any task and start earning .

+

Pick any task and start earning.

The Marketplace platform to earn money with your skills, find, buy and sell professional services.

-
+
{/*
*/} {/*