UNPKG

@benev/nubs

Version:
35 lines (33 loc) 965 B
import { html } from "xiome/x/toolbox/hamster-html/html.js"; import pageHtml from "../partials/page.html.js"; const urls = { github: "https://github.com/benevolent-games/nubs", website: "https://benevolent.games/", }; export default (context) => pageHtml({ ...context, mainContent: html ` <header> <h1><span>🔘</span> nubs</h1> <p>user-input system for web games</p> <p> see on <a href="${urls.github}">github</a>.. a <a href="${urls.website}">benevolent.games</a> project.. </p> <button onclick="localStorage.clear(); location.reload()"> reset everything </button> </header> <nub-context> <nub-stick></nub-stick> <nub-stickpad></nub-stickpad> <nub-lookpad></nub-lookpad> <nub-visualizer></nub-visualizer> <nub-gridboard></nub-gridboard> <nub-editor></nub-editor> <nub-pointer></nub-pointer> <nub-keyboard></nub-keyboard> </nub-context> `, }); //# sourceMappingURL=index.html.js.map