diff --git a/skill/scripts/serve-question.mjs b/skill/scripts/serve-question.mjs index db47ae466..dd63f989c 100644 --- a/skill/scripts/serve-question.mjs +++ b/skill/scripts/serve-question.mjs @@ -483,8 +483,9 @@ function page() { option.body && option.thesis ? `

${esc(option.body)}

` : '', ].filter(Boolean).join('\n '); const media = (option) => { - const inspiration = option.heroSrc ? `
- + const inspirationSrc = option.heroSrc || option.boardSrc; + const inspiration = inspirationSrc ? `
+
inspiration
` : ''; const details = hasBack(option) ? flipChip('Details') : ''; @@ -492,10 +493,12 @@ function page() { // and a declined card's comp slot is ignored outright. if (thumbOnly(option)) return ''; if (faceComp(option)) { + const textOnlyFacts = backFacts(option); return `
rendering…
${inspiration} +
${expandChip}${details}
`; } @@ -1018,17 +1021,42 @@ ${buildPath?.toggle ? `