"use client"; import Link from "next/link"; import { useCallback, useEffect, useRef, useState } from "react"; import { PetHabitat } from "@/components/pet/pet-habitat"; import { defaultAvatarCustomization, getAvatarCustomization, type AvatarCustomization, } from "@/lib/avatar-customization-storage"; import { getGuestLandingPetCustomization } from "@/lib/landing-random-pet"; import { routes } from "@/lib/routes"; import { createClient } from "@/lib/supabase/client"; import { cn } from "@/lib/utils"; function LandingPetPreviewSkeleton() { return (