Skip to content

Commit

Permalink
docs(docs-infra): add tab titles to home, playground and tutorial (#5…
Browse files Browse the repository at this point in the history
…3026)

PR Close #53026
  • Loading branch information
aramirezj authored and thePunderWoman committed Jan 31, 2024
1 parent 2e2e8aa commit a297012
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion adev/src/app/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ export const routes: Route[] = [
{
path: '',
loadComponent: () => import('./features/home/home.component'),
data: {label: 'Home'}
},
{
path: PagePrefix.DOCS,
Expand All @@ -141,7 +142,7 @@ export const routes: Route[] = [
{
path: PagePrefix.PLAYGROUND,
loadComponent: () => import('./features/playground/playground.component'),
data: {...commonTutorialRouteData},
data: {...commonTutorialRouteData, label: 'Playground'},
},
...SUB_NAVIGATION_ROUTES,
...API_REFERENCE_ROUTES,
Expand Down
1 change: 1 addition & 0 deletions adev/src/app/sub-navigation-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,7 @@ export const TUTORIALS_SUB_NAVIGATION_DATA: NavigationItem[] = [
{
path: DefaultPage.TUTORIALS,
contentPath: 'tutorials/home',
label: 'Tutorials'
},
];

Expand Down

0 comments on commit a297012

Please sign in to comment.