diff --git a/src/components/NavigationDocs.jsx b/src/components/NavigationDocs.jsx index 66f305aa..200e5e9c 100644 --- a/src/components/NavigationDocs.jsx +++ b/src/components/NavigationDocs.jsx @@ -453,6 +453,14 @@ export const docsNavigation = [ }, { title: 'AGENT NETWORK', + // Featured highlight: any group with `featured: true` renders as the + // card at the top of the sidebar, with an optional `badge`. isOpen:false + // keeps this card collapsed by default, while the other top-level + // sections start expanded. To spotlight a different product later, move + // these lines to its group; remove them to drop the card entirely. + featured: true, + badge: 'New', + isOpen: false, links: [ { title: 'Getting Started', @@ -1171,15 +1179,30 @@ export function NavigationDocs({ className }) { Github Support - {docsNavigation.map((group, groupIndex) => ( - - - - ))} + {docsNavigation.map((group, groupIndex) => + group.featured ? ( + + + + ) : null + )} + {docsNavigation.some((group) => group.featured) && ( +
  • + )} +
    - {!hasChildren && ( + {!hasChildren && isOpen && ( <> {isActiveGroup && (