Skip to content

Commit

Permalink
feat: links as buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Jun 8, 2020
1 parent a4d7575 commit e1c65be
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/stories/src/blogs/home-page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,23 @@ export const BoxItem = props => (
<Text sx={{ my: 2 }}>
design -> develop -> test
</Text>
<DocsLink sx={{ color: 'white'}}>Getting started</DocsLink>
<Button as={DocsLink}>Getting started</Button>
</Flex>
</Flex>

<Flex sx={{ flexDirection: 'column', alignItems: 'center', py: 5}}>
<Flex sx={{ flexDirection: 'row', alignItems: 'center', flexWrap: 'wrap', justifyContent: 'space-between', maxWidth: '1000px', width: '100%'}}>
<BoxItem>
<Subtitle>Start with Gatsby</Subtitle>
<Link href='/storybook'>get started...</Link>
<Button as={Link} href='/storybook'>get started...</Button>
</BoxItem>
<BoxItem>
<Subtitle>Start with Vercel</Subtitle>
<Link href='/storybook'>get started...</Link>
<Button as={Link} href='/storybook'>get started...</Button>
</BoxItem>
<BoxItem>
<Subtitle>Start with Storybook</Subtitle>
<Link href='/storybook'>get started...</Link>
<Button as={Link} href='/storybook'>get started...</Button>
</BoxItem>
</Flex>
</Flex>

0 comments on commit e1c65be

Please sign in to comment.