import { Link } from '@tanstack/react-router' import { useParams } from 'common' import { GitBranchIcon } from 'lucide-react' import { Badge, Button, Card, CardContent, CardDescription, CardHeader, CardTitle } from 'ui' import { IntegrationSectionIcon } from '../Settings/Integrations/IntegrationsSettings' import { CreateBranchButton } from './CreateBranchButton' import { DocsButton } from '@/components/ui/DocsButton' import { DOCS_URL } from '@/lib/constants' export const BranchingEmptyState = ({ isGithubConnected = false, }: { isGithubConnected?: boolean }) => { const { ref } = useParams() return ( Get started with branching Create isolated environments to test changes before merging to production

Create a preview branch

Make schema or Edge Function changes on a clone of your project, then merge them back when ready.

Connect with GitHub {isGithubConnected ? ( Connected ) : ( Optional )}

Automatically create a preview branch for each pull request and apply your migrations on every commit.

{!isGithubConnected && ( )}
) }