Stable version with additional styling
This commit is contained in:
@@ -7,7 +7,7 @@ export default function AvatarPage() {
|
||||
return (
|
||||
<AppShell
|
||||
title="Your Habit Pet"
|
||||
description="Customize your pet, complete AI-personalized daily tasks, and track their mood from your wellness check-in."
|
||||
description="Watch your pet roam, breathe, and react to how you care for them."
|
||||
>
|
||||
<Suspense fallback={<p className="text-sm text-muted-foreground">Loading...</p>}>
|
||||
<AvatarPageContent />
|
||||
|
||||
18
app/(app)/customize/page.tsx
Normal file
18
app/(app)/customize/page.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import { Suspense } from "react";
|
||||
|
||||
import { CustomizePageContent } from "@/components/avatar/customize-page-content";
|
||||
import { AppShell } from "@/components/layout/app-shell";
|
||||
|
||||
export default function CustomizePage() {
|
||||
return (
|
||||
<AppShell
|
||||
wide
|
||||
title="Customize your pet"
|
||||
description="Change your pet's name, styles, colors, and room."
|
||||
>
|
||||
<Suspense fallback={<p className="text-xs text-muted-foreground">Loading...</p>}>
|
||||
<CustomizePageContent />
|
||||
</Suspense>
|
||||
</AppShell>
|
||||
);
|
||||
}
|
||||
@@ -5,9 +5,9 @@ export default function HabitsPage() {
|
||||
return (
|
||||
<AppShell
|
||||
title="Habits"
|
||||
description="Add custom habits and see how your daily tasks are chosen."
|
||||
description="Complete today's tasks and manage your habit list."
|
||||
>
|
||||
<HabitTracker mode="manage" />
|
||||
<HabitTracker mode="all" />
|
||||
</AppShell>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -10,11 +10,11 @@ export default function AppLayout({
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<Suspense fallback={<div className="min-h-svh bg-background" />}>
|
||||
<Suspense fallback={<div className="bg-background pb-nav" />}>
|
||||
<AppAuthGate>
|
||||
<DailyReminderProvider />
|
||||
<InAppReminderBanner />
|
||||
{children}
|
||||
<div className="pb-nav">{children}</div>
|
||||
</AppAuthGate>
|
||||
</Suspense>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user