Skip to content

Commit 3a65fae

Browse files
committed
[Portal] Docs: adds SiteEmbed and SiteLink to docs (#5334)
CNCT-2266 <!-- start pr-codex --> --- ## PR-Codex overview This PR adds a new section titled "Advanced" to the sidebar in the `sidebar.tsx` file, which includes links to UI components. This enhances the navigation structure, providing users with easier access to specific features. ### Detailed summary - Added a new section `Advanced` to the sidebar. - Set `isCollapsible` to `false` for the `Advanced` section. - Included a `links` array under `Advanced` with a link to `UI Components`. - Mapped `SiteEmbed` and `SiteLink` to create individual links with names, hrefs, and icons. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent 164b70b commit 3a65fae

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

apps/portal/src/app/react/v5/sidebar.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,21 @@ export const sidebar: SideBar = {
391391
],
392392
},
393393
{ separator: true },
394+
{
395+
name: "Advanced",
396+
isCollapsible: false,
397+
links: [
398+
{
399+
name: "UI Components",
400+
links: ["SiteEmbed", "SiteLink"].map((name) => ({
401+
name,
402+
href: `${slug}/${name}`,
403+
icon: <CodeIcon />,
404+
})),
405+
},
406+
],
407+
},
408+
{ separator: true },
394409
{
395410
name: "Migrate from v4",
396411
href: `${slug}/migrate`,

0 commit comments

Comments
 (0)