import Head from 'next/head'; import Link from 'next/link'; import prisma from '../lib/prisma'; import Shell from '../components/Shell'; import { signIn, useSession, getSession } from 'next-auth/client'; export default function Home(props) { const [ session, loading ] = useSession(); if (loading) { return
Loading...
; } else { if (!session) { window.location.href = "/auth/login"; } } return(Get started by connecting your first calendar integration, enabling us to fetch your availability. Head over to the integrations page, and click the add link.
Google Calendar
} {integration.type == 'google_calendar' &&Calendar Integration
}You haven't added any integrations.