From 518597c6dd0d613547a979b91f2406c9e117511a Mon Sep 17 00:00:00 2001 From: ssarahgm Date: Wed, 11 Sep 2024 16:49:17 +0200 Subject: [PATCH 01/31] change sturcture of navigation and delete some pages --- docs/app/_components/SectionNavigation.tsx | 2 + docs/app/_components/SiteHeader.tsx | 2 +- docs/content/concepts/style-props.mdx | 2 +- docs/content/concepts/validation.mdx | 2 +- docs/content/develop/release.mdx | 14 ---- docs/content/develop/scripts.mdx | 82 ------------------- .../design-token-guidelines.mdx | 2 +- .../design-tokens.mdx | 2 +- .../{concepts => foundations}/elevation.mdx | 2 +- .../{concepts => foundations}/icons.mdx | 0 .../surface-default.demo.tsx | 0 .../surface-overlay.demo.tsx | 0 .../surface-raised.demo.tsx | 0 .../surface-sunken.demo.tsx | 0 docs/content/introduction/about.mdx | 26 ------ .../component-guidelines.mdx | 0 .../{introduction => resources}/faq.mdx | 8 +- .../get-in-touch.mdx | 0 docs/lib/config.ts | 8 +- 19 files changed, 19 insertions(+), 133 deletions(-) delete mode 100644 docs/content/develop/release.mdx delete mode 100644 docs/content/develop/scripts.mdx rename docs/content/{introduction => foundations}/design-token-guidelines.mdx (99%) rename docs/content/{introduction => foundations}/design-tokens.mdx (99%) rename docs/content/{concepts => foundations}/elevation.mdx (99%) rename docs/content/{concepts => foundations}/icons.mdx (100%) rename docs/content/{concepts => foundations}/surface-default.demo.tsx (100%) rename docs/content/{concepts => foundations}/surface-overlay.demo.tsx (100%) rename docs/content/{concepts => foundations}/surface-raised.demo.tsx (100%) rename docs/content/{concepts => foundations}/surface-sunken.demo.tsx (100%) delete mode 100644 docs/content/introduction/about.mdx rename docs/content/{develop => resources}/component-guidelines.mdx (100%) rename docs/content/{introduction => resources}/faq.mdx (89%) rename docs/content/{introduction => resources}/get-in-touch.mdx (100%) diff --git a/docs/app/_components/SectionNavigation.tsx b/docs/app/_components/SectionNavigation.tsx index 7713afc8a7..b805c6b272 100644 --- a/docs/app/_components/SectionNavigation.tsx +++ b/docs/app/_components/SectionNavigation.tsx @@ -16,6 +16,8 @@ export const SectionNavigation = () => { section => section.name.toLocaleLowerCase() === formattedSectionName ); + console.log(navigation.find(section => section.name.toLocaleLowerCase())); + return (