basic homescreen

This commit is contained in:
Kyle Corbitt
2023-06-26 22:13:35 -07:00
parent 10c7b3fa2e
commit 844e133745
2 changed files with 14 additions and 1 deletions

View File

@@ -13,7 +13,8 @@ declare module "nextjs-routes" {
export type Route =
| DynamicRoute<"/api/auth/[...nextauth]", { "nextauth": string[] }>
| DynamicRoute<"/api/trpc/[trpc]", { "trpc": string }>
| DynamicRoute<"/experiments/[id]", { "id": string }>;
| DynamicRoute<"/experiments/[id]", { "id": string }>
| StaticRoute<"/">;
interface StaticRoute<Pathname> {
pathname: Pathname;

12
src/pages/index.tsx Normal file
View File

@@ -0,0 +1,12 @@
import { Center } from "@chakra-ui/react";
import AppShell from "~/components/nav/AppShell";
export default function Home() {
return (
<AppShell title="Experiment not found">
<Center h="100vh">
<div>Select an experiment from the sidebar to get started!</div>
</Center>
</AppShell>
);
}