gitoria

layouts

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit8cddcaa98cddcaa9Merge branch 'hl-standard-2' into mainAtlas8cddcaa9/components/settings.hl

1.1 KB

  1. // components/settings.hl — `/settings`: the header's Settings, a real page in the showcase shell. The showcase has one
  2. // setting a visitor can change — the accent colour (kept in this browser) — so the page is the accent switcher with its
  3. // reason, and the way on to the docs. (An app's own Settings page is its own; this one shows where the link goes.)
  4. parent './main.hl'
  5. import SiteHeader from './site-header.hl'
  6. import SiteSidebar from './site-sidebar.hl'
  7. import ContentFirst from '../theme/shell/content-first.hl'
  8. import AccentSwitcher from './accent-switcher.hl'
  9. __title = 'Settings · WorldAPI layouts'
  10. View {
  11. settingsPage {
  12. SiteHeader { current = "/settings" }
  13. ContentFirst {
  14. SiteSidebar { current = "/settings" }
  15. main {
  16. h1 { "Settings" }
  17. p { class = "muted" "The showcase keeps one setting, in this browser only: the accent colour an app takes from the palette (a switch changes links, focus rings and primary buttons at once)." }
  18. AccentSwitcher { }
  19. p { class = "muted" "How an app wires its own Settings link into the user menu: " a { href = "/read/layouts-user-menu" "User menu" } "." }
  20. }
  21. }
  22. }
  23. }

Branches

Latest commits

  • 8cddcaa9Merge branch 'hl-standard-2' into mainAtlas
  • 2b480a64|||PR Type the route parameter of main-menu build (HL-STANDARD L10)Atlas
  • ab54a39dMerge branch 'hl-standard' into mainAtlas
  • 04d36fcf|||PR Type function parameters and drop unneeded let (HL-STANDARD L2, L10)Atlas
  • 220c8fa4Merge branch 'readme-audit' into mainAtlas
  • b78fb85a|||PR README matches the codemre
  • 9f351699Preserve comments and nest supported selectors without changing rendered outputmre
  • 97110ad9WIP: nest accepted layout selectors; stopped at startup parse failuremre
  • ce4a0baeKeep caller slot styles whole so minimal shell apps startmre
  • 12cd3992Re-vendor complete Hybriel plugins and runtime to day44mre
  • b05c20feBackup tar: --hard-dereference, so mpackdb sidecars are never stored as hard links (Tracker's finding)mre
  • 8d9ed0b8Re-vendor complete Hybriel plugins and runtime to day39mre
  • ebd00b6cNest caller slot styles in three-panemre
  • 009991efNest caller slot styles in list-firstmre
  • 494d75d4Nest caller slot styles in app-sidebarmre
  • e5571680Align all plugin sources with Hybriel day38bmre
  • 5d204c46Re-vendor layouts to Hybriel set day38bmre
  • 17e0f03eNest html-prefixed theme component overridesmre
  • e54e735eFormat plain theme elements with nested rules and bare mediamre
  • 547f834eRecord LY7 deployment and live verificationmre