Skip to content

Commit

Permalink
feat(storybook-templates): changed first nav link text and added unst…
Browse files Browse the repository at this point in the history
…able label to the template pages
  • Loading branch information
Ruben Smit committed Nov 1, 2024
1 parent 675dc72 commit 6751d32
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 8 deletions.
6 changes: 5 additions & 1 deletion packages/storybook/src/templates/collage.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ import './globals.css';
const meta: Meta = {
title: 'Templates/Collage',
component: Page,
parameters: {},
parameters: {
status: {
type: 'UNSTABLE',
},
},
};
export default meta;

Expand Down
2 changes: 1 addition & 1 deletion packages/storybook/src/templates/collage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default function Collage() {
</div>
<NavBar
items={[
{ href: '/', label: 'Page' },
{ href: '/', label: 'Rich Text' },
{ href: '/form', label: 'Form' },
{ href: '/details', label: 'Details' },
{ href: '/collage', label: 'Collage' },
Expand Down
6 changes: 5 additions & 1 deletion packages/storybook/src/templates/details.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ import './globals.css';
const meta: Meta = {
title: 'Templates/Details',
component: Page,
parameters: {},
parameters: {
status: {
type: 'UNSTABLE',
},
},
};
export default meta;

Expand Down
2 changes: 1 addition & 1 deletion packages/storybook/src/templates/details/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function Details() {
</div>
<NavBar
items={[
{ href: '/', label: 'Page' },
{ href: '/', label: 'Rich Text' },
{ href: '/form', label: 'Form' },
{ href: '/details', label: 'Details' },
{ href: '/collage', label: 'Collage' },
Expand Down
6 changes: 5 additions & 1 deletion packages/storybook/src/templates/form.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ import './globals.css';
const meta: Meta = {
title: 'Templates/Form',
component: Page,
parameters: {},
parameters: {
status: {
type: 'UNSTABLE',
},
},
};
export default meta;

Expand Down
2 changes: 1 addition & 1 deletion packages/storybook/src/templates/form/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default function Form() {
</div>
<NavBar
items={[
{ href: '/', label: 'Page' },
{ href: '/', label: 'Rich Text' },
{ href: '/form', label: 'Form' },
{ href: '/details', label: 'Details' },
{ href: '/collage', label: 'Collage' },
Expand Down
6 changes: 5 additions & 1 deletion packages/storybook/src/templates/rich-text.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ import './globals.css';
const meta: Meta = {
title: 'Templates/Rich Text',
component: Page,
parameters: {},
parameters: {
status: {
type: 'UNSTABLE',
},
},
};
export default meta;

Expand Down
2 changes: 1 addition & 1 deletion packages/storybook/src/templates/rich-text/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function Page() {
</div>
<NavBar
items={[
{ href: '/', label: 'Page' },
{ href: '/', label: 'Rich Text' },
{ href: '/form', label: 'Form' },
{ href: '/details', label: 'Details' },
{ href: '/collage', label: 'Collage' },
Expand Down

0 comments on commit 6751d32

Please sign in to comment.