@@ -2,7 +2,7 @@ import * as React from 'react';
22import { useState } from 'react' ;
33import { Link , NavLink } from 'react-router-dom' ;
44import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' ;
5- import { faCogs , faLayerGroup , faSignOutAlt , faPuzzlePiece } from '@fortawesome/free-solid-svg-icons' ;
5+ import { faCogs , faLayerGroup , faSignOutAlt } from '@fortawesome/free-solid-svg-icons' ;
66import { useStoreState } from 'easy-peasy' ;
77import { ApplicationStore } from '@/state' ;
88import SearchContainer from '@/components/dashboard/search/SearchContainer' ;
@@ -50,7 +50,7 @@ export default () => {
5050 } ;
5151
5252 return (
53- < div className = { 'w-full bg-neutral-900 shadow-md overflow-x-auto' } >
53+ < div className = { 'w-full bg-neutral-900 shadow-md overflow-x-auto' } id = { 'NavigationBar' } >
5454 < BeforeNavigation />
5555 < SpinnerOverlay visible = { isLoggingOut } />
5656 < div className = { 'mx-auto w-full flex items-center h-[3.5rem] max-w-[1200px]' } >
@@ -67,34 +67,27 @@ export default () => {
6767 < RightNavigation className = { 'flex h-full items-center justify-center' } >
6868 < SearchContainer />
6969 < Tooltip placement = { 'bottom' } content = { 'Dashboard' } >
70- < NavLink to = { '/' } exact >
70+ < NavLink to = { '/' } exact id = { 'NavigationDashboard' } >
7171 < FontAwesomeIcon icon = { faLayerGroup } />
7272 </ NavLink >
7373 </ Tooltip >
7474 { rootAdmin && (
7575 < Tooltip placement = { 'bottom' } content = { 'Admin' } >
76- < a href = { '/admin' } rel = { 'noreferrer' } >
76+ < a href = { '/admin' } rel = { 'noreferrer' } id = { 'NavigationAdmin' } >
7777 < FontAwesomeIcon icon = { faCogs } />
7878 </ a >
7979 </ Tooltip >
8080 ) }
81- { rootAdmin && (
82- < Tooltip placement = { 'bottom' } content = { 'Extensions' } >
83- < a href = { '/admin/extensions' } rel = { 'noreferrer' } >
84- < FontAwesomeIcon icon = { faPuzzlePiece } />
85- </ a >
86- </ Tooltip >
87- ) }
8881 < AdditionalItems />
8982 < Tooltip placement = { 'bottom' } content = { 'Account Settings' } >
90- < NavLink to = { '/account' } >
83+ < NavLink to = { '/account' } id = { 'NavigationAccount' } >
9184 < span className = { 'flex items-center w-5 h-5' } >
9285 < Avatar . User />
9386 </ span >
9487 </ NavLink >
9588 </ Tooltip >
9689 < Tooltip placement = { 'bottom' } content = { 'Sign Out' } >
97- < button onClick = { onTriggerLogout } >
90+ < button onClick = { onTriggerLogout } id = { 'NavigationLogout' } >
9891 < FontAwesomeIcon icon = { faSignOutAlt } />
9992 </ button >
10093 </ Tooltip >
0 commit comments