Rename daily quiz to check-in and add collapsible journal calendar.
Replace user-facing quiz wording with daily check-in, add journal history on the Bit page with month browsing and read-only entry modals, and keep legacy quiz routes redirecting to the new anchor.
This commit is contained in:
@@ -138,7 +138,7 @@ export function DailyQuizForm() {
|
||||
|
||||
if (!isReady) {
|
||||
return (
|
||||
<p className="text-sm text-muted-foreground">Loading today's quiz...</p>
|
||||
<p className="text-sm text-muted-foreground">Loading today's check-in...</p>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -155,7 +155,7 @@ export function DailyQuizForm() {
|
||||
</div>
|
||||
<div className="space-y-1">
|
||||
<p className="text-lg font-semibold tracking-tight">
|
||||
Today's quiz is complete
|
||||
Today's check-in is complete
|
||||
</p>
|
||||
<p className="text-sm text-muted-foreground">
|
||||
Your answers are saved below. Come back tomorrow for your next
|
||||
@@ -264,7 +264,7 @@ export function DailyQuizForm() {
|
||||
|
||||
{!isCompleted ? (
|
||||
<Button className="w-full" disabled={!canSubmit} onClick={handleSubmit}>
|
||||
{isSubmitting ? "Saving..." : "Complete daily quiz"}
|
||||
{isSubmitting ? "Saving..." : "Complete daily check-in"}
|
||||
</Button>
|
||||
) : null}
|
||||
</div>
|
||||
|
||||
@@ -23,14 +23,14 @@ export function DailyQuizLinkButton() {
|
||||
if (!isReady || isCompleted) {
|
||||
return (
|
||||
<Button className="w-full" variant="outline" disabled>
|
||||
Open daily quiz
|
||||
Open daily check-in
|
||||
</Button>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<Button asChild className="w-full" variant="outline">
|
||||
<Link href={`${routes.avatar}#bit-daily-quiz`}>Open daily quiz</Link>
|
||||
<Link href={`${routes.avatar}#bit-daily-check-in`}>Open daily check-in</Link>
|
||||
</Button>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user