import { CSSProperties, useEffect, useState } from "react"; import { LogoDark } from "../components/logo"; import Home from '@material-ui/icons/Home'; import VideogameAssetIcon from '@material-ui/icons/VideogameAsset'; import ExtensionIcon from '@material-ui/icons/Extension'; import SearchIcon from '@material-ui/icons/Search'; import SettingsIcon from '@material-ui/icons/Settings'; import PersonIcon from '@material-ui/icons/Person'; import { AccountAvatar } from "./account"; var NavBarItemStyle: CSSProperties = { margin: 12, marginBottom: 16, display: "block" } export function NavBar() { var [ loggedIn, setLoggedIn ] = useState(false); useEffect(() => setLoggedIn(document.cookie.includes("token")), []); return
}