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
4788ee92
Commit
4788ee92
authored
Jul 28, 2025
by
asranov0003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add header actions logo
parent
454c72be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
Header.css
src/layouts/Header/Header.css
+7
-0
Header.tsx
src/layouts/Header/Header.tsx
+7
-0
No files found.
src/layouts/Header/Header.css
View file @
4788ee92
...
...
@@ -23,6 +23,13 @@
cursor
:
pointer
;
}
.header__actions__logo
{
width
:
30px
;
height
:
30px
;
border-radius
:
2px
;
cursor
:
pointer
;
}
.sidebar__overlay
{
position
:
fixed
;
top
:
0
;
...
...
src/layouts/Header/Header.tsx
View file @
4788ee92
...
...
@@ -25,6 +25,7 @@ import {
}
from
"../../stores/slices/deviceSlice"
;
import
CDeviceSelect
from
"../../components/CDeviceSelect"
;
import
{
logout
}
from
"../../stores/slices/authSlice"
;
import
TheCybernanny
from
"../../assets/images/TheCybernanny.png"
;
const
Header
:
React
.
FC
=
()
=>
{
const
[
isSidebarOpen
,
setIsSidebarOpen
]
=
useState
(
false
);
...
...
@@ -68,6 +69,12 @@ const Header: React.FC = () => {
<>
<
div
className=
"header wrapper"
>
<
div
className=
"header__actions"
>
<
img
src=
{
TheCybernanny
}
alt=
"TheCybernanny"
className=
"header__actions__logo"
/>
<
GrMenu
className=
"header__actions__icon"
onClick=
{
()
=>
setIsSidebarOpen
(
true
)
}
...
...
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