-
Notifications
You must be signed in to change notification settings - Fork 26.1k
/
CTA.tsx
41 lines (39 loc) · 821 Bytes
/
CTA.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import { Link as ChakraLink, Button } from '@chakra-ui/react'
import { Container } from './Container'
export const CTA = () => (
<Container
flexDirection="row"
position="fixed"
bottom={0}
width="full"
maxWidth="3xl"
py={3}
>
<Button
as={ChakraLink}
isExternal
href="https://chakra-ui.com"
variant="outline"
colorScheme="green"
rounded="button"
flexGrow={1}
mx={2}
width="full"
>
chakra-ui
</Button>
<Button
as={ChakraLink}
isExternal
href="https://github.com/vercel/next.js/blob/canary/examples/with-chakra-ui-typescript"
variant="solid"
colorScheme="green"
rounded="button"
flexGrow={3}
mx={2}
width="full"
>
View Repo
</Button>
</Container>
)