diff --git a/islands/DirList.tsx b/islands/DirList.tsx index f6d8007..7e8fc5c 100644 --- a/islands/DirList.tsx +++ b/islands/DirList.tsx @@ -14,7 +14,7 @@ function ListItem(props: { return (
  • - +

    {props.children}

  • diff --git a/islands/Login.tsx b/islands/Login.tsx index 3a56038..a183590 100644 --- a/islands/Login.tsx +++ b/islands/Login.tsx @@ -1,3 +1,22 @@ +import { ComponentChildren } from "preact"; + +function InputBox(props: { + label: string; + labelChildren?: ComponentChildren; + type: string; +}){ + const { label, labelChildren, type } = props; + return
    + + +
    +} + export default function LoginForm({ redirect = "/", failed = false, @@ -19,24 +38,8 @@ export default function LoginForm({ class="flex flex-col gap-2 items-stretch" >
    -
    - - -
    -
    - - -
    + +