import { Flex, Text } from '@chakra-ui/react'
import { CalledItCard } from '../components'

export function LoadingPage() {
  return (
    <Flex minH="100vh" bg="page" align="center" justify="center" px="6">
      <CalledItCard
        cardTitle="Checking session"
        cardDescription="Validating the current user against the backend."
      >
        <Text color="text">Please wait...</Text>
      </CalledItCard>
    </Flex>
  )
}
