-
Notifications
You must be signed in to change notification settings - Fork 0
WTL Site Shell G1
WTL Site Shell G1 is the reusable navigation and accessibility layer for a generated S.F.W.A. Template project. It makes the primary site controls appear in the same predictable place across Wayne Tech Lab LLC web properties while leaving each project free to set its own content and brand tokens.
| Position | Control | Purpose |
|---|---|---|
| Top right | Site navigation | A hamburger button opens the global route drawer. It is always visible. |
| Top left | Page snap menu | A section-aware table of contents jumps to stable /#section-id locations. It appears when a page has at least two meaningful sections. |
| Bottom left | Help desk | A safe self-service panel provides approved help content and a contact handoff. |
| Bottom right | Accessibility and page travel | Stores reading preferences, offers reduced motion and contrast options, and jumps to the page top or bottom. |
flowchart TB
Site["WTL Site Shell G1"]
Site --> Nav["Top right: site navigation"]
Site --> Snap["Top left: page sections"]
Site --> Help["Bottom left: self-service help"]
Site --> Access["Bottom right: accessibility and page travel"]
Snap --> Hash["Stable /#hash links"]
Help --> Contact["Human support handoff"]
Access --> Preferences["Local reading preferences"]
The configuration lives in
src/config/siteControls.ts.
export const siteControls = {
pageSnap: true,
siteNavigation: true,
accessibility: true,
showPageTravel: true,
helpDesk: 'help',
}helpDesk accepts off, help, or assistant. The public template ships with
help: approved local content plus a contact handoff. assistant is a future
project-level integration point, not an instruction to expose provider keys or
private CMS content in the client.
Use semantic sections and give each important section a clear label:
<section id="services" data-snap-label="Services">
<h2>Services</h2>
{/* page content */}
</section>The page-snap menu prefers data-snap-label, then a section heading. It creates
a stable ID only if a project author has not specified one. Public documentation
and campaign pages should prefer explicitly authored IDs so shared URLs survive
future copy changes.
- Every fixed trigger has a minimum 44 × 44 CSS-pixel touch target.
- Controls have visible focus states and accessible names.
- Escape closes menus and panels.
- Text size, line spacing, letter spacing, contrast, and motion choices are stored locally on the operator’s device.
-
prefers-reduced-motionis respected even before the user chooses a custom motion setting. - The top-left menu applies a scroll offset so a fixed header does not hide the destination heading.
The template help desk intentionally does not send visitor prompts to an AI provider. When a project later adds a server-backed assistant, it must:
- send calls through a protected backend or Firebase Function;
- use only approved and published knowledge sources;
- enforce authentication and Firebase rules for staff management;
- never expose provider secrets, private CMS content, or admin actions in the browser;
- apply rate limits, abuse controls, audit logging, and a human handoff path.
Level 4 staff may maintain approved support entries. Level 5 owners may publish entries and manage project-level assistant configuration. Authorization must be enforced server-side and in security rules; hiding a link is not authorization.
Run the standard application checks, then inspect the live controls at desktop and mobile widths:
npm run lint
npm run typecheck
npm run build
npm run devCheck for corner-control collisions, keyboard navigation, visible focus, section hash updates, saved preferences, and safe Help Desk content.
S.F.W.A. Template · .SYSTEMX Forever WebApp · WayneTechLab.com · Repo · Update Log
Start
- Home
- Quick Start
- One-Line Install
- WTL Standard Setup Guide
- Setup Playbook
- User Ingest & Production Setup
- Production Kit
- Brand Guide Kit
- WTL Site Shell G1
Platform setup
SYSTEMX
- The SYSTEMX Standard
- SYSTEMX Executive Summary
- SYSTEMX Security Overview
- SYSTEMX Menu Operations
- SYSTEMX Setup and Deployment
- SYSTEMX Webportal
- SYSTEMX LAN Builder
- SYSTEMX LAN Operations Manual
- SYSTEMX LAN API Reference
- Unified Login and Admin Operations
- SYSTEMX LAN Webflow Master Plan
- SYSTEMX Logs and Evidence
- SYSTEMX Root and Folder Standard
- SYSTEMX Environment Solutions
- SYSTEMX Operating Rhythm
- SYSTEMX Sync and Controlled Updates
- SYSTEMX Long-Term Warnings
- SYSTEMX Third-Party Responsibility
Agents and tooling
- Agent Mesh & Tooling Standard
- MCP and Agents
- Agent 0 Operating Model
- Agent 0 and Subagents
- How Subagents Work
- Starter Prompts and Smart Routing
Reference
- Architecture & Stack
- Project Structure
- Environment Variables
- Security
- Deployment
- Testing & QA
- GitHub Authors & Contribution Notes
- Update Log
- FAQ