Skip to content

Commit 85f2f01

Browse files
typo in tools, added meta to client
1 parent 3e35734 commit 85f2f01

File tree

27 files changed

+171
-36
lines changed

27 files changed

+171
-36
lines changed

docs/client/app/colours/_components/ColourNav.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { all_components } from "@/data/all_components";
1+
import { all_colours } from "@/data/all_colours";
22
import NavNode from "@/components/SidebarNavNode";
33

44
// --- Main Component ---
@@ -9,7 +9,7 @@ export default function ColourNav() {
99
<h2>Documentation</h2>
1010
</div>
1111
<nav className="flex flex-col gap-1 py-[5ch] px-[2.5ch] pt-0 border-b-[1.5px] border-b-charcoal-700">
12-
{Object.entries(all_components).map(([key, value]) => (
12+
{Object.entries(all_colours).map(([key, value]) => (
1313
<NavNode key={key} name={key} node={value} />
1414
))}
1515
</nav>

docs/client/app/colours/layout.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import ColourSidebar from "./_components/ColourSidebar";
22
import Nav from "@/components/Nav";
33
import DocsPattern from "@/components/patterns/DocsPatternRight";
4+
45
export default function GuideLayout({
56
children,
67
}: Readonly<{

docs/client/app/colours/page.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ import MutedSwatches from "./_components/MutedSwatches";
33

44
import VibrantSwatches from "./_components/VibrantSwatches";
55

6+
export const metadata = {
7+
title: "Colours | BCDS",
8+
description: "Build Canada Design System Colour documentation",
9+
};
10+
11+
612
# Colours
713

814
The Build Canada Design System makes use of tailwind-style colour systems and several themes for compatability with various front end systems for purposes like:

docs/client/app/colours/themes/charts/twelve-tone/page.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
import TwelveToneSwatches from "./_components/Swatches.tsx"
22

3+
export const metadata = {
4+
title: "Twelve-Tone Charts | BCDS",
5+
description: "Twelve-Tone Chart documentation from the Build Canada Design System.",
6+
};
7+
38
# Twelve-Tone Charts
49

510
This is a fairly niche application that has had excessive exploration.

docs/client/app/components/content/card/page.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
1+
export const metadata = {
2+
title: "Card | Components | Build Canada Design System",
3+
description: "Build Canada Design System's Card component documentation. Card is a composable card component with multiple variants for different content types.",
4+
};
25

36
# Card
47

docs/client/app/components/content/hero/page.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
export const metadata = {
2+
title: "Hero | Components | Build Canada Design System",
3+
description: "Build Canada Design System's Hero component documentation. Hero is a hero section component for page headers with title, subtitle, and call-to-action buttons.",
4+
};
5+
16
# Hero
27

38
A hero section component for page headers with title, subtitle, and call-to-action buttons.

docs/client/app/components/content/stat-block/page.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
export const metadata = {
2+
title: "Stat Block | Components | Build Canada Design System",
3+
description: "Build Canada Design System's Stat Block component documentation. Stat Block is a component for displaying key statistics with optional trend indicators.",
4+
};
5+
16
# Stat Block
27

38
A component for displaying key statistics with optional trend indicators.

docs/client/app/components/feedback/dialogue/page.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
export const metadata = {
2+
title: "Dialogue | Components | Build Canada Design System",
3+
description: "Build Canada Design System's Dialogue component documentation. Dialogue is a non-modal floating panel that doesn't block interaction with the rest of the UI.",
4+
};
5+
16
# Dialogue
27

38
A non-modal floating panel that doesn't block interaction with the rest of the UI.

docs/client/app/components/feedback/popup-form/page.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
export const metadata = {
2+
title: "Popup Form | Components | Build Canada Design System",
3+
description: "Build Canada Design System's Popup Form component documentation. Popup Form is a non-modal form panel that composes Dialog with form elements and action buttons.",
4+
};
5+
16
# Popup Form
27

38
A non-modal form panel that composes Dialog with form elements and action buttons.

docs/client/app/components/layout/container/page.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
export const metadata = {
2+
title: "Container | Components | Build Canada Design System",
3+
description: "Build Canada Design System's Container component documentation. Container is a centered container component with configurable max-width breakpoints.",
4+
};
5+
16
# Container
27

38
A centered container component with configurable max-width breakpoints.

0 commit comments

Comments
 (0)