"use client"; import { signOut } from "next-auth/react"; import type { ReactNode } from "react"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { Button } from "@calcom/ui/components/button"; import { Logo } from "@calcom/ui/components/logo"; type OnboardingLayoutProps = { userEmail: string; currentStep: 1 | 2 | 3 | 4; children: ReactNode; }; export const OnboardingLayout = ({ userEmail, currentStep, children }: OnboardingLayoutProps) => { const { t } = useLocale(); const handleSignOut = () => { signOut({ callbackUrl: "/auth/logout" }); }; return (
{/* Header */}
{/* Progress dots - centered */}
{[1, 2, 3, 4].map((step) => (
))}

{userEmail}

{/* Main content */}
{children}
{/* Footer with signout button */}
); };