benefits.tsx 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. import { CheckCircle2 } from 'lucide-react'
  2. import { Button } from 'ui'
  3. import { ProjectClaimLayout } from './layout'
  4. import { ApiAuthorizationResponse } from '@/data/api-authorization/api-authorization-query'
  5. import { OrganizationProjectClaimResponse } from '@/data/organizations/organization-project-claim-query'
  6. export const ProjectClaimBenefits = ({
  7. projectClaim,
  8. requester,
  9. onContinue,
  10. }: {
  11. projectClaim: OrganizationProjectClaimResponse
  12. requester: ApiAuthorizationResponse
  13. onContinue: () => void
  14. }) => {
  15. return (
  16. <ProjectClaimLayout
  17. title={
  18. <>
  19. Claim a project <span className="text-brand">{projectClaim?.project?.name}</span> from{' '}
  20. <span className="text-brand">{requester?.name}</span>
  21. </>
  22. }
  23. >
  24. <div className="space-y-8 text-sm flex flex-col items-center">
  25. <div className="space-y-4 mt-6">
  26. <h3 className="">Why manage your database project on Briven?</h3>
  27. <ul className="space-y-3">
  28. <li className="flex space-x-2">
  29. <CheckCircle2 className="text-brand w-5 h-5" />
  30. <span>
  31. <span className="text-foreground-light">Excellent Technical Support</span>
  32. <span className="block text-foreground-lighter">
  33. Get expert help when you need it, with support ready to assist your development
  34. process.
  35. </span>
  36. </span>
  37. </li>
  38. <li className="flex space-x-2">
  39. <CheckCircle2 className="text-brand w-5 h-5" />
  40. <span>
  41. <span className="text-foreground-light">Unrestricted usage.</span>
  42. <span className="block text-foreground-lighter">
  43. Grow your application without hitting arbitrary usage caps—built to scale with
  44. you.
  45. </span>
  46. </span>
  47. </li>
  48. <li className="flex space-x-2">
  49. <CheckCircle2 className="text-brand w-5 h-5" />
  50. <span>
  51. <span className="text-foreground-light">Visibility into your data.</span>
  52. <span className="block text-foreground-lighter">
  53. You'll have full control over your data to help your users get the best
  54. experience.
  55. </span>
  56. </span>
  57. </li>
  58. <li className="flex space-x-2">
  59. <CheckCircle2 className="text-brand w-5 h-5" />
  60. <span>
  61. <span className="text-foreground-light">Observability and easy debugging.</span>
  62. <span className="block text-foreground-lighter">
  63. You'll have full view when things go wrong.
  64. </span>
  65. </span>
  66. </li>
  67. <li className="flex space-x-2">
  68. <div>
  69. <CheckCircle2 className="text-brand w-5 h-5" />
  70. </div>
  71. <span>
  72. <span className="text-foreground-light">Easy Compute Scaling.</span>
  73. <span className="block text-foreground-lighter">
  74. Upgrade compute resources to handle increased traffic and larger database
  75. operations smoothly.
  76. </span>
  77. </span>
  78. </li>
  79. </ul>
  80. </div>
  81. <div className="flex justify-center sticky bottom-0">
  82. <Button size="medium" onClick={onContinue}>
  83. Continue connection
  84. </Button>
  85. </div>
  86. </div>
  87. </ProjectClaimLayout>
  88. )
  89. }