CaseHero
This source is documented by the existing examples linked below.
src/components/case/CaseHero.astroUsage contract
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
Examples
- case-frame
<CaseHero content={cases[1]} locale={locale} demo/> <CaseRail content={finance} readTime={'8 '+t(locale,'case.minutes')} demo/> <CaseNotes notes={finance.notes} locale={locale}/> <CaseText locale={locale} text={finance.hero.lead}/> - story-hero
<div class="case-hero-stage ds-story--hero"><div class="case-frame"><CaseHero content={c} locale={locale} demo story/></div></div>
API
Extracted from the source with the TypeScript parser. Inherited and imported types remain references; implementation is authoritative.
interface Props {heroVariant?:'editorial';content:LocalCase;locale:Locale;demo?:boolean;readTime?:string;story?:boolean}Astro.props
Bindings and defaults read from source; these do not add inferred types.
contentlocalereadTimestory
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/CaseHero.astro
Documentation
- src/pages/design-system/[category].astro
- src/components/ds/DesignSystemPage.astro
- src/components/ds/CaseDemos.astro
- src/components/case/CaseHero.astro
Preview
- src/pages/vorschlag/cases/[id].astro
- src/components/case/CasePage.astro
- src/components/case/CaseHero.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./CaseText.astro·src/components/case/CaseText.astro./CaseHeroMock.astro·src/components/case/CaseHeroMock.astro./CaseFacts.astro·src/components/case/CaseFacts.astro./CaseOverview.astro·src/components/case/CaseOverview.astro./CaseIntro.astro·src/components/case/CaseIntro.astro./CaseModel.astro·src/components/case/CaseModel.astro./CaseHead.astro·src/components/case/CaseHead.astro@/lib/scene-narratives·src/lib/scene-narratives.ts@/components/Figure.astro·src/components/Figure.astro@/components/Panel.astro·src/components/Panel.astro@/components/PanelHeader.astro·src/components/PanelHeader.astro@/components/Zeichen.astro·src/components/Zeichen.astro@/components/PanelFooter.astro·src/components/PanelFooter.astro@/components/Keycap.astro·src/components/Keycap.astro@/components/PageIntro.astro·src/components/PageIntro.astro@/components/ui/button·src/components/ui/button.tsx@/i18n·src/i18n/index.ts