mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 03:15:06 +03:00
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
92 lines
3.5 KiB
TypeScript
92 lines
3.5 KiB
TypeScript
import { CheckCircle2 } 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-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>
|
|
)
|
|
}
|