One-card readings: no 'cards together' section
With a single card the synthesis is about how its message shows in practice (prompt rule and schema description), and the section is titled 'A gyakorlatban' instead of 'A lapok együtt'. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -16,6 +16,8 @@ export function TarotResult({
|
||||
question: string | null;
|
||||
content: TarotContent;
|
||||
}) {
|
||||
// A single card has nothing to read it with: its synthesis is about everyday life.
|
||||
const together = cards.length === 1 ? "A gyakorlatban" : "A lapok együtt";
|
||||
return (
|
||||
<article className="tarot-result">
|
||||
<header className="tarot-result-head">
|
||||
@@ -51,8 +53,8 @@ export function TarotResult({
|
||||
</ol>
|
||||
|
||||
{content.synthesis && (
|
||||
<section className="tarot-synthesis" aria-label="A lapok együtt">
|
||||
<h3>A lapok együtt</h3>
|
||||
<section className="tarot-synthesis" aria-label={together}>
|
||||
<h3>{together}</h3>
|
||||
<Paragraphs text={content.synthesis} />
|
||||
</section>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user