Skip to content

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

chore: updated building state

Jonathan Summers-Muir1a6d1bd0ec5e
diff --git a/studio/components/to-be-cleaned/BuildingState.tsx b/studio/components/to-be-cleaned/BuildingState.tsx
index 66217a829f1..a1b49d9c188 100644
--- a/studio/components/to-be-cleaned/BuildingState.tsx
+++ b/studio/components/to-be-cleaned/BuildingState.tsx
@@ -2,7 +2,7 @@ import * as React from 'react'
import Link from 'next/link'
import { useRouter } from 'next/router'
import { observer } from 'mobx-react-lite'
-import { Badge, Typography, IconArrowRight, IconLoader } from '@supabase/ui'
+import { Badge, Typography, IconArrowRight, IconLoader, Button } from '@supabase/ui'
import {
DisplayApiSettings,
DisplayConfigSettings,
@@ -49,51 +49,69 @@ const ProjectBuildingState: React.FC<ProjectBuildingState> = () => {
return (
<div className="max-w-6xl mx-auto w-full items-center justify-center my-16">
- <div className="flex flex-col space-y-16">
- <div className="mx-6">
+ <div className="flex flex-col space-y-16 mx-6">
+ <div className=" flex flex-col gap-4">
<div className="space-x-3 flex items-center">
- <Title level={3} className="mb-0">
- Setting up {project.name}
- </Title>
- <IconLoader className="animate-spin" />
+ <h1 className="text-scale-1200 text-3xl">{project.name}</h1>
+ <Badge color="brand">
+ <div className="flex items-center gap-2">
+ <IconLoader className="animate-spin" size={12} />
+ <span>Setting up project</span>
+ </div>
+ </Badge>
</div>
- <Text type="secondary">Provisioning your database and API endpoints</Text>
- <div className="mt-3">
- <Badge color="yellow">This may take a few minutes</Badge>
+ <div>
+ <p className="text-scale-1100 text-sm">
+ {' '}
+ We are provisioning your database and API endpoints
+ </p>
+ <p className="text-scale-1100 text-sm"> This may take a few minutes</p>
</div>
</div>
<div>
- <div className="mx-6 grid grid-cols-12 gap-12">
+ <div className=" grid grid-cols-12 gap-12">
<div className="col-span-12 lg:col-span-4 space-y-12">
<div>
- <Title level={5}>While you wait</Title>
+ <h4 className="text-scale-1200 text-base">While you wait</h4>
<ChecklistItem
description={
- <Text>
+ <p className="text-scale-1100 text-sm">
Browse the Supabase{' '}
<Link href="https://supabase.com/docs">
- <a className="text-green-500 hover:text-green-700" target="_blank">
+ <a
+ className="text-brand-900 hover:text-brand-1200 transition-colors mb-0"
+ target="_blank"
+ >
documentation
</a>
</Link>
.
- </Text>
+ </p>
}
/>
</div>
<div>
- <Title level={5}>Not working?</Title>
+ <h4 className="text-scale-1200 text-base">Not working?</h4>
<ChecklistItem
- description={<Text>Try refreshing after a couple of minutes.</Text>}
+ description={
+ <p className="text-scale-1100 text-sm">
+ Try refreshing after a couple of minutes.
+ </p>
+ }
/>
<ul>
<ChecklistItem
description={
- <Typography.Text>
- If your dashboard hasn't connected within 2 minutes, send us an email:{' '}
- <Typography.Text code>[email protected]</Typography.Text>
- </Typography.Text>
+ <>
+ <p className="text-scale-1100 text-sm mb-4">
+ If your dashboard hasn't connected within 2 minutes, you can open a
+ support ticket.
+ </p>
+ <Link href="/support/new">
+ <Button type="default">Contact support team</Button>
+ </Link>
+ </>
}
/>
</ul>
@@ -136,8 +154,8 @@ export default observer(ProjectBuildingState)
const ChecklistItem = ({ description }: any) => {
return (
<li className="flex flex-wrap my-3 space-x-3">
- <div className="mt-1.5">
- <IconArrowRight className="text-green-500" size="tiny" />
+ <div className="mt-0.5">
+ <IconArrowRight className="text-scale-900" size="tiny" />
</div>
<div className="flex-1">{description}</div>
</li>