fixed my test page so quizzes are behind login page
This commit is contained in:
13
app/(app)/daily/quiz/page.tsx
Normal file
13
app/(app)/daily/quiz/page.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { DailyQuizForm } from "@/components/daily-quiz/daily-quiz-form";
|
||||
import { AppShell } from "@/components/layout/app-shell";
|
||||
|
||||
export default function DailyQuizPage() {
|
||||
return (
|
||||
<AppShell
|
||||
title="Daily quiz"
|
||||
description="Complete your once-per-day wellness sliders and journal."
|
||||
>
|
||||
<DailyQuizForm />
|
||||
</AppShell>
|
||||
);
|
||||
}
|
||||
13
app/(app)/habits/page.tsx
Normal file
13
app/(app)/habits/page.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { HabitTracker } from "@/components/habits/habit-tracker";
|
||||
import { AppShell } from "@/components/layout/app-shell";
|
||||
|
||||
export default function HabitsPage() {
|
||||
return (
|
||||
<AppShell
|
||||
title="Habits"
|
||||
description="Add custom habits and see how your daily tasks are chosen."
|
||||
>
|
||||
<HabitTracker mode="manage" />
|
||||
</AppShell>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user