()
| 11 | }); |
| 12 | |
| 13 | function OnboardingLayout() { |
| 14 | return ( |
| 15 | <div className="relative flex min-h-screen items-center justify-center p-4"> |
| 16 | <div className="fixed inset-0 hidden md:block"> |
| 17 | <SkeletonDashboard /> |
| 18 | <div className="fixed inset-0 z-10 bg-def-100/50" /> |
| 19 | </div> |
| 20 | <div className="relative z-10 flex max-h-[calc(100vh-2rem)] w-full max-w-xl flex-col overflow-hidden rounded-lg border bg-background shadow-muted/50 shadow-xl"> |
| 21 | <div className="sticky top-0 z-10 flex-shrink-0 border-b bg-background"> |
| 22 | <Progress /> |
| 23 | </div> |
| 24 | <div className="flex min-h-0 flex-1 flex-col"> |
| 25 | <Outlet /> |
| 26 | </div> |
| 27 | </div> |
| 28 | </div> |
| 29 | ); |
| 30 | } |
| 31 | |
| 32 | function Progress() { |
| 33 | const steps = [ |
nothing calls this directly
no outgoing calls
no test coverage detected