import { cn } from '@/lib/utils'; import type { TranslationKey } from '@/lib/i18n'; interface ProgressData { progress: number; message: string; } interface DeployProgressProps { t: (key: TranslationKey) => string; stackName: string; deploymentUrl: string; progressData: ProgressData; logs: string[]; } export function DeployProgress({ t, stackName, deploymentUrl, progressData, logs }: DeployProgressProps) { return (

{t('deploying')}

{t('stack')}: {stackName}

URL: {deploymentUrl}

{progressData.progress}%
⚙️ {progressData.message}
{logs.length > 0 && (
{logs.map((log, i) => (
{log}
))}
)}
); }