@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
ts 20 lines 436 Bytes
Raw
1 import type { RouteDefinition } from "@solidjs/router";
2 import { lazy } from "solid-js";
3 import AboutData from "./pages/about.data";
4 import Home from "./pages/home";
5
6 export const routes: RouteDefinition[] = [
7 {
8 path: "/",
9 component: Home,
10 },
11 {
12 path: "/about",
13 component: lazy(() => import("./pages/about")),
14 data: AboutData,
15 },
16 {
17 path: "**",
18 component: lazy(() => import("./errors/404")),
19 },
20 ];