updated assets names

This commit is contained in:
2025-09-15 17:02:57 +03:00
parent 1d6704948b
commit 8873453c80
6 changed files with 5 additions and 5 deletions

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

Before

Width:  |  Height:  |  Size: 8.7 MiB

After

Width:  |  Height:  |  Size: 8.7 MiB

View File

@ -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);

View File

@ -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">

View File

@ -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={{