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 { NextChakraLink } from './nextChakraAdapters/NextChakraLink'
|
|
|
|
|
import { Logo } from 'assets/icons/Logo'
|
|
|
|
|
|
|
|
|
|
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{' '}
|
|
|
|
|
<NextChakraLink href={baptisteTwitterUrl} color="gray.400">
|
|
|
|
|
@baptisteArno
|
|
|
|
|
</NextChakraLink>
|
|
|
|
|
</Text>
|
2022-02-09 18:40:40 +01:00
|
|
|
|
</Stack>
|
|
|
|
|
<Stack align={'flex-start'}>
|
|
|
|
|
<ListHeader>Product</ListHeader>
|
2022-03-17 14:37:00 +01:00
|
|
|
|
<NextChakraLink
|
|
|
|
|
href={documentationLink}
|
|
|
|
|
isExternal
|
|
|
|
|
color="gray.400"
|
|
|
|
|
>
|
|
|
|
|
Documentation
|
|
|
|
|
</NextChakraLink>
|
|
|
|
|
<NextChakraLink href={roadmapLink} isExternal color="gray.400">
|
2022-02-09 18:40:40 +01:00
|
|
|
|
Roadmap
|
|
|
|
|
</NextChakraLink>
|
2022-03-17 14:37:00 +01:00
|
|
|
|
<NextChakraLink href={'/pricing'} color="gray.400">
|
|
|
|
|
Pricing
|
|
|
|
|
</NextChakraLink>
|
2022-02-09 18:40:40 +01:00
|
|
|
|
</Stack>
|
|
|
|
|
<Stack align={'flex-start'}>
|
|
|
|
|
<ListHeader>Community</ListHeader>
|
2022-03-17 14:37:00 +01:00
|
|
|
|
<NextChakraLink href={githubRepoLink} isExternal color="gray.400">
|
|
|
|
|
GitHub repository
|
|
|
|
|
</NextChakraLink>
|
|
|
|
|
<NextChakraLink href={facebookGroupUrl} isExternal color="gray.400">
|
2022-02-09 18:40:40 +01:00
|
|
|
|
Facebook Group
|
|
|
|
|
</NextChakraLink>
|
2022-03-17 14:37:00 +01:00
|
|
|
|
<NextChakraLink
|
|
|
|
|
href={typebotTwitterUrl}
|
|
|
|
|
isExternal
|
|
|
|
|
color="gray.400"
|
|
|
|
|
>
|
2022-02-09 18:40:40 +01:00
|
|
|
|
Twitter
|
|
|
|
|
</NextChakraLink>
|
2022-03-17 14:37:00 +01:00
|
|
|
|
<NextChakraLink
|
|
|
|
|
href={typebotLinkedInUrl}
|
|
|
|
|
isExternal
|
|
|
|
|
color="gray.400"
|
|
|
|
|
>
|
2022-02-09 18:40:40 +01:00
|
|
|
|
LinkedIn
|
|
|
|
|
</NextChakraLink>
|
|
|
|
|
</Stack>
|
|
|
|
|
<Stack align={'flex-start'}>
|
|
|
|
|
<ListHeader>Company</ListHeader>
|
2022-03-17 14:37:00 +01:00
|
|
|
|
<NextChakraLink href="mailto:baptiste@typebot.io" color="gray.400">
|
2022-02-09 18:40:40 +01:00
|
|
|
|
Contact
|
|
|
|
|
</NextChakraLink>
|
2022-03-17 14:37:00 +01:00
|
|
|
|
<NextChakraLink href={'/terms-of-service'} color="gray.400">
|
2022-02-09 18:40:40 +01:00
|
|
|
|
Terms of Service
|
|
|
|
|
</NextChakraLink>
|
2022-03-17 14:37:00 +01:00
|
|
|
|
<NextChakraLink href={'/privacy-policies'} color="gray.400">
|
2022-02-09 18:40:40 +01:00
|
|
|
|
Privacy Policy
|
|
|
|
|
</NextChakraLink>
|
|
|
|
|
</Stack>
|
|
|
|
|
</SimpleGrid>
|
|
|
|
|
</Container>
|
|
|
|
|
</Box>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const ListHeader = ({ children }: { children: ReactNode }) => {
|
|
|
|
|
return (
|
|
|
|
|
<Heading fontWeight={'500'} fontSize={'lg'} mb={2}>
|
|
|
|
|
{children}
|
|
|
|
|
</Heading>
|
|
|
|
|
)
|
|
|
|
|
}
|