nose-pluto/app/nose/bin/projects.tsx
2025-09-29 19:08:04 -07:00

13 lines
359 B
TypeScript

// Show the projects on this NOSEputer.
import { apps } from "app/src/webapp"
import { sessionGet } from "@/session"
export default function () {
const state = sessionGet()
if (!state) return { error: "no state" }
return <>
{apps().map(app => <a href={`#load ${app}`} class={app === state.project ? "magenta" : ""}>{app}</a>)}
</>
}