Skip to content

Commit

Permalink
feat(doc): import link & text in unattached mdx
Browse files Browse the repository at this point in the history
Signed-off-by: Stagnol <[email protected]>
  • Loading branch information
astagnol authored and dpellier committed Jul 29, 2024
1 parent f53a554 commit c0b1a9b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/storybook/stories/ovhcloud-design-system/home.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { Meta } from '@storybook/blocks';
import '../components/link/link.stories';
import '../components/text/text.stories';

<Meta title="OVHcloud Design System/Welcome" />

Expand Down Expand Up @@ -33,8 +35,8 @@ import { Meta } from '@storybook/blocks';
>
<span
style={{
width: '30rem',
height: '2rem',
width: '40rem',
height: '4rem',
backgroundImage: `url(ods_logo.svg)`,
backgroundSize: 'contain',
backgroundRepeat: 'no-repeat',
Expand All @@ -54,12 +56,12 @@ import { Meta } from '@storybook/blocks';
flexDirection: "column",
padding: '0 .5rem',
maxWidth: "21rem",
gap: "1.5rem",
gap: "2rem",
}}
>
<ods-link label="Get Started"
icon="arrow-right"
href="?path=/story/ovhcloud-design-system-get-started--page"
href="../?path=/docs/ovhcloud-design-system-get-started--docs"
style={{
fontSize: "1.4rem"
}}
Expand Down

0 comments on commit c0b1a9b

Please sign in to comment.