quiz link

This commit is contained in:
gosangam
2026-10-16 03:25:08 +05:30
parent 8537eb6ce2
commit 8dd72de359
3 changed files with 86 additions and 57 deletions
+5
View File
@@ -39,6 +39,7 @@ import {
type QuizResult,
} from "@/lib/quiz";
import { QuizResultView } from "@/components/quiz/quiz-result-view";
import { CopyPageLinkButton } from "@/components/layout/copy-page-link-button";
import { cn } from "@/lib/utils";
type Stage =
@@ -170,6 +171,10 @@ export function QuizPlayer({ id }: { id: string }) {
{stage.card.target_title || stage.card.target_path}
</Link>
)}
{/* Shares the quiz itself; the link unfurls with its own OG card. */}
<div className="mt-3">
<CopyPageLinkButton label="Copy quiz link" />
</div>
</header>
)}