layouts
All repositories: gitoria
758 B
// components/site-header.hl — the showcase site's header: the theme's AppHeader with the site's main menu and a mock// signed-in user menu. `current` = the page's href, marked in the main menu.import AppHeader from '../theme/shell/app-header.hl'import MainMenu from '../theme/shell/main-menu.hl'import UserMenu from '../theme/shell/user-menu.hl'import { siteName, menu } from '../lib/site.hl'String current = '/'String brand = siteNameHybrid items = menuView {AppHeader { brand = brand search = "/search" searchPlaceholder = "Search the showcase…"MainMenu { items = items current = current }UserMenu { name = "Signed in as az5b2 (mock)"a { href = "/docs/using-the-theme.md" "Settings" }a { href = "/" "Logout" }}}}
Branches
Latest commits
- 876b2064docs: workaround note for hybriel#130 (slot marker mid-line)mre
- 85b56541layouts mission 002 3/3: same-output tests, letcount, shots ports, docs, reportmre
- 0f325d3blayouts mission 002 2/3: code rules — styles.hl -> components/styles.hl, the one never-reassigned let dropped; gate 73/0, same outputmre
- a3e74c8alayouts mission 002 1/3: components re-copied byte-verbatim from components.hybriel 3f93d71 by tools/sync-components.sh (+ --check, components/SOURCE); gate 73/0, check-theme 0mre
- 80ce6ba9report 001 (mission 075)mre
- 5c6e338flayouts.worldapi.org in Hybriel: WorldAPI theme (tokens, borderless elements, themed components.hybriel components), shells (header, main/user menu, sidebar overlay, content-first, list-first, three-pane), showcase, check-theme helper; gate 73/0 (mission 075)mre