RestorePaidPlanProjectNotice.tsx 887 B

12345678910111213141516171819202122232425262728
  1. import { ExternalLink } from 'lucide-react'
  2. import { Alert, AlertDescription, AlertTitle, Button, WarningIcon } from 'ui'
  3. import { DOCS_URL } from '@/lib/constants'
  4. export const RestorePaidPlanProjectNotice = () => {
  5. return (
  6. <Alert>
  7. <WarningIcon />
  8. <AlertTitle>Project will count towards compute usage once restored</AlertTitle>
  9. <AlertDescription>
  10. For every hour your instance is active, we will bill you based on the compute size of your
  11. project.
  12. </AlertDescription>
  13. <AlertDescription className="mt-3">
  14. <Button asChild type="default" icon={<ExternalLink />}>
  15. <a
  16. href={`${DOCS_URL}/guides/platform/manage-your-usage/compute`}
  17. target="_blank"
  18. rel="noreferrer"
  19. >
  20. More information
  21. </a>
  22. </Button>
  23. </AlertDescription>
  24. </Alert>
  25. )
  26. }