Skip to content

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

chore: clean up ui.Typography

phamhieu86704c3e77cc
diff --git a/studio/pages/vercel/complete.tsx b/studio/pages/vercel/complete.tsx
index a688054a671..7f542aaf7ed 100644
--- a/studio/pages/vercel/complete.tsx
+++ b/studio/pages/vercel/complete.tsx
@@ -1,7 +1,7 @@
import { createContext, useEffect, useState } from 'react'
import { observer, useLocalObservable } from 'mobx-react-lite'
import VercelIntegrationLayout from 'components/layouts/VercelIntegrationLayout'
-import { Button, Typography, IconLoader } from '@supabase/ui'
+import { Button, IconLoader } from '@supabase/ui'
const PageContext = createContext(null)
function IntegrationComplete() {
@@ -34,20 +34,15 @@ function IntegrationComplete() {
<VercelIntegrationLayout>
<div className="max-w-sm mx-auto">
<IconLoader className="animate-spin" size={30} />
- <Typography.Title level={3}>
- <p className="pt-4">Your new project is spinning up</p>
- </Typography.Title>
- <Typography.Text>
- <p className="pt-2">This may take up to 2 mins, but you can continue on Vercel.</p>
- </Typography.Text>
-
+ <p className="pt-4 text-lg">Your new project is spinning up</p>
+ <p className="pt-2">This may take up to 2 mins, but you can continue on Vercel.</p>
<div className="py-4">
<a
href={`/project/${PageState.supabaseProjectRef}`}
target="_blank"
className="hover:text-green-500"
>
- <Typography.Text>Open Supabase Dashboard →</Typography.Text>
+ Open Supabase Dashboard →
</a>
</div>
diff --git a/studio/pages/vercel/setupOrg.tsx b/studio/pages/vercel/setupOrg.tsx
index 8c3f3abf802..589a448ed32 100644
--- a/studio/pages/vercel/setupOrg.tsx
+++ b/studio/pages/vercel/setupOrg.tsx
@@ -1,7 +1,7 @@
import { createContext, useEffect, useContext, useState, ChangeEvent } from 'react'
import { useRouter } from 'next/router'
import { observer, useLocalObservable } from 'mobx-react-lite'
-import { Button, Input, Select, Typography } from '@supabase/ui'
+import { Button, Input, Select } from '@supabase/ui'
import { runInAction } from 'mobx'
import { API_URL } from 'lib/constants'
@@ -110,11 +110,11 @@ const CreateOrganization = observer(({}) => {
return (
<div className="">
{sortedOrganizations?.length > 0 ? (
- <Typography.Title level={3}>Create a new organization</Typography.Title>
+ <p className="mb-2">Create a new organization</p>
) : (
<>
- <Typography.Title level={3}>You do not have an organization</Typography.Title>
- <Typography.Text>You will need an organization to deploy this project</Typography.Text>
+ <p className="mb-2">You do not have any organization</p>
+ <p>You will need an organization to deploy this project</p>
</>
)}
diff --git a/studio/pages/vercel/setupProject.tsx b/studio/pages/vercel/setupProject.tsx
index bcf5ff8b2fb..5d2feb2abe6 100644
--- a/studio/pages/vercel/setupProject.tsx
+++ b/studio/pages/vercel/setupProject.tsx
@@ -4,7 +4,7 @@ import { useRouter } from 'next/router'
import { observer, useLocalObservable } from 'mobx-react-lite'
import { makeAutoObservable } from 'mobx'
import { debounce } from 'lodash'
-import { Button, Input, Listbox, Select, Typography } from '@supabase/ui'
+import { Button, Input, Listbox, Typography } from '@supabase/ui'
import { Dictionary } from '@supabase/grid'
import { useStore } from 'hooks'
@@ -28,14 +28,6 @@ import VercelIntegrationLayout from 'components/layouts/VercelIntegrationLayout'
import Loading from 'components/ui/Loading'
import PasswordStrengthBar from 'components/ui/PasswordStrengthBar'
-const PASSWORD_STRENGTH = {
- 0: "That's terrible.",
- 1: 'Pathetic.',
- 2: 'Weak.',
- 3: 'Not bad. Can you do better?',
- 4: "Strong. Let's get started!",
-}
-
interface ISetupProjectStore {
token: string
teamId: string
@@ -235,9 +227,7 @@ const CreateProject = observer(() => {
const project = response
_store.supabaseProjectRef = project.ref
- // console.log('new project', project)
const envs = prepareVercelEvns(requiredEnvs, project)
- // console.log('envs', envs)
await Promise.allSettled(
envs.map(async (env: any) => {
@@ -265,7 +255,7 @@ const CreateProject = observer(() => {
return (
<div className="">
- <h3 className="mb-2">Project details for integration</h3>
+ <p className="mb-2">Project details for integration</p>
<div className="py-2">
<Input
autoFocus