mirror of
https://github.com/supabase/supabase.git
synced 2026-07-20 22:47:17 -04:00
4a0bb36ca8
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
28 lines
941 B
TypeScript
28 lines
941 B
TypeScript
import { ProjectClaimLayout } from './layout'
|
|
import { OrganizationSelector } from '@/components/ui/org-selector'
|
|
|
|
export interface ProjectClaimChooseOrgProps {
|
|
onChoose: (orgSlug: string) => void
|
|
}
|
|
|
|
const MAX_ORGS_TO_SHOW = 5
|
|
|
|
export function ProjectClaimChooseOrg({ onChoose }: ProjectClaimChooseOrgProps) {
|
|
return (
|
|
<ProjectClaimLayout title="Claim a project">
|
|
<div className="mx-auto gap-y-4 py-6 flex flex-col">
|
|
<p className="text-sm text-foreground-light">
|
|
This is the first step in claiming your Supabase project. Once you're finished, the
|
|
project will be transferred to Supabase organization.
|
|
</p>
|
|
<p className="text-sm text-foreground-light">Please select an organization to continue.</p>
|
|
<OrganizationSelector
|
|
onSelect={onChoose}
|
|
maxOrgsToShow={MAX_ORGS_TO_SHOW}
|
|
canCreateNewOrg
|
|
/>
|
|
</div>
|
|
</ProjectClaimLayout>
|
|
)
|
|
}
|