moved habits and quizzes to pet page
This commit is contained in:
@@ -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 />
|
||||
|
||||
@@ -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`);
|
||||
}
|
||||
|
||||
@@ -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`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user