Skip to content

Commit 095d040

Browse files
Change Principles to Guidelines and add Themes there
1 parent 2ca144f commit 095d040

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

apps/website/screens/common/pagesList.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,11 @@ const utilitiesLinks: LinkDetails[] = [
3636
},
3737
];
3838

39-
const principlesLinks: LinkDetails[] = [
40-
{ label: "Data visualization", path: "/principles/data-visualization", icon: "insert_chart" },
41-
{ label: "Localization", path: "/principles/localization", icon: "language" },
39+
const guidelinesLinks: LinkDetails[] = [
40+
{ label: "Data visualization", path: "/guidelines/data-visualization", icon: "insert_chart" },
41+
{ label: "Localization", path: "/guidelines/localization", icon: "language" },
42+
// TODO: update icon
43+
{ label: "Themes", path: "/guidelines/themes", icon: "format_paint" },
4244
];
4345

4446
const tokensLinks: LinkDetails[] = [
@@ -56,7 +58,6 @@ const foundationsLinks: (LinkDetails | LinksSectionDetails)[] = [
5658
{ label: "Spacing", path: "/foundations/spacing", icon: "space_bar" },
5759
{ label: "Tokens", links: tokensLinks, icon: "token" },
5860
{ label: "Typography", path: "/foundations/typography", icon: "font_download" },
59-
{ label: "Themes", path: "/foundations/themes", icon: "format_paint" },
6061
];
6162

6263
const v16Links: LinkDetails[] = [
@@ -71,7 +72,7 @@ const componentsLinks = componentsList as (LinkDetails | LinksSectionDetails)[];
7172

7273
export const LinksSections: LinksSectionDetails[] = [
7374
{ label: "Overview", links: overviewLinks },
74-
{ label: "Principles", links: principlesLinks },
75+
{ label: "Guidelines", links: guidelinesLinks },
7576
{ label: "Foundations", links: foundationsLinks },
7677
{ label: "Migration", links: migrationLinks },
7778
{ label: "Utilities", links: utilitiesLinks },

0 commit comments

Comments
 (0)