'use client'; import { useState } from 'react'; import { Contact, UserCircle, MapPin, Zap, } from 'lucide-react'; import Image from 'next/image'; import * as Badge from '@/components/ui/badge'; import { cn } from '@/utils/cn'; const items = [ { icon: UserCircle, title: 'Choose your role', description: "Select whether you're joining as an employee or team manager.", image: 'https://alignui.com/images/blocks/hiw-5-image-1.png', }, { icon: Contact, title: 'Enter your details', description: 'Set up your profile in minutes and connect with your team instantly.', image: 'https://alignui.com/images/blocks/hiw-5-image-1.png', }, { icon: MapPin, title: 'Define your focus', description: 'Choose your department and title to tailor your experience.', image: 'https://alignui.com/images/blocks/hiw-5-image-1.png', }, ]; export default function TeamRoleOnboardingSteps() { const [activeIndex, setActiveIndex] = useState(1); return (
How it works?

Start fast, join your team easier

Set up your profile in minutes and sync with your workspace.{' '}
No friction, no confusion — just flow.

{items.map((item, index) => { const isActive = activeIndex === index; const Icon = item.icon; return ( ); })}
{items.map((item, index) => (
{item.title}
))}
{items.map((item, index) => (
{item.title}
))}
); }