2
0

Add user account page

This commit is contained in:
Baptiste Arnaud
2021-12-27 15:59:32 +01:00
parent 698867da5d
commit e10fe1a186
33 changed files with 911 additions and 129 deletions

View File

@ -0,0 +1,34 @@
import { Flex, Stack, Heading, Divider, Button } from '@chakra-ui/react'
import { ChevronLeftIcon } from 'assets/icons'
import { NextChakraLink } from 'components/nextChakra/NextChakraLink'
import React from 'react'
import { PersonalInfoForm } from 'components/account/PersonalInfoForm'
import { BillingSection } from 'components/account/BillingSection'
export const AccountContent = () => {
return (
<Flex h="full" w="full" justifyContent="center" align="flex-start">
<Stack maxW="600px" w="full" pt="4" spacing={10}>
<Flex>
<Button
as={NextChakraLink}
variant="outline"
size="sm"
leftIcon={<ChevronLeftIcon />}
href="/typebots"
>
Back
</Button>
</Flex>
<Heading as="h1" fontSize="3xl">
Account Settings
</Heading>
<Divider />
<PersonalInfoForm />
<Divider />
<BillingSection />
</Stack>
</Flex>
)
}