diff --git a/client/src/components/QuizRunner.tsx b/client/src/components/QuizRunner.tsx index 51b4b64..0b0e62e 100644 --- a/client/src/components/QuizRunner.tsx +++ b/client/src/components/QuizRunner.tsx @@ -179,10 +179,24 @@ function ExplanationPanel({ question, targets }: { question: QuizQuestionWithEnt
{targets.map(({ group, item }) => (
-
{item.jp || item.pattern || item.id}
-
{item.meaning_en || item.en || item.when_to_use_en}
+
+ {item.jp || item.pattern || item.id} + {item.kana &&
{item.kana}
} +
+
+ {item.meaning_en || item.meaning || item.en || item.when_to_use_en || item.note_en} +
{item.use_note_en &&
{item.use_note_en}
} + {item.when_to_use_en &&
{item.when_to_use_en}
} {item.register && {item.register}} + {(item.example || item.example_en || item.example_jp) && ( +
+ Example +
{item.example?.jp || item.example_jp}
+
{item.example?.kana || item.example_kana}
+
{item.example?.en || item.example_en}
+
+ )}
{group}
))} @@ -191,6 +205,31 @@ function ExplanationPanel({ question, targets }: { question: QuizQuestionWithEnt

No linked study items were found for this question.

)} + {question.ig_meta && ( +
+ {question.ig_meta.profile_pic_url ? ( + + {question.ig_meta.username + + ) : ( +
+ )} +
+
+ {question.ig_meta.username ? ( + + {question.ig_meta.username} + + ) : ( + Instagram + )} + {question.ig_meta.full_name && ยท {question.ig_meta.full_name}} +
+
{question.ig_meta.post_date || ''}
+ {question.ig_meta.description &&

{question.ig_meta.description}

} +
+
+ )}
); }