moved habits and quizzes to pet page

This commit is contained in:
masongga
2026-05-24 09:13:36 -06:00
parent e02468a9cc
commit c1b48c5e8d
10 changed files with 41 additions and 50 deletions

View File

@@ -8,8 +8,7 @@ export default function AvatarPage() {
<AppShell
title="Your bit"
description="Watch your digital self roam, breathe, and react to how you care for yourself."
fillViewport
centered
wide
>
<Suspense fallback={<p className="text-sm text-muted-foreground">Loading...</p>}>
<AvatarPageContent />

View File

@@ -1,13 +1,7 @@
import { DailyQuizForm } from "@/components/daily-quiz/daily-quiz-form";
import { AppShell } from "@/components/layout/app-shell";
import { redirect } from "next/navigation";
import { routes } from "@/lib/routes";
export default function DailyQuizPage() {
return (
<AppShell
title="Daily quiz"
description="Complete your once-per-day wellness sliders and journal."
>
<DailyQuizForm />
</AppShell>
);
redirect(`${routes.avatar}#bit-daily-quiz`);
}

View File

@@ -1,13 +1,7 @@
import { HabitTracker } from "@/components/habits/habit-tracker";
import { AppShell } from "@/components/layout/app-shell";
import { redirect } from "next/navigation";
import { routes } from "@/lib/routes";
export default function HabitsPage() {
return (
<AppShell
title="Habits"
description="Complete today's tasks and manage your habit list."
>
<HabitTracker mode="all" />
</AppShell>
);
redirect(`${routes.avatar}#bit-daily-tasks`);
}