Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

1.4 KB
Raw Blame
// The Character area with no character yet (David, 16.11.2026): the three
// steps and the one button, in the middle over the prompt window. No
// pictures and nothing that moves; what a character can do stands in the
// row over the window (Image, Swap, Motion, Talk).

import { Plus } from 'lucide-react'
import { Button } from '../../ui/Button'

const STEPS = [
  { title: 'Add photos of one face', line: '4 to 30 photos, or frames from a video in your gallery.' },
  { title: 'Give it a name', line: 'Saved right away. Train it later for the best likeness.' },
  { title: 'Use it', line: 'Image, Swap, Motion and Talk. In Chat too.' },
]

export function HubEmpty({ onCreate }: { onCreate: () => void }) {
  return (
    <div className="hub-empty scrollbar-thin" data-hub-step="who" data-hub-empty>
      <ol className="hub-steps">
        {STEPS.map((s, i) => (
          <li key={s.title} className="hub-line border-b py-3 text-center">
            <span className="hub-text block hub-fs-14 font-medium"><span className="hub-dim mr-2 font-normal tabular-nums">{i + 1}</span>{s.title}</span>
            <span className="hub-dim mt-0.5 block hub-fs-13">{s.line}</span>
          </li>
        ))}
      </ol>
      <div className="pt-5">
        <span data-hub-create><Button variant="primary" size="lg" icon={Plus} onClick={onCreate}>Create a character</Button></span>
      </div>
    </div>
  )
}