IPV4SuggestionAlert.tsx 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. import { ExternalLink, HelpCircle } from 'lucide-react'
  2. import Link from 'next/link'
  3. import { Alert, AlertDescription, AlertTitle, Button } from 'ui'
  4. export const IPV4SuggestionAlert = () => {
  5. return (
  6. <Alert variant="default">
  7. <HelpCircle strokeWidth={2} />
  8. <AlertTitle>Connection issues?</AlertTitle>
  9. <AlertDescription className="grid gap-3">
  10. <p>
  11. Having trouble connecting to your project? It could be related to our migration from
  12. PGBouncer and IPv4.
  13. </p>
  14. <p>
  15. Please review this GitHub discussion. It's up to date and covers many frequently asked
  16. questions.
  17. </p>
  18. <p>
  19. <Button asChild type="default" icon={<ExternalLink strokeWidth={1.5} />}>
  20. <Link
  21. target="_blank"
  22. rel="noreferrer"
  23. href="https://github.com/orgs/briven/discussions/17817"
  24. >
  25. PGBouncer and IPv4 Deprecation #17817
  26. </Link>
  27. </Button>
  28. </p>
  29. </AlertDescription>
  30. </Alert>
  31. )
  32. }