Documentation
¶
Overview ¶
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
Index ¶
- func AppBase(dev bool, domain string, app manifest.App) templ.SafeURL
- func CardGrid(dev bool, domain string, apps []manifest.App, cards map[string]string) templ.Component
- func Dashboard(user auth.User, dev bool, domain string, apps []manifest.App, ...) templ.Component
- func Footer(release version.Info) templ.Component
- func ResultHref(base, rel string) string
- func SearchResults(user auth.User, dev bool, domain string, q string, groups []Group) templ.Component
- func Settings(user auth.User, name, brief string, saved bool) templ.Component
- type Group
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppBase ¶ added in v0.2.0
AppBase is appURL exported for the search fan-out, which resolves each result's app-relative URL against its app's base.
func CardGrid ¶
func CardGrid(dev bool, domain string, apps []manifest.App, cards map[string]string) templ.Component
CardGrid is the dashboard's live region (ADR-0022): re-rendered and patched over SSE whenever any app reports a change for this user.
func Footer ¶ added in v0.12.0
Footer states which Bespoke release this instance runs, and links the newer one when the update check found it (ADR-0034).
func ResultHref ¶ added in v0.2.0
ResultHref joins an app's base URL with a search result's app-relative URL; an empty rel means the app's home (spec: docs/specs/app-search.md).
func SearchResults ¶ added in v0.2.0
Types ¶
Click to show internal directories.
Click to hide internal directories.