WorkCard
This source is documented by the existing examples linked below.
src/components/WorkCard.astroUsage contract
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
Examples
- work
<Panel><PanelHeader slot="header" path={['Work', t(locale, 'work.path')]} meta={t(locale, 'work.count')} />{workItems(locale).map((w) => <WorkRow {...w} />)}</Panel> <Grid cols={3}>{workItems(locale).map((w) => <WorkCard title={w.title} desc={w.desc} meta={w.meta} glyph={w.glyph} href={w.href} />)}</Grid>
API
Extracted from the source with the TypeScript parser. Inherited and imported types remain references; implementation is authoritative.
interface Props { title: string; desc: string; meta: string; glyph: GlyphName; href: string }Astro.props
Bindings and defaults read from source; these do not add inferred types.
titledescmetaglyphhref
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/DataDemos.astro
- src/components/WorkCard.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
./Glyph.astro·src/components/Glyph.astro./glyphs.ts·src/components/glyphs.ts