Home / Function/ ProjectClaimBenefits() — supabase Function Reference

ProjectClaimBenefits() — supabase Function Reference

Architecture documentation for the ProjectClaimBenefits() function in benefits.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/studio/components/interfaces/Organization/ProjectClaim/benefits.tsx lines 8–91

export const ProjectClaimBenefits = ({
  projectClaim,
  requester,
  onContinue,
}: {
  projectClaim: OrganizationProjectClaimResponse
  requester: ApiAuthorizationResponse
  onContinue: () => void
}) => {
  return (
    <ProjectClaimLayout
      title={
        <>
          Claim a project <span className="text-brand">{projectClaim?.project?.name}</span> from{' '}
          <span className="text-brand">{requester?.name}</span>
        </>
      }
    >
      <div className="space-y-8 text-sm flex flex-col items-center">
        <div className="space-y-4 mt-6">
          <h3 className="">Why manage your database project on Supabase?</h3>
          <ul className="space-y-3">
            <li className="flex space-x-2">
              <CheckCircle2 className="text-brand w-5 h-5" />
              <span>
                <span className="text-foreground-light">Excellent Technical Support</span>
                <span className="block text-foreground-lighter">
                  Get expert help when you need it, with support ready to assist your development
                  process.
                </span>
              </span>
            </li>
            <li className="flex space-x-2">
              <CheckCircle2 className="text-brand w-5 h-5" />
              <span>
                <span className="text-foreground-light">Unrestricted usage.</span>
                <span className="block text-foreground-lighter">
                  Grow your application without hitting arbitrary usage caps—built to scale with
                  you.
                </span>
              </span>
            </li>
            <li className="flex space-x-2">
              <CheckCircle2 className="text-brand w-5 h-5" />
              <span>
                <span className="text-foreground-light">Visibility into your data.</span>
                <span className="block text-foreground-lighter">
                  You'll have full control over your data to help your users get the best
                  experience.
                </span>
              </span>
            </li>
            <li className="flex space-x-2">
              <CheckCircle2 className="text-brand w-5 h-5" />
              <span>
                <span className="text-foreground-light">Observability and easy debugging.</span>
                <span className="block text-foreground-lighter">
                  You'll have full view when things go wrong.
                </span>
              </span>
            </li>
            <li className="flex space-x-2">
              <div>
                <CheckCircle2 className="text-brand w-5 h-5" />
              </div>
              <span>
                <span className="text-foreground-light">Easy Compute Scaling.</span>
                <span className="block text-foreground-lighter">
                  Upgrade compute resources to handle increased traffic and larger database
                  operations smoothly.
                </span>
              </span>
            </li>
          </ul>
        </div>
        <div className="flex justify-center sticky bottom-0">
          <Button size="medium" onClick={onContinue}>
            Continue connection
          </Button>
        </div>
      </div>
    </ProjectClaimLayout>
  )
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free