+ - - - - }> - - - - - - - - {isIAMEnabled && ( - - )} - - - - - - - {isDatabasesEnabled && ( - - )} - - {isACLPEnabled && ( - - )} - - {/** We don't want to break any bookmarks. This can probably be removed eventually. */} - - {/** - * This is the catch all routes that allows TanStack Router to take over. - * When a route is not found here, it will be handled by the migration router, which in turns handles the NotFound component. - * It is currently set to the migration router in order to incrementally migrate the app to the new routing. - * This is a temporary solution until we are ready to fully migrate to TanStack Router. - */} - - toggleMenu(false)} + collapse={desktopMenuIsOpen || false} + desktopMenuToggle={desktopMenuToggle} + open={menuIsOpen} + /> + +
+ + ({ + flex: 1, + margin: '0 auto', + maxWidth: `${theme.breakpoints.values.lg}px !important`, + pt: { + md: 1.5, + xs: theme.spacing(2), + }, + px: { + md: theme.spacing(2), + xs: 0, + }, + py: 1.5, + transition: theme.transitions.create('opacity'), + width: isNarrowViewport + ? '100%' + : `calc(100vw - ${ + desktopMenuIsOpen + ? SIDEBAR_COLLAPSED_WIDTH + : SIDEBAR_WIDTH + }px)`, + })} + component="main" + id="main-content" + role="main" + > + + + + }> + + + + + + - - - + + {isIAMEnabled && ( + + )} + + + + + + + {isDatabasesEnabled && ( + + )} + + {isACLPEnabled && ( + + )} + + {/** We don't want to break any bookmarks. This can probably be removed eventually. */} + + {/** + * This is the catch all routes that allows TanStack Router to take over. + * When a route is not found here, it will be handled by the migration router, which in turns handles the NotFound component. + * It is currently set to the migration router in order to incrementally migrate the app to the new routing. + * This is a temporary solution until we are ready to fully migrate to TanStack Router. + */} + + + + + + - -