DisabledWarningDueToIncident.tsx 936 B

12345678910111213141516171819202122232425262728293031
  1. import { AlertCircle } from 'lucide-react'
  2. import InformationBox from '@/components/ui/InformationBox'
  3. import Panel from '@/components/ui/Panel'
  4. interface DisabledWarningDueToIncidentProps {
  5. title: string
  6. }
  7. export const DisabledWarningDueToIncident = ({ title }: DisabledWarningDueToIncidentProps) => {
  8. return (
  9. <Panel.Content className="pb-8">
  10. <InformationBox
  11. icon={<AlertCircle size={20} strokeWidth={1.5} />}
  12. defaultVisibility={true}
  13. hideCollapse
  14. title={title}
  15. description={
  16. <div className="space-y-3">
  17. <p className="text-sm leading-normal">
  18. Our engineers are currently working on a fix. You can follow updates on{' '}
  19. <a className="text-brand" href="https://status.supabase.com/">
  20. https://status.supabase.com/
  21. </a>
  22. </p>
  23. </div>
  24. }
  25. />
  26. </Panel.Content>
  27. )
  28. }