Skip to content

Commit

Permalink
fix aside demo (#3156)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahgm authored Jul 19, 2023
1 parent e169e1e commit 25df0c9
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions docs/content/components/aside/rightside.demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Aside } from '@marigold/components';

export default () => (
<Aside space={4} side="right">
<div className="h-48 w-14 border border-slate-300 bg-slate-300" />
<div className="border border-slate-300 bg-slate-300" />
<div className="h-48 w-full border border-slate-300 bg-slate-300" />
<div className="h-48 w-12 border border-slate-300 bg-slate-300" />
</Aside>
);
2 changes: 1 addition & 1 deletion docs/content/components/aside/space.demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { Aside } from '@marigold/components';
export default () => (
<Aside space={5}>
<div className="h-28 w-14 border border-slate-300 bg-slate-300" />
<div className="border border-slate-300 bg-slate-300" />
<div className="h-28 w-full border border-slate-300 bg-slate-300" />
</Aside>
);
34 changes: 17 additions & 17 deletions docs/registry/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,6 @@ export const registry = {
),
file: 'content/components/accordion/basic-accordion.demo.tsx',
},
rightside: {
name: 'rightside',
demo: dynamic(() => import('@/content/components/aside/rightside.demo')),
file: 'content/components/aside/rightside.demo.tsx',
},
space: {
name: 'space',
demo: dynamic(() => import('@/content/components/aside/space.demo')),
file: 'content/components/aside/space.demo.tsx',
},
'button-variant': {
name: 'button-variant',
demo: dynamic(
() => import('@/content/components/button/button-variant.demo')
),
file: 'content/components/button/button-variant.demo.tsx',
},
'horizontal-breakout': {
name: 'horizontal-breakout',
demo: dynamic(
Expand All @@ -49,4 +32,21 @@ export const registry = {
),
file: 'content/components/breakout/vertical-breakout.demo.tsx',
},
rightside: {
name: 'rightside',
demo: dynamic(() => import('@/content/components/aside/rightside.demo')),
file: 'content/components/aside/rightside.demo.tsx',
},
space: {
name: 'space',
demo: dynamic(() => import('@/content/components/aside/space.demo')),
file: 'content/components/aside/space.demo.tsx',
},
'button-variant': {
name: 'button-variant',
demo: dynamic(
() => import('@/content/components/button/button-variant.demo')
),
file: 'content/components/button/button-variant.demo.tsx',
},
} as const;

2 comments on commit 25df0c9

@vercel
Copy link

@vercel vercel bot commented on 25df0c9 Jul 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

marigold-storybook – ./

marigold-latest.vercel.app
marigold-storybook-git-main-marigold.vercel.app
marigold-storybook-marigold.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 25df0c9 Jul 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

marigold-docs – ./

marigold-docs.vercel.app
marigold-docs-marigold.vercel.app
marigold-docs-git-main-marigold.vercel.app

Please sign in to comment.