import Link from 'next/link' import { cn, Button, Card, CardContent, CardHeader, CardTitle, Badge } from 'ui' import { Row } from 'ui-patterns' import { GettingStartedStep } from './GettingStartedSection' export interface GettingStartedProps { steps: GettingStartedStep[] } export function GettingStarted({ steps }: GettingStartedProps) { return ( {steps.map((step, index) => (
{step.icon &&
{step.icon}
} {index + 1}. {step.title}
{step.status}
{step.image &&
{step.image}
}

{step.description}

{step.actions.map((action, i) => { if (action.component) { return
{action.component}
} if (action.href) { return ( ) } return ( ) })}
))}
) } export default GettingStarted