Skip to content

Commit

Permalink
docs: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cschroeter committed Jun 23, 2023
1 parent 5003de5 commit f42bf0a
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Added

- Added `selected` sttyles for the secondary `Button` variant.
- Added `selected` styles for the secondary `Button` variant.

### Changed

Expand Down
31 changes: 30 additions & 1 deletion src/stories/pro-components.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {
Button,
CloseButton,
Container,
Heading,
Icon,
Link,
Square,
Expand All @@ -12,7 +13,7 @@ import {
import { BiCookie } from 'react-icons/bi'

const meta = {
title: 'Pro Components / Banners',
title: 'Pro Components',
}

export default meta
Expand Down Expand Up @@ -124,3 +125,31 @@ export const Banner2 = () => (
</Box>
</Container>
)

export const PageHeader = () => (
<Container py={{ base: '16', md: '24' }}>
<Stack spacing={{ base: '8', md: '10' }}>
<Stack spacing={{ base: '4', md: '6' }}>
<Stack spacing="3">
<Text fontSize={{ base: 'sm', md: 'md' }} fontWeight="semibold" color="accent">
Tagline
</Text>
<Heading size={{ base: 'md', md: 'lg' }} fontWeight="semibold">
Get lifetime access
</Heading>
</Stack>
<Text color="fg.muted" fontSize={{ base: 'lg', md: 'xl' }} maxW="3xl">
Get early access to 210+ components and free updates.
</Text>
</Stack>
<Stack direction={{ base: 'column-reverse', md: 'row' }} spacing="4">
<Button variant="secondary" size="xl">
Learn more
</Button>
<Button variant="primary" size="xl">
Buy now
</Button>
</Stack>
</Stack>
</Container>
)

1 comment on commit f42bf0a

@vercel
Copy link

@vercel vercel bot commented on f42bf0a Jun 23, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.