mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-01 18:20:28 +00:00
Update navbar component
This commit is contained in:
@@ -31,7 +31,11 @@ const Navbar = ({ withSidebar }: NavbarProps) => {
|
|||||||
items={
|
items={
|
||||||
role !== 'admin'
|
role !== 'admin'
|
||||||
? [
|
? [
|
||||||
{ icon: <Settings />, label: 'Settings', action: () => {} },
|
{
|
||||||
|
icon: <Settings />,
|
||||||
|
label: 'Settings',
|
||||||
|
action: () => history.push('/settings'),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
icon: <Logout />,
|
icon: <Logout />,
|
||||||
label: 'Logout',
|
label: 'Logout',
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ export const Wrapper = styled.div<WrapperProps>`
|
|||||||
user-select: none;
|
user-select: none;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
z-index: 99;
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Reference in New Issue
Block a user