TradingCard
Adaptiert dieselben Edition-Fronten und -Rücken für das interaktive Album und kompakte Karten.
src/components/collectible/TradingCard.tsxSource contract in German. The marked authoring notes below retain their original language.
Usage contract
Use through the documented parent
Entry point: src/components/collectible/CollectibleEdition.tsx
- EditionCard ist die gemeinsame Darstellung; keine zweite Front-/Rückenimplementierung pflegen.
- card stammt aus dem bestehenden Katalog; locale und compact ändern keine Kartenfakten.
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.
export {Art,finish} from './CardArt';export {Art,finish} from './CardArt';CardBack({locale='de'}:{locale?:Locale}={})TradingCard({card,locale='de',compact=false}:{card:Card;locale?:Locale;compact?:boolean})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
- src/pages/design-system/storybook-tcg.astro
- src/components/ds/TcgPreview.tsx
- src/components/collectible/TradingCard.tsx
Preview
- src/pages/vorschlag/ueber-mich-karten.astro
- src/components/site/about/AboutCards.astro
- src/components/collectible/TradingCard.tsx
Consumers in source
Direct static, dynamic and type imports. Imports do not prove that a branch renders or that a proposal is published.
- src/components/collectible/CollectibleEdition.tsx:8 import
- src/components/ds/TcgPreview.tsx:3 import
- src/components/profile/CollectibleTeaser.astro:3 import
- src/components/site/about/AboutCards.astro:13 import
- src/components/site/about/AboutNew.astro:14 import
- src/components/site/about/AboutShort.astro:14 import
- src/components/site/werkstatt/WerkstattPage.astro:11 import
Dependencies
../../lib/collectible/catalog·src/lib/collectible/catalog.ts./CardArt·src/components/collectible/CardArt.tsx../site/cards/EditionCard·src/components/site/cards/EditionCard.tsx./CardArt·src/components/collectible/CardArt.tsx