Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

3.6 KB
Raw Blame
import { CheckCircle2Icon } from 'lucide-react'
import { Button } from 'ui'

import { ProjectClaimLayout } from './layout'
import { ApiAuthorizationResponse } from '@/data/api-authorization/api-authorization-query'
import { OrganizationProjectClaimResponse } from '@/data/organizations/organization-project-claim-query'

export const ProjectClaimBenefits = ({
  projectClaim,
  requester,
  onContinue,
}: {
  projectClaim: OrganizationProjectClaimResponse
  requester: ApiAuthorizationResponse
  onContinue: () => void
}) => {
  return (
    <ProjectClaimLayout
      title={
        <>
          Claim a project <span className="text-primary">{projectClaim?.project?.name}</span> from{' '}
          <span className="text-primary">{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">
              <CheckCircle2Icon className="text-primary 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">
              <CheckCircle2Icon className="text-primary 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">
              <CheckCircle2Icon className="text-primary 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">
              <CheckCircle2Icon className="text-primary 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>
                <CheckCircle2Icon className="text-primary 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 variant="primary" size="medium" onClick={onContinue}>
            Continue connection
          </Button>
        </div>
      </div>
    </ProjectClaimLayout>
  )
}