import { A } from "@solidjs/router"; import { JSXElement, Show, useContext } from "solid-js"; import { LoginContext } from "../Context/GlobalState"; import { Home, Plus } from "../Util/Icons"; // Represents a single list item in the menu bar export function MenuItem(props: { href: string; children: JSXElement; }): JSXElement { return (
  • {props.children}
  • ); } // Represents the menu bar at the top of the page export function Menu(): JSXElement { const login_ctx = useContext(LoginContext)!; return ( ); }