import Link from 'next/link' import { Button, HoverCard, HoverCardContent, HoverCardTrigger } from 'ui' import { Admonition } from 'ui-patterns/Admonition' import { ENV_VAR_RAW_KEYS } from './Integrations-Vercel.constants' import { LogoPair, PartnerLogo, SupabaseLogo } from '@/components/layouts/InterstitialLayout' import { BASE_PATH } from '@/lib/constants' const VERCEL_ENV_VAR_COUNT = ENV_VAR_RAW_KEYS.length const VERCEL_ICON_SRC = `${BASE_PATH}/img/icons/vercel-icon.svg` export const VERCEL_INTEGRATION_ICON = Vercel export function VercelIntegrationLogo() { return ( } right={} /> ) } export function VercelIntegrationFooter() { return (

You can remove this integration at any time from Vercel or the Supabase dashboard.

) } export function VercelEnvVarsSyncDescription() { return ( <>

Environment variables

    {ENV_VAR_RAW_KEYS.map((key) => (
  • {key}
  • ))}
{' '} will be synced to your Vercel project. ) } interface VercelIntegrationInterstitialErrorStateProps { title: string errorMessage?: string | null } export function VercelIntegrationInterstitialErrorState({ title, errorMessage, }: VercelIntegrationInterstitialErrorStateProps) { return (
Retry the installation request from Vercel. {errorMessage && ( Error: {errorMessage} )} } />
) }