import { useParams } from 'common'
import { Terminal } from 'lucide-react'
import { Card, CardContent, CardHeader, CardTitle } from 'ui'
import { EmptyStatePresentational } from 'ui-patterns'
import CommandRender from '@/components/interfaces/Functions/CommandRender'
export const MigrationsEmptyState = () => {
const { ref } = useParams()
const commands = [
{
comment: 'Link your project',
command: `briven link --project-ref ${ref}`,
jsx: () => {
return (
<>
briven link --project-ref {ref}
>
)
},
},
{
comment: 'Create a new migration called "new-migration"',
command: `briven migration new new-migration`,
jsx: () => {
return (
<>
briven migration new new-migration
>
)
},
},
{
comment: 'Run all migrations for this project',
command: `briven db push`,
jsx: () => {
return (
<>
briven db push
>
)
},
},
]
return (
Terminal instructions
)
}