@@ -22,12 +22,6 @@ const homeRoute = [
2222 } ,
2323] ;
2424
25- const componentsMap = {
26- kButton : 'k-button' ,
27- kBreadcrumbs : 'k-breadcrumbs' ,
28- kNavbar : 'k-navbar' ,
29- } ;
30-
3125// This data structure contains the navigational links pointing to all the
3226// content pages in the style guide.
3327// Notes: This is view-agnostic; it doesn't make assumption on how it will be
@@ -51,23 +45,23 @@ const navMenu = [
5145 sectionName : 'Components' ,
5246 sectionItems : sortSectionItems ( [
5347 {
54- itemName : componentsMap . kButton ,
48+ itemName : 'Buttons' ,
5549 itemRoute : {
56- path : `/components/${ componentsMap . kButton } ` ,
50+ path : `/components/buttons ` ,
5751 component : kButton ,
5852 } ,
5953 } ,
6054 {
61- itemName : componentsMap . kBreadcrumbs ,
55+ itemName : 'Breadcrumbs' ,
6256 itemRoute : {
63- path : `/components/${ componentsMap . kBreadcrumbs } ` ,
57+ path : `/components/breadcrumbs ` ,
6458 component : kBreadcrumbs ,
6559 } ,
6660 } ,
6761 {
68- itemName : componentsMap . kNavbar ,
62+ itemName : 'Horizontal Navbar' ,
6963 itemRoute : {
70- path : `/components/${ componentsMap . kNavbar } ` ,
64+ path : `/components/navbar ` ,
7165 component : kNavbar ,
7266 } ,
7367 } ,
0 commit comments