ProductCard
Rendert eine Produktkarte mit Case-Identität, Produktausschnitt, Beschreibung und Fakten entsprechend der Laboranordnung.
src/components/site/work-product-cards-lab/ProductCard.astroSource contract in German. The marked authoring notes below retain their original language.
Usage contract
Use through the documented parent
Entry point: src/components/site/work-product-cards-lab/ProductCards.astro
- Produktmedien nur aus vorhandener Zuordnung und mit Veröffentlichungsfreigabe; keine privaten Evidenzbilder für Demos. D und die damaligen Produktcover sind verworfen, bleiben aber bis zu Max’ Löschentscheidung als Laborreferenz erhalten.
- Karten sind native Ganzkartenlinks; keine verschachtelten Aktionen. Titel-IDs aus Variante beziehungsweise d und item.id bleiben innerhalb des Vergleichs eindeutig.
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{item:WorkLabCase&{media:ProductCaseMedia};variant:string;featured?:boolean}Astro.props
Bindings and defaults read from source; these do not add inferred types.
itemvariantfeatured = false
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.
Preview
- src/pages/vorschlag/work-product-cards-lab.astro
- src/components/site/work-product-cards-lab/ProductCards.astro
- src/components/site/work-product-cards-lab/ProductCard.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/work-content-lab·src/lib/work-content-lab.ts@/lib/work-product-cards-lab·src/lib/work-product-cards-lab.ts@/lib/work-index·src/lib/work-index.ts@/components/ui/badge·src/components/ui/badge.tsx@/components/Panel.astro·src/components/Panel.astro@/components/PanelFooter.astro·src/components/PanelFooter.astro./ProductMedia.astro·src/components/site/work-product-cards-lab/ProductMedia.astro