Support more cards, even the undocumented ones

This commit is contained in:
Zed
2020-06-03 02:33:34 +02:00
parent b4fe3d1f6a
commit 4d650fd33e
4 changed files with 42 additions and 22 deletions

View File

@@ -145,7 +145,7 @@ proc renderCardContent(card: Card): VNode =
span(class="card-destination"): text card.dest
proc renderCard(card: Card; prefs: Prefs; path: string): VNode =
const smallCards = {player, summary}
const smallCards = {app, player, summary, storeLink}
let large = if card.kind notin smallCards: " large" else: ""
let url = replaceUrl(card.url, prefs)