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...
; } if (!session) { window.location.href = "/auth/login"; return; } 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.
Office 365 / Outlook.com Calendar
} {integration.type == 'google_calendar' &&Google Calendar
}Calendar Integration
You haven't added any integrations.