ident
All repositories: gitoria
834 B
// components/main.hl — THE SHELL: the application header and the slot the page renders// into. All CSS is in styles.hl.import { siteName } from '../project.hl'slot = nullView {body {applicationHeader {a { class = "brand" href = "/" siteName }span { class = "tagline" "worldapi login" }nav {a { id = "navidentities" href = "/" "Identities" }a { id = "navinbox" href = "/inbox" "Inbox" }a { id = "navapps" href = "/apps" "Apps" }}}main { slot }script { src = "/avatar.js" }}}// "SIGN OUT EVERYWHERE" from another device or tab (home.hl signOutAll): the server pushes// this to every open page of the account (project.hl audience), which reloads into the// signed-out state at once — no click needed.on client signedOutAll(accountId) {window.location.reload()}
Branches
- mainmain branch