package ui import appver "git.lohmar.co.uk/lexton-it/NextWks/core/version" templ LauncherPage(userName string, role string, apps []AppTile) { Next Workspace
@topBar(userName, role)
@greetingSection(userName) @AppGrid(apps)
} templ greetingSection(userName string) {
{ initials(userName) }

Good { timeOfDay() }, { userName }

Your workspace is ready

} templ topBar(userName string, role string) {
N
NextWks
{ initials(userName) }
} templ workspaceCSS() { } // --- Helpers --- func version() string { return appver.Version } func initials(name string) string { if name == "" { return "?" } if len(name) == 1 { return name } return string(name[0]) } func timeOfDay() string { // Simple: always show "morning" for now return "morning" } // --- PWA Instructions --- templ pwaInstructions() {

Desktop Chrome/Edge

  1. Click the icon in the address bar
  2. Click Install

iOS Safari

  1. Tap Share
  2. Tap Add to Home Screen

Android Chrome

  1. Tap menu
  2. Tap Install app
} // --- JavaScript --- templ launcherJS() { }