import { AuthPanel } from './AuthPanel';

export function LoginRequiredPanel(props: Parameters<typeof AuthPanel>[0]) {
  return (
    <div className="loginRequiredPage">
      <div className="loginRequiredCopy">
        <p className="eyebrow">Identity</p>
        <h1>登录后进入工作台</h1>
        <p>用户工作台和管理后台需要本地账号、API Key 或 server-main token。</p>
      </div>
      <AuthPanel {...props} />
    </div>
  );
}
