import pageHtml from "./partials/page.html.js" import {XiomeWebsiteContext} from "../build-types.js" import {html, untab} from "../../toolbox/hamster-html/html.js" export default ({mode, base, ...options}: XiomeWebsiteContext) => pageHtml({ ...options, mode, base, pageName: "components", headHtml: html` ${mode === "mock" || mode === "local" ? html`` : html``} `, mainHtml: html`
to install a component, copy the green html code into your website's html <body> section
this component allows users to edit their profile
${untab(`
`).trim()}
the component allows users to login or logout, and you control what's displayed in different states
${untab(`
You are logged in
You are logged out
`).trim()}
You are logged in
You are logged out
a community board where users can post questions
${untab(`
`).trim()}
admins can ban naughty users with this handy search widget
${untab(`
`).trim()}
admins can setup advanced roles and privileges
${untab(`
`).trim()}
more components coming soon