# Stable names for page components Extend the supplied offline `index.html` with a component registry for the existing layout. Keep current styles, controls and interactions. Label each of these DOM elements with its exact `data-component-name`: | Component | Element | | --- | --- | | `AppShell` | App wrapper | | `NavigationSidebar` | Sidebar | | `MainContentArea` | Main content area | | `PromptResponseBlock` | Prompt/response group | | `PromptInput` | Editable prompt | | `AIContentArea` | Response display area | ## Registry API Expose an object at `window.componentRegistry` with these six initial keys, each resolving to the corresponding element. Expose `window.getComponentByName(name)`, returning the actual DOM element from the current registry mapping, or `null` if the name is unknown. Support mappings added or replaced at runtime rather than hard-coding the initial names. The registry's internal value representation is up to you. ## Acceptance Checklist - The offline page renders with each of the six required names present exactly once on the corresponding element. - Looking up any initial name returns the named DOM element. Unknown names return `null`; added or replaced mappings take effect immediately. - The named prompt remains editable.