Static PWA framework
Swipe Card Deck
Config loader
Load card JSON
Upload a JSON file in the agreed format, or load a built-in test fixture. A valid config replaces the deck and starts from its configured start card.
{
"app": {
"title": "Decision Cards",
"subtitle": "Tap left or right to choose",
"startCard": "start",
"leftHint": "Tap left",
"rightHint": "Tap right"
},
"cards": [
{
"id": "start",
"heading": "Start",
"text": "Choose your route.",
"visual": { "label": "Route choice", "symbol": "split" },
"left": { "label": "Simple", "target": "simple" },
"right": { "label": "Advanced", "target": "advanced" }
}
]
}