Skip to content

Commit

Permalink
Merge pull request #1235 from City-of-Helsinki/HDS-2109-storybook-links
Browse files Browse the repository at this point in the history
(HDS-2109) Add links to Storybooks to site.
  • Loading branch information
mrTuomoK authored Mar 5, 2024
2 parents c1f296d + 2a0d4cb commit 3cceaa5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Changes that are not related to specific components

- [Component] What is added?
- [Icons] Added missing icons to site icons list
- Added links to React and Core Storybooks to Resources and Components pages

#### Changed

Expand Down
4 changes: 4 additions & 0 deletions site/src/docs/about/resources.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ import InternalLink from '../../components/InternalLink';
- <ExternalLink href="https://github.com/City-of-Helsinki/helsinki-design-system/tree/master/packages/react">HDS React</ExternalLink>
- <ExternalLink href="https://github.com/City-of-Helsinki/helsinki-design-system/tree/master/packages/design-tokens">HDS Design tokens</ExternalLink>
- <ExternalLink href="https://github.com/City-of-Helsinki/helsinki-design-system/tree/master/site">HDS Documentation site</ExternalLink>

## HDS storybook examples
- <InternalLink href="/storybook/react">React Storybook</InternalLink>
- <InternalLink href="/storybook/core">Core Storybook</InternalLink>
7 changes: 6 additions & 1 deletion site/src/docs/components/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@ slug: "/components"
title: "Components overview"
---

import ComponentsList from '../../components/ComponentsList'
import ComponentsList from '../../components/ComponentsList';
import InternalLink from '../../components/InternalLink';

# Components overview

This section lists all components currently available in HDS.

Components can be viewed also in the Storybook examples.
- <InternalLink href="/storybook/react">React Storybook</InternalLink>
- <InternalLink href="/storybook/core">Core Storybook</InternalLink>

<ComponentsList />

0 comments on commit 3cceaa5

Please sign in to comment.