available time indication added

This commit was merged in pull request #2.
This commit is contained in:
victorAnumudu
2023-07-26 19:55:13 +01:00
parent ccd67ad0bf
commit 69b8c85b3d
+2 -1
View File
@@ -88,7 +88,8 @@ class CurrentJobsHero extends Component {
{/* </li>*/}
{/* </ul>*/}
{/*</div>*/}
<div className='lmoreTxt d-flex justify-content-end align-items-center'>
<div className='lmoreTxt d-flex justify-content-between align-items-center'>
<p className='text-danger' style={{fontSize: '12px'}}>{hourRemaining > 24 ? `available in the next ${hourRemaining%24} ${hourRemaining%24 > 1 ? 'days':'day'}` : `available in the next 12hrs 30mins`}</p>
<a href={dashUrl} className=''>
Learn More <i className="fal fa-arrow-right" />
</a>