Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

958 B
Raw Blame
import { Button } from 'ui'

import {
  AccountRow,
  InterstitialActionError,
  InterstitialShell,
  LogoPair,
  StripeLogo,
  SupabaseLogo,
} from './connect-interstitial-shared'

export default function ConnectInterstitialActionError() {
  return (
    <InterstitialShell
      logo={<LogoPair left={<StripeLogo />} right={<SupabaseLogo />} />}
      title="Authorize Stripe Projects"
      description="This will create an organization on your behalf in Supabase"
    >
      <div className="flex flex-col gap-4">
        <AccountRow displayName="[email protected]" />
        <div className="flex flex-col gap-2">
          <Button variant="primary" block>
            Authorize Stripe Projects
          </Button>
          <Button variant="text" block>
            Cancel
          </Button>
          <InterstitialActionError error="Failed to authorize Stripe Projects. Please try again." />
        </div>
      </div>
    </InterstitialShell>
  )
}