TcgPreview
Dokumentiert die vorhandenen TCG-Karten, ihre Rückseite sowie die originale Sammlung und den 1337-Booster im isolierten Storybook-Dokument.
src/components/ds/TcgPreview.tsxSource contract in German. The marked authoring notes below retain their original language.
Usage contract
Use through the documented parent
Entry point: src/pages/design-system/storybook-tcg.astro
- Nur dokumentierende Vorschau; TradingCard, CollectibleEdition, Katalog, Artwork und Spielregeln bleiben bei ihren Originalquellen.
- StorybookPreview installiert vor der Hydration temporären Speicher pro Dokument. Keine Website-Sammlung lesen oder schreiben; Reload verwirft Fortschritt.
- 37 vorhandene Karten umfassen 32 Basiskarten und fünf zusätzliche Karten außerhalb zufälliger Packs; Links zur Website ausdrücklich extern öffnen.
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.
TcgPreview({site}:{site:string})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/storybook-tcg.astro
- src/components/ds/TcgPreview.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/pages/design-system/storybook-tcg.astro:3import
Dependencies
react../../lib/collectible/catalog·src/lib/collectible/catalog.ts../collectible/TradingCard·src/components/collectible/TradingCard.tsx../collectible/CollectibleEdition·src/components/collectible/CollectibleEdition.tsx../collectible/useFoilLight·src/components/collectible/useFoilLight.ts../../lib/collectible/secret-claim·src/lib/collectible/secret-claim.ts../ui/button·src/components/ui/button.tsx../ui/input·src/components/ui/input.tsx