'use client' import { OnboardingGuideCardSkeleton } from '../chat/entity-cards/onboarding-guide-card' /** * Loading skeleton for `/onboarding-guides` — CHROME-LESS, exactly like the * loaded ``. The HOST page owns the * `` shell (hero + back button); * this component renders only what replaces the view: the search/pill * placeholder block and the section card lists. * * HISTORY: this used to mount its own `` — nested inside the * page's shell that double-rendered the hero + back button during loading * (the view was made chrome-less in the page restructure; the skeleton was * missed). Keep BOTH chrome-less. * * Wrapper mirrors the loaded view's `w-full flex flex-col gap-10`; per-card * height matches the loaded catalog card so resolve shifts are zero. */ export function OnboardingGuidesCatalogSkeleton() { return (
{/* Search input placeholder — matches `` h-12 — plus the section pill row (~74 px incl. padding), same as the loaded preControls block. */}
{[0, 1, 2, 3].map((i) => (
))}
{[4, 3, 3].map((cardCount, sectionIdx) => (

    {Array.from({ length: cardCount }).map((_, cardIdx) => (
  • ))}
))}
) }