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:
Torkel Ödegaard
2022-09-13 12:24:23 +02:00
committed by GitHub
parent 031c186617
commit da001b01f1
14 changed files with 173 additions and 126 deletions

View File

@@ -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(