diff --git a/client/src/routes/_app/organizations.tsx b/client/src/routes/_app/organizations.tsx index 6e4de55..8d47453 100644 --- a/client/src/routes/_app/organizations.tsx +++ b/client/src/routes/_app/organizations.tsx @@ -1,5 +1,5 @@ -import { createFileRoute, redirect } from "@tanstack/solid-router"; -import { createResource } from "solid-js"; +import { createFileRoute } from "@tanstack/solid-router"; +import { createResource, For, type VoidProps } from "solid-js"; import { Title } from "../../Title"; import { useUserContext } from "../../userContext"; @@ -14,6 +14,21 @@ type Organization = { name: string; }; +function Card(properties: VoidProps<{ organization: Organization }>) { + return ( +
  • + {/* TODO accessbility, the whole content should not be wrapped in a link as that messes withs screen readers */} + + Open + {properties.organization.name} + +
  • + ); +} + function Organizations() { const userContext = useUserContext(); @@ -32,7 +47,14 @@ function Organizations() { return ( <> Organizations -
    + {/* TODO overflow, pagination, scrolling */} +
    + +
    ); }