mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 23:59:08 +03:00
* Move all studio files from /studio to /apps/studio. * Move studio specific prettier ignores. * Fix the ui references from studio. * Fix the css imports. * Fix all package.json issues. * Fix the prettier setup for the studio app. * Add .turbo folder to prettierignore. * Fix the github workflows.
31 lines
838 B
TypeScript
31 lines
838 B
TypeScript
import { IconAlertCircle } from 'ui'
|
|
|
|
import InformationBox from 'components/ui/InformationBox'
|
|
|
|
interface DisabledWarningDueToIncidentProps {
|
|
title: string
|
|
}
|
|
|
|
const DisabledWarningDueToIncident = ({ title }: DisabledWarningDueToIncidentProps) => {
|
|
return (
|
|
<InformationBox
|
|
icon={<IconAlertCircle size={20} strokeWidth={1.5} />}
|
|
defaultVisibility={true}
|
|
hideCollapse
|
|
title={title}
|
|
description={
|
|
<div className="space-y-3">
|
|
<p className="text-sm leading-normal">
|
|
Our engineers are currently working on a fix. You can follow updates on{' '}
|
|
<a className="text-brand" href="https://status.supabase.com/">
|
|
https://status.supabase.com/
|
|
</a>
|
|
</p>
|
|
</div>
|
|
}
|
|
/>
|
|
)
|
|
}
|
|
|
|
export default DisabledWarningDueToIncident
|