Add shared quiz/habits tab cache with nav hover prefetch and AppDataPrefetcher, make the pet screen fill and center the viewport, and point the HaBit logo to /.
20 lines
549 B
TypeScript
20 lines
549 B
TypeScript
import { Suspense } from "react";
|
|
|
|
import { AvatarPageContent } from "@/components/avatar/avatar-page-content";
|
|
import { AppShell } from "@/components/layout/app-shell";
|
|
|
|
export default function AvatarPage() {
|
|
return (
|
|
<AppShell
|
|
title="Your Habit Pet"
|
|
description="Watch your pet roam, breathe, and react to how you care for them."
|
|
fillViewport
|
|
centered
|
|
>
|
|
<Suspense fallback={<p className="text-sm text-muted-foreground">Loading...</p>}>
|
|
<AvatarPageContent />
|
|
</Suspense>
|
|
</AppShell>
|
|
);
|
|
}
|