The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: underline clerk connect page link (#34574)
Stojan Dimitrovski63d1dfb941ff
diff --git a/apps/studio/components/interfaces/Auth/ThirdPartyAuthForm/CreateClerkAuthDialog.tsx b/apps/studio/components/interfaces/Auth/ThirdPartyAuthForm/CreateClerkAuthDialog.tsxindex 84f36debcc1..50b78761d0d 100644--- a/apps/studio/components/interfaces/Auth/ThirdPartyAuthForm/CreateClerkAuthDialog.tsx+++ b/apps/studio/components/interfaces/Auth/ThirdPartyAuthForm/CreateClerkAuthDialog.tsx@@ -22,6 +22,7 @@ import {Separator,} from 'ui'import { FormItemLayout } from 'ui-patterns/form/FormItemLayout/FormItemLayout'+import { InlineLink } from 'components/ui/InlineLink'interface CreateClerkAuthIntegrationProps {visible: boolean@@ -107,9 +108,13 @@ export const CreateClerkAuthIntegrationDialog = ({<form id={FORM_ID} onSubmit={form.handleSubmit(onSubmit)} className="space-y-4"><p className="text-sm text-foreground-light">Register your Clerk domain. Visit{' '}- <a href="https://dashboard.clerk.com/setup/supabase" target="_blank" rel="noopener">+ <InlineLink+ href="https://dashboard.clerk.com/setup/supabase"+ target="_blank"+ rel="noopener"+ >Clerk's Connect with Supabase page- </a>{' '}+ </InlineLink>{' '}to configure your Clerk instance.</p><FormField_Shadcn_diff --git a/apps/studio/components/ui/InlineLink.tsx b/apps/studio/components/ui/InlineLink.tsxindex f1dd6fbddbc..208da43c3f8 100644--- a/apps/studio/components/ui/InlineLink.tsx+++ b/apps/studio/components/ui/InlineLink.tsx@@ -5,12 +5,15 @@ import { cn } from 'ui'interface InlineLinkProps {href: stringclassName?: string+ target?: string+ rel?: string}export const InlineLink = ({href,className: _className,children,+ ...props}: PropsWithChildren<InlineLinkProps>) => {const className = cn('underline transition underline-offset-2 decoration-foreground-lighter hover:decoration-foreground text-foreground',@@ -18,13 +21,13 @@ export const InlineLink = ({)if (href.startsWith('http')) {return (- <a className={className} href={href} target="_blank" rel="noreferrer noopener">+ <a className={className} href={href} target="_blank" rel="noreferrer noopener" {...props}>{children}</a>)}return (- <Link className={className} href={href}>+ <Link className={className} href={href} {...props}>{children}</Link>)