import React from 'react' import Card from '../../components/Card' import Head from 'next/head' import { useSession } from 'next-auth/client' import { Flex, Text, Spacer } from "@chakra-ui/react" function Index() { const [session, loading] = useSession() return ( <> {!session && <>

Seems like you're not logged in. Log in to get started!

} {session && <> Cath Control Panel
Control Panel
} ) } export default Index