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:
2026-05-24 10:20:03 -06:00
parent e41fc10c77
commit 93af01dec1
14 changed files with 610 additions and 30 deletions

View File

@@ -0,0 +1,7 @@
import { redirect } from "next/navigation";
import { routes } from "@/lib/routes";
export default function DailyCheckInPage() {
redirect(`${routes.avatar}#bit-daily-check-in`);
}

View File

@@ -3,5 +3,5 @@ import { redirect } from "next/navigation";
import { routes } from "@/lib/routes";
export default function DailyQuizPage() {
redirect(`${routes.avatar}#bit-daily-quiz`);
redirect(`${routes.avatar}#bit-daily-check-in`);
}

View File

@@ -21,7 +21,7 @@ export default function Home() {
</h1>
<p className="max-w-xl text-base text-muted-foreground sm:text-lg">
HaBit turns daily check-ins, wellness sliders, and journaling into
a simple game. Keep streaks alive, take your once-per-day quiz,
a simple game. Keep streaks alive, take your once-per-day check-in,
and watch your bit change with you.
</p>
<Suspense fallback={null}>
@@ -35,7 +35,7 @@ export default function Home() {
<div className="space-y-2 text-center">
<p className="text-sm font-medium">Your daily loop</p>
<p className="text-sm text-muted-foreground">
Habits, wellness, journal, quiz, shop.
Habits, wellness, journal, check-in, shop.
</p>
</div>
</CardContent>