Files
Joshen Lim 09a1f431bc Mass update for all lucide icon imports to use the component with Icon suffix (#51659)
## Context

This is largely just a mechanical change here:
Opting to use lucide icons with the `Icon` suffix across all icon
imports within `studio`
- so that it’s clearer which components are icons + reduces the
possibility of name collision with our own components
- e.g <User /> vs <UserIcon />

Also added a eslint rule for this:
<img width="1069" height="167" alt="image"
src="https://github.com/user-attachments/assets/7f36f443-5ca2-4bf6-8d22-86e774513bfc"
/>

And updated `AGENTS.md` as such:
```
Icons come from `lucide-react`, always imported with the `Icon` suffix (`import { CheckIcon, Trash2Icon } from 'lucide-react'`) — never the bare names (`Check`) or `Check as CheckIcon` aliases (lint-enforced).
```
2026-10-14 12:56:55 +02:00

92 lines
3.6 KiB
TypeScript

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>
)
}