quiz link
This commit is contained in:
@@ -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>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user