Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
thecybernanny-webapp
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
asranov0003
thecybernanny-webapp
Commits
454c72be
Commit
454c72be
authored
Jul 28, 2025
by
asranov0003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add auth logo
parent
2d5c05d1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
0 deletions
+26
-0
Auth.css
src/pages/Auth/Auth.css
+11
-0
Login.tsx
src/pages/Auth/Login/Login.tsx
+5
-0
Recover.tsx
src/pages/Auth/Recover/Recover.tsx
+5
-0
Register.tsx
src/pages/Auth/Register/Register.tsx
+5
-0
No files found.
src/pages/Auth/Auth.css
View file @
454c72be
.auth__logo
{
display
:
flex
;
justify-content
:
center
;
margin
:
1rem
0
;
}
.auth__logo
img
{
width
:
130px
;
border-radius
:
10px
;
}
.auth__form
{
display
:
flex
;
flex-direction
:
column
;
...
...
src/pages/Auth/Login/Login.tsx
View file @
454c72be
...
...
@@ -14,6 +14,7 @@ import {
}
from
"../../../stores/store"
;
import
{
TG_USER_ID
}
from
"../../../constants/constants"
;
import
{
useAuth
}
from
"../../../contexts/AuthContext/useAuth"
;
import
TheCybernanny
from
"../../../assets/images/TheCybernanny.png"
;
interface
ILoginFormData
{
login
:
string
;
...
...
@@ -53,6 +54,10 @@ const Login: React.FC = () => {
<
div
className=
"wrapper login"
>
<
AuthHeader
/>
<
div
className=
"auth__logo"
>
<
img
src=
{
TheCybernanny
}
alt=
"TheCybernanny"
/>
</
div
>
<
h2
>
{
t
(
"auth.entrance"
)
}
</
h2
>
<
form
className=
"auth__form"
onSubmit=
{
handleSubmit
(
onSubmit
)
}
>
...
...
src/pages/Auth/Recover/Recover.tsx
View file @
454c72be
...
...
@@ -12,6 +12,7 @@ import {
type
RootState
,
}
from
"../../../stores/store"
;
import
{
authRecover
}
from
"../../../stores/slices/authSlice"
;
import
TheCybernanny
from
"../../../assets/images/TheCybernanny.png"
;
interface
IRecoverFormData
{
login
:
string
;
...
...
@@ -44,6 +45,10 @@ const Recover: React.FC = () => {
<
div
className=
"wrapper recover"
>
<
AuthHeader
back
onBack=
{
()
=>
navigate
(
"/"
)
}
/>
<
div
className=
"auth__logo"
>
<
img
src=
{
TheCybernanny
}
alt=
"TheCybernanny"
/>
</
div
>
<
h2
>
{
t
(
"auth.passwordRecovery"
)
}
</
h2
>
<
form
className=
"auth__form"
onSubmit=
{
handleSubmit
(
onSubmit
)
}
>
...
...
src/pages/Auth/Register/Register.tsx
View file @
454c72be
...
...
@@ -11,6 +11,7 @@ import { useAppDispatch, type RootState } from "../../../stores/store";
import
{
authRegister
}
from
"../../../stores/slices/authSlice"
;
import
{
TG_USER_ID
}
from
"../../../constants/constants"
;
import
{
useAuth
}
from
"../../../contexts/AuthContext/useAuth"
;
import
TheCybernanny
from
"../../../assets/images/TheCybernanny.png"
;
interface
IRegisterFormData
{
login
:
string
;
...
...
@@ -54,6 +55,10 @@ const Register: React.FC = () => {
<
div
className=
"wrapper"
>
<
AuthHeader
back
onBack=
{
()
=>
navigate
(
"/"
)
}
/>
<
div
className=
"auth__logo"
>
<
img
src=
{
TheCybernanny
}
alt=
"TheCybernanny"
/>
</
div
>
<
h2
>
{
t
(
"auth.register"
)
}
</
h2
>
<
form
className=
"auth__form"
onSubmit=
{
handleSubmit
(
onSubmit
)
}
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment