mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
TopNav: Section navigation UX (#55012)
* Design tweaks * Updated * Fixing unit tests * Review fixes * Text primary on active sections, and change home icon to text * spacing fix * More fix * Fixes * Updates
This commit is contained in:
@@ -298,11 +298,15 @@ export function getAppRoutes(): RouteDescriptor[] {
|
||||
component: SafeDynamicImport(() => import(/* webpackChunkName: "TeamPages" */ 'app/features/teams/TeamPages')),
|
||||
},
|
||||
// ADMIN
|
||||
|
||||
{
|
||||
path: '/admin',
|
||||
component: () => (config.featureToggles.topnav ? <NavLandingPage navId="cfg" /> : <Redirect to="/admin/users" />),
|
||||
},
|
||||
{
|
||||
path: '/admin/server',
|
||||
component: () =>
|
||||
config.featureToggles.topnav ? <NavLandingPage navId="admin" /> : <Redirect to="/admin/users" />,
|
||||
},
|
||||
{
|
||||
path: '/admin/settings',
|
||||
component: SafeDynamicImport(
|
||||
|
||||
Reference in New Issue
Block a user