updated assets names
This commit is contained in:
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 8.7 MiB After Width: | Height: | Size: 8.7 MiB |
@ -1,5 +1,5 @@
|
||||
const ping = async (token: string | null): Promise<boolean> => {
|
||||
// TODO: request to API
|
||||
// TODO: request to API - ping
|
||||
return new Promise((resolve) => {
|
||||
setTimeout(() => {
|
||||
resolve(!!token);
|
||||
|
||||
@ -32,7 +32,7 @@ const Login = () => {
|
||||
return;
|
||||
}
|
||||
|
||||
// TODO: request to API
|
||||
// TODO: request to API - login
|
||||
if ((username === "admin" && password === "1234") || (username === "a" && password === "a")) {
|
||||
const token = "todo.jwt.token";
|
||||
setToken(token);
|
||||
@ -54,7 +54,7 @@ const Login = () => {
|
||||
</div>
|
||||
<div className="login-left">
|
||||
<video className="login-video" autoPlay loop muted>
|
||||
<source src={"./test.mp4"} type='video/mp4' />
|
||||
<source src={"./login-video.mp4"} type='video/mp4' />
|
||||
</video>
|
||||
</div>
|
||||
<div className="login-right">
|
||||
|
||||
@ -32,7 +32,7 @@ const Register = () => {
|
||||
return;
|
||||
}
|
||||
|
||||
// TODO: request to API
|
||||
// TODO: request to API - register
|
||||
if (username === "cat" && password === "cat") {
|
||||
const token = "newusertodo.jwt.token";
|
||||
setToken(token);
|
||||
@ -44,7 +44,7 @@ const Register = () => {
|
||||
|
||||
return (
|
||||
<div className="register">
|
||||
<img className="register-background" src="mountains.jpg"></img>
|
||||
<img className="register-background" src="register-background.jpg"></img>
|
||||
<div className="register-block">
|
||||
<form onSubmit={handleSubmit}
|
||||
style={{
|
||||
|
||||
Reference in New Issue
Block a user