You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -18,43 +20,59 @@ export default function afterLogin() {
18
20
body: JSON.stringify(body)
19
21
});
20
22
if(res.status===201){
21
-
M.toast({html: 'Message sent',classes: 'green'})
23
+
setMsgAck(true);
24
+
setTimeout(()=>setMsgAck(false),2500)
22
25
}else{
23
26
setErrorMsg(awaitres.text());
24
27
}
25
28
updateLoad(false);
29
+
varmsgForm=document.getElementById("msgForm");
30
+
msgForm.reset();
26
31
};
27
-
return(<divclassName="row">
28
-
<divclassName="col s12 m12">
29
-
<divclassName="card-panel horizontal blue ">
30
-
<spanclassName="white-text">Hey you made it here {user ? user.name : 'Stranger'}, we all were waiting for you.<br/>I hope you like this Authentication module, Its simple yet important to know.
31
-
I'll be updating it with many new stuff frequently.<br/><br/>Till then you can look around.<strong> Don't forget to drop a message for me.</strong></span>
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
43
+
<p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p>
53
44
</div>
54
45
</div>
55
46
</div>
56
-
}
57
-
</button>
58
-
</form>
59
-
</div>)
47
+
</div> */}
48
+
<divclassName="row">
49
+
<divclassName="col-sm-12">
50
+
<divclassName="card-text">
51
+
Hey you made it here {user ? user.name : 'Stranger'}, we all were waiting for you.<br/>I hope you like this Authentication module, Its simple yet important to know.
52
+
I'll be updating it with many new stuff frequently.<br/><br/>Till then you can look around.<strong> Don't forget to drop a message for me.</strong>
<spanclassName="white-text"style={{fontSize: '1.2rem'}}>This is an Authentication build in <ahref="https://nextjs.org/"target="_blank"style={{textDecoration: 'underline',color: "white"}}>Next.js</a> using <ahref="http://www.passportjs.org/"target="_blank"style={{textDecoration: 'underline',color: "white"}}>Passport.js</a> and <ahref="https://www.mongodb.com/"target="_blank"style={{textDecoration: 'underline',color: "white"}}>Mongodb </a>
48
-
. It is a fully functional &readytousemodulebuildforyournextwebapplication.Thisistemplate0.0Iwillbepushingmorenewpersonalizedtemplatessoon.<br/><br/>-Till then go on try it around, I hope you like it-</span>
This is an Authentication build in <ahref="https://nextjs.org/"target="_blank"style={{textDecoration: 'underline',color: ""}}>Next.js</a> using <ahref="http://www.passportjs.org/"target="_blank"style={{textDecoration: 'underline',color: ""}}>Passport.js</a> and <ahref="https://www.mongodb.com/"target="_blank"style={{textDecoration: 'underline',color: ""}}>Mongodb </a>
44
+
. It is a fully functional &readytousemodulebuildforyournextwebapplication.Thisistemplate0.0Iwillbepushingmorenewpersonalizedtemplatessoon.
0 commit comments