Skip to content

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

fix: title and light mode issues

Jonathan Summers-Muirf053a5296cf0
diff --git a/studio/components/interfaces/Integrations/ProjectLinker.tsx b/studio/components/interfaces/Integrations/ProjectLinker.tsx
index 898e42223e7..34890bdcd95 100644
--- a/studio/components/interfaces/Integrations/ProjectLinker.tsx
+++ b/studio/components/interfaces/Integrations/ProjectLinker.tsx
@@ -103,7 +103,7 @@ const ProjectLinker = ({
return (
<div className="flex flex-col gap-4">
- <div className="relative border rounded-lg p-12 bg shadow-inner">
+ <div className="relative border rounded-lg p-12 bg shadow">
<div
className="absolute inset-0 bg-grid-black/5 [mask-image:linear-gradient(0deg,#fff,rgba(255,255,255,0.6))] dark:bg-grid-white/5 dark:[mask-image:linear-gradient(0deg,rgba(255,255,255,0.1),rgba(255,255,255,0.5))]"
style={{ backgroundPosition: '10px 10px' }}
@@ -151,7 +151,7 @@ const ProjectLinker = ({
{/* <img src="/img/icons/vercel.svg" style={{ height: 21 }} alt="integration icon" /> */}
<svg
xmlns="http://www.w3.org/2000/svg"
- fill="var(--colors-scale12)"
+ fill="white"
viewBox="0 0 512 512"
className="w-6"
>
@@ -215,7 +215,7 @@ The following environment variables will be added:
${ENV_VAR_RAW_KEYS.map((x, idx) => {
return `
\n
- - \`${x}\` - ${(<span>This is the URL for the Project</span>)}
+ - \`${x}\`
`
})}
`}
diff --git a/studio/components/layouts/IntegrationWindowLayout.tsx b/studio/components/layouts/IntegrationWindowLayout.tsx
index 67536253051..123e42f205c 100644
--- a/studio/components/layouts/IntegrationWindowLayout.tsx
+++ b/studio/components/layouts/IntegrationWindowLayout.tsx
@@ -6,6 +6,7 @@ import { observer } from 'mobx-react-lite'
import { BASE_PATH } from 'lib/constants'
import React from 'react'
import { ScaffoldContainer } from './Scaffold'
+import { useParams } from 'common'
const IntegrationWindowLayout: FC<any> = ({ organization, project, children }) => {
const ongoingIncident = useFlag('ongoingIncident')
@@ -27,6 +28,12 @@ export const IntegrationWindowLayoutWithoutAuth = observer(IntegrationWindowLayo
const Header: FC<any> = ({ organization, project }) => {
let stepNumber = organization ? 1 : project ? 2 : 0
+ const { externalId } = useParams()
+
+ const title = externalId
+ ? 'Supabase + Vercel Deploy Button'
+ : 'Supabase + Vercel Integration Marketplace Connector'
+
return (
<div className="bg">
<ScaffoldContainer className={cn('py-3 border-b', INTEGRATION_LAYOUT_MAX_WIDTH)}>
@@ -37,7 +44,6 @@ const Header: FC<any> = ({ organization, project }) => {
</div>
<IconX className="text-scale-800" strokeWidth={2} size={16} />
<div className="bg-black shadow rounded p-1 w-8 h-8 flex justify-center items-center">
- {/* <img src="/img/icons/vercel.svg" style={{ height: 21 }} alt="integration icon" /> */}
<svg
xmlns="http://www.w3.org/2000/svg"
fill="white"
@@ -48,8 +54,8 @@ const Header: FC<any> = ({ organization, project }) => {
</svg>
</div>
</div>
- <span className="text-sm" title="Supabase + Vercel Integration Marketplace Connector">
- Supabase + Vercel Integration Marketplace Connector
+ <span className="text-sm" title={title}>
+ {title}
</span>
</div>
</ScaffoldContainer>
diff --git a/studio/components/to-be-cleaned/ListIcons.tsx b/studio/components/to-be-cleaned/ListIcons.tsx
index 8d38c8feecc..28430ead532 100644
--- a/studio/components/to-be-cleaned/ListIcons.tsx
+++ b/studio/components/to-be-cleaned/ListIcons.tsx
@@ -2,9 +2,9 @@ import { IconDatabase } from 'ui'
import SVG from 'react-inlinesvg'
export const vercelIcon = (
- <div className="flex items-center justify-center rounded bg-black p-1 dark:bg-white">
+ <div className="flex items-center justify-center rounded bg-black p-1">
<svg
- className="m-auto fill-current text-white dark:text-black"
+ className="m-auto fill-current text-white"
width="12px"
height="12px"
viewBox="0 0 1155 1000"