Skip to content

Commit

Permalink
(HDS-2109) Add links to Storybooks to site.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrTuomoK committed Mar 3, 2024
1 parent 90096b7 commit c415e82
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 @@ -54,6 +54,7 @@ Changes that are not related to specific components
#### Added

- [Component] What is added?
- 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="https://hds.hel.fi/storybook/react">React Storybook</InternalLink>
- <InternalLink href="https://hds.hel.fi/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="https://hds.hel.fi/storybook/react">React Storybook</InternalLink>
- <InternalLink href="https://hds.hel.fi/storybook/core">Core Storybook</InternalLink>

<ComponentsList />

0 comments on commit c415e82

Please sign in to comment.