diff --git a/docs/src/components/header/HeaderNavDropdown.tsx b/docs/src/components/header/HeaderNavDropdown.tsx index 12dd76003063e9..0d0c4114bb40af 100644 --- a/docs/src/components/header/HeaderNavDropdown.tsx +++ b/docs/src/components/header/HeaderNavDropdown.tsx @@ -109,16 +109,12 @@ const DOCS = [ description: 'Advanced and powerful components for complex use cases.', href: ROUTES.advancedComponents, }, - // @ts-ignore - ...(process.env.DEPLOY_ENV === 'production' - ? [] - : [ - { - name: 'MUI Toolpad', - description: 'Low-code admin builder.', - href: ROUTES.toolpadDocs, - }, - ]), + { + name: 'MUI Toolpad', + description: 'Low-code admin builder.', + href: ROUTES.toolpadDocs, + chip: 'Alpha', + }, ]; export default function HeaderNavDropdown() { @@ -265,7 +261,18 @@ export default function HeaderNavDropdown() { noLinkStyle sx={{ flexDirection: 'column', alignItems: 'initial' }} > - {item.name} + + {item.name} + {item.chip ? ( + + ) : null} + {item.description} diff --git a/docs/src/modules/components/MuiProductSelector.tsx b/docs/src/modules/components/MuiProductSelector.tsx index e042da60870aec..239ab5e73975c2 100644 --- a/docs/src/modules/components/MuiProductSelector.tsx +++ b/docs/src/modules/components/MuiProductSelector.tsx @@ -162,38 +162,35 @@ export default function MuiProductSelector() { /> - {/* @ts-ignore */} - {process.env.DEPLOY_ENV === 'production' ? null : ( -
  • - +
  • + + theme.palette.mode === 'dark' + ? alpha(theme.palette.primary[100], 0.08) + : theme.palette.grey[100], + width: '100%', + '&:hover': { + backgroundColor: (theme) => theme.palette.mode === 'dark' - ? alpha(theme.palette.primary[100], 0.08) - : theme.palette.grey[100], - width: '100%', - '&:hover': { - backgroundColor: (theme) => - theme.palette.mode === 'dark' - ? alpha(theme.palette.primaryDark[700], 0.4) - : theme.palette.grey[50], - }, - }} - > - } - name="MUI Toolpad" - description="Low-code admin builder." - chip={} - /> - -
  • - )} + ? alpha(theme.palette.primaryDark[700], 0.4) + : theme.palette.grey[50], + }, + }} + > + } + name="MUI Toolpad" + description="Low-code admin builder." + chip={} + /> + + ); }