import type { BlitzPage, GetServerSideProps } from "blitz"; import { getSession, Routes, useRouter } from "blitz"; // TODO: make this page feel more welcoming lol const Welcome: BlitzPage = () => { const router = useRouter(); return (

Thanks for joining Shellphone

Let us know if you need our help

Make sure to set up your phone number

); }; export const getServerSideProps: GetServerSideProps = async ({ req, res }) => { const session = await getSession(req, res); await session.$setPublicData({ shouldShowWelcomeMessage: undefined }); return { props: {}, }; }; export default Welcome;