Surface
This source is documented by the existing examples linked below.
src/components/site/Surface.astroUsage contract
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
Examples
- main-surface
<Surface root="Home" first={ui.work}> <Section section="demo-a" title={ui.work} count="03"><Fragment slot="meta"><Keycap>J</Keycap><Keycap>K</Keycap><em>{ui.navigate}</em></Fragment><RowList items={rows}/></Section> <Section section="demo-b" title={ui.about}><p class="ds-main__pad">{en?'One header for the whole surface; it names the section one is reading.':'Ein Kopf für die ganze Fläche; er nennt den Abschnitt, in dem man gerade liest.'}</p></Section> </Surface>
API
Extracted from the source with the TypeScript parser. Inherited and imported types remain references; implementation is authoritative.
interface Props {root:string;first?:string}Astro.props
Bindings and defaults read from source; these do not add inferred types.
root
Slots: meta · default
Source usage
Docs / preview only
This is static source evidence. A reachable module may contain conditional or unused branches. External consumers and staged static pages are outside this scan. No status authorizes deletion.
Documentation
- src/pages/design-system/[category].astro
- src/components/ds/DesignSystemPage.astro
- src/components/ds/MainPageDemos.astro
- src/components/site/Surface.astro
Preview
- src/pages/en/vorschlag/about.astro
- src/components/site/pages/AboutPage.astro
- src/components/site/Surface.astro
Consumers in source
Direct static, dynamic and type imports. Imports do not prove that a branch renders or that a proposal is published.