{{define "title"}}{{.Name}} · Base{{end}} {{/* On a wide screen Ask Base is docked open beside Home until the member closes it. */}}{{define "root"}}{{if and .Ask (not .AskOpen)}} class="desk-closed"{{end}}{{end}} {{define "main"}}
{{/* The header across the top. The Base button opens Ask Base: on a wide screen it shows only while the chat is closed. */}}
base
{{.Name}}
{{/* A form on a wide screen, where opening is kept for the member; a link to /ask on a phone, which works without scripts. */}}{{if .Ask}}
{{end}}{{.Initials}}

{{.Greeting}}

{{.Lede}}

{{/* The Ask field under the greeting. It folds away while the chat is docked open. */}}{{if .Ask}}
Ask Base anything/
{{end}} {{/* Every app in one glass panel, one grid of alike items: the Oficina apps, the installed apps, then Base's own pages. A wrapping grid on a wide screen, four columns on a phone. */}}
{{with .Ask}}
{{template "ask-panel" .}}
{{end}}
{{end}} {{define "app"}}{{if .Image}}{{else}}{{.Icon}}{{end}}{{.Name}}{{end}}