2022-02-09 18:40:40 +01:00
|
|
|
|
import React, { ReactNode } from 'react'
|
|
|
|
|
|
2022-03-17 14:37:00 +01:00
|
|
|
|
import {
|
|
|
|
|
Box,
|
|
|
|
|
Container,
|
|
|
|
|
Heading,
|
|
|
|
|
HStack,
|
|
|
|
|
SimpleGrid,
|
|
|
|
|
Stack,
|
|
|
|
|
Text,
|
|
|
|
|
} from '@chakra-ui/react'
|
2022-02-09 18:40:40 +01:00
|
|
|
|
import { Logo } from 'assets/icons/Logo'
|
2022-11-03 19:39:42 +01:00
|
|
|
|
import { TextLink } from './TextLink'
|
2022-02-09 18:40:40 +01:00
|
|
|
|
|
|
|
|
|
const facebookGroupUrl = 'https://www.facebook.com/groups/typebot'
|
|
|
|
|
const typebotLinkedInUrl = 'https://www.linkedin.com/company/typebot'
|
|
|
|
|
const typebotTwitterUrl = 'https://twitter.com/Typebot_io'
|
2022-03-17 14:37:00 +01:00
|
|
|
|
const baptisteTwitterUrl = 'https://twitter.com/baptisteArno'
|
2022-02-09 18:40:40 +01:00
|
|
|
|
export const contactUrl = 'https://bot.typebot.io/landing-page-bubble-en'
|
2022-03-07 18:30:11 +01:00
|
|
|
|
export const roadmapLink = 'https://app.typebot.io/feedback'
|
2022-03-17 14:37:00 +01:00
|
|
|
|
export const documentationLink = 'https://docs.typebot.io'
|
|
|
|
|
export const githubRepoLink = 'https://github.com/baptisteArno/typebot.io'
|
2022-02-09 18:40:40 +01:00
|
|
|
|
|
|
|
|
|
export const Footer = () => {
|
|
|
|
|
return (
|
2022-03-17 14:37:00 +01:00
|
|
|
|
<Box w="full">
|
2022-02-09 18:40:40 +01:00
|
|
|
|
<Container as={Stack} maxW={'1000px'} py={10}>
|
2022-03-17 14:37:00 +01:00
|
|
|
|
<SimpleGrid columns={[1, 2, 4]} spacing={8} px={2}>
|
2022-02-09 18:40:40 +01:00
|
|
|
|
<Stack spacing={6}>
|
2022-03-17 14:37:00 +01:00
|
|
|
|
<HStack>
|
2022-02-09 18:40:40 +01:00
|
|
|
|
<Logo boxSize="30px" />
|
2022-03-17 14:37:00 +01:00
|
|
|
|
<Heading as="p" fontSize="lg">
|
|
|
|
|
Typebot
|
|
|
|
|
</Heading>
|
|
|
|
|
</HStack>
|
|
|
|
|
<Text>
|
|
|
|
|
Made with ❤️ by{' '}
|
2022-11-03 19:39:42 +01:00
|
|
|
|
<TextLink href={baptisteTwitterUrl}>@baptisteArno</TextLink>
|
2022-03-17 14:37:00 +01:00
|
|
|
|
</Text>
|
2022-02-09 18:40:40 +01:00
|
|
|
|
</Stack>
|
|
|
|
|
<Stack align={'flex-start'}>
|
|
|
|
|
<ListHeader>Product</ListHeader>
|
2022-11-03 19:39:42 +01:00
|
|
|
|
<TextLink href={documentationLink} isExternal>
|
2022-03-17 14:37:00 +01:00
|
|
|
|
Documentation
|
2022-11-03 19:39:42 +01:00
|
|
|
|
</TextLink>
|
|
|
|
|
<TextLink href={roadmapLink} isExternal>
|
2022-02-09 18:40:40 +01:00
|
|
|
|
Roadmap
|
2022-11-03 19:39:42 +01:00
|
|
|
|
</TextLink>
|
|
|
|
|
<TextLink href={'/pricing'}>Pricing</TextLink>
|
2022-02-09 18:40:40 +01:00
|
|
|
|
</Stack>
|
|
|
|
|
<Stack align={'flex-start'}>
|
|
|
|
|
<ListHeader>Community</ListHeader>
|
2022-11-03 19:39:42 +01:00
|
|
|
|
<TextLink href={githubRepoLink} isExternal>
|
2022-03-17 14:37:00 +01:00
|
|
|
|
GitHub repository
|
2022-11-03 19:39:42 +01:00
|
|
|
|
</TextLink>
|
|
|
|
|
<TextLink href={facebookGroupUrl} isExternal>
|
2022-02-09 18:40:40 +01:00
|
|
|
|
Facebook Group
|
2022-11-03 19:39:42 +01:00
|
|
|
|
</TextLink>
|
|
|
|
|
<TextLink href={typebotTwitterUrl} isExternal>
|
2022-02-09 18:40:40 +01:00
|
|
|
|
Twitter
|
2022-11-03 19:39:42 +01:00
|
|
|
|
</TextLink>
|
|
|
|
|
<TextLink href={typebotLinkedInUrl} isExternal>
|
2022-02-09 18:40:40 +01:00
|
|
|
|
LinkedIn
|
2022-11-03 19:39:42 +01:00
|
|
|
|
</TextLink>
|
2022-02-09 18:40:40 +01:00
|
|
|
|
</Stack>
|
|
|
|
|
<Stack align={'flex-start'}>
|
|
|
|
|
<ListHeader>Company</ListHeader>
|
2022-11-03 19:39:42 +01:00
|
|
|
|
<TextLink href="/about">About</TextLink>
|
|
|
|
|
<TextLink href="mailto:baptiste@typebot.io">Contact</TextLink>
|
|
|
|
|
<TextLink href={'/terms-of-service'}>Terms of Service</TextLink>
|
|
|
|
|
<TextLink href={'/privacy-policies'}>Privacy Policy</TextLink>
|
2022-02-09 18:40:40 +01:00
|
|
|
|
</Stack>
|
|
|
|
|
</SimpleGrid>
|
|
|
|
|
</Container>
|
|
|
|
|
</Box>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const ListHeader = ({ children }: { children: ReactNode }) => {
|
|
|
|
|
return (
|
|
|
|
|
<Heading fontWeight={'500'} fontSize={'lg'} mb={2}>
|
|
|
|
|
{children}
|
|
|
|
|
</Heading>
|
|
|
|
|
)
|
|
|
|
|
}
|