CaseBar
Hält Work-Rückweg, Case-Titel, Lesezeit und aktuelles Kapitel unter dem Seitenkopf sichtbar.
src/components/case/CaseBar.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/CasePage.astro
- Benötigt mindestens ein Kapitel; Titelziel und Anfangsanzeige greifen auf chapters[0] zu.
- Dialog- und Hilfeschaltflächen beginnen hidden und werden durch die Seiteninteraktion aktiviert; data-case-Selektoren und Tastenkürzel gehören zum gemeinsamen Navigationsvertrag.
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 {content:LocalCase;locale:Locale;readTime:string;preread?:boolean}Astro.props
Bindings and defaults read from source; these do not add inferred types.
contentlocalereadTimepreread
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
- src/pages/en/work/[id].astro
- src/components/case/CasePage.astro
- src/components/case/CaseBar.astro
Preview
- src/pages/vorschlag/cases/[id].astro
- src/components/case/CasePage.astro
- src/components/case/CaseBar.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
@/lib/cases·src/lib/cases.ts@/i18n·src/i18n/index.ts@/components/Keycap.astro·src/components/Keycap.astro@/components/Zeichen.astro·src/components/Zeichen.astro@/lib/flagship-heads·src/lib/flagship-heads.ts