import { A } from '@solidjs/router';

export default function CreateCompanyPage() {
  return (
    <div class="flex flex-col -mx-6 -mt-6 min-h-full">
      <div class="bg-white border-b border-gray-200 px-6 py-4 flex items-center justify-between">
        <div>
          <h1 class="text-xl font-semibold text-gray-900">Company Creation Disabled</h1>
          <p class="text-sm text-gray-500 mt-0.5">
            Companies are onboarded from the Company role flow and synced to admin after verification and approval.
          </p>
        </div>
        <A class="rounded-lg border border-gray-200 px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50 transition-colors" href="/admin/company">
          Back to Companies
        </A>
      </div>

      <div class="p-6">
        <div class="rounded-xl border border-amber-200 bg-amber-50 px-4 py-3 text-sm text-amber-800">
          Manual company creation from admin is intentionally disabled to keep company records sourced from role-based signup.
        </div>
      </div>
    </div>
  );
}
