home page hero section adjusted and google login success redirect implemented #279

Merged
ameye merged 2 commits from home-page-hero-adjustment into master 2023-07-09 22:28:43 +00:00
3 changed files with 6 additions and 2 deletions
@@ -48,6 +48,7 @@ function Redirect() {
localStorage.setItem("session_token", `${res.data.session}`);
dispatch(updateUserDetails({...res.data, loggedIn:true}));
navigate('/', {replace: true})
})
.catch((error) => {
navigate('/login', {replace: true})
+1 -1
View File
@@ -57,7 +57,7 @@ export default function Hero({ className, bannerList, nextDueTask }) {
</div>
{/* countdown */}
{nextDueTask?.next_due && Object.keys(nextDueTask.next_due)?.length != 0 && (
<div className="w-full h-32 flex justify-evenly items-center sm:p-6 p-1 rounded-2xl border border-white-opacity">
<div className="w-full h-32 flex justify-evenly items-center sm:p-6 p-1 rounded-2xl border back-dark1 border-white-opacity">
<div className="flex flex-col justify-between">
<p className="text-base text-white tracking-wide">Current Task</p>
<p className="lg:text-2xl text-lg font-bold tracking-wide text-white">
+4 -1
View File
@@ -29,7 +29,10 @@
font-family: sans; color: white;
font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;
}
.back-dark1{
background-color: #193F5F;
min-width: 280px !important;
}
.job-action{
background-color: aliceblue;
height: 100px;