basic homescreen
This commit is contained in:
3
@types/nextjs-routes.d.ts
vendored
3
@types/nextjs-routes.d.ts
vendored
@@ -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
12
src/pages/index.tsx
Normal 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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user