'use client';

import Link from 'next/link';
import { AuthShell } from '@/components/auth/auth-shell';
import { Button } from '@/components/ui/button';

export default function SignInPage() {
  return (
    <AuthShell
      title="Local Runtime Mode"
      subtitle="Authentication is disabled in this rebuilt local-first environment."
      footer={(
        <>
          Need multi-user auth later?{' '}
          <Link href="/" className="text-[color:var(--accent)] hover:text-[color:var(--accent-strong)]">
            Open command center
          </Link>
        </>
      )}
    >
      <p className="text-sm text-[color:var(--terminal-muted)]">
        Continue directly into the fiscal terminal. API routes are same-origin and task execution is fully local with OpenClaw support.
      </p>

      <Link href="/" className="mt-6 block">
        <Button type="button" className="w-full">
          Enter terminal
        </Button>
      </Link>
    </AuthShell>
  );
}
