UNPKG

@e280/authlocal

Version:

User-sovereign login system for everybody

21 lines 735 B
import { html, shadowView } from "@benev/slate"; import stylesCss from "./styles.css.js"; import themeCss from "../../../theme.css.js"; import { Upload } from "./subviews/upload/view.js"; import { Recovery } from "./subviews/recovery/view.js"; export const IngressPage = shadowView(use => (situation) => { use.name("ingress-page"); use.styles([themeCss, stylesCss]); const { tabby } = situation.intake; const { tabs, panel } = tabby.render([ { button: () => "Uploader", panel: () => Upload([situation]) }, { button: () => "Recovery Seed", panel: () => Recovery([situation]) }, ]); return html ` <section theme-plate> ${tabs} ${panel} </section> `; }); //# sourceMappingURL=view.js.map