CaseChips
Zerlegt Fußzeilen an Mittelpunkten und ergänzt explizite Tags als semantische Badges.
src/components/case/CaseChips.astroSource contract in German. The marked authoring notes below retain their original language.
Usage contract
Use through the documented parent
Entry point: src/components/case/CaseModel.astro
- Text wird an jedem · getrennt; Tags werden danach angehängt, ohne Dublettenprüfung.
- caseTone bildet nur die vorhandenen Tonrollen ab; Trenner bleiben als sr-only-Text erhalten.
Examples
No dedicated demo is assigned. Use the documented entry point and consumers below; this is not evidence of a missing runtime component.
API
Extracted from the source with the TypeScript parser. Inherited and imported types remain references; implementation is authoritative.
interface Props {text?:string;tone?:string;tags?:{text:string;tone?:string}[];rule?:boolean;class?:string}Astro.props
Bindings and defaults read from source; these do not add inferred types.
texttonetags = []rule = falseclass
Source usage
Website reference
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.
Website
Documentation
Preview
- src/pages/vorschlag/ueber-mich-kurz.astro
- src/components/site/about/AboutShort.astro
- src/components/case/ModelColumns.astro
- src/components/case/CaseChips.astro
Consumers in source
Direct static, dynamic and type imports. Imports do not prove that a branch renders or that a proposal is published.
Dependencies
@/components/ui/badge·src/components/ui/badge.tsx@/lib/case-presentation·src/lib/case-presentation.ts