'use client' import { Columns3, Database, Table2, type LucideIcon } from 'lucide-react' import { useLanguage } from '@/lib/i18n' import { cn } from '@/lib/utils' import type { BootstrapStructuredTarget } from '@/lib/structured-views/bootstrap-structured-notebook' type StructuredViewsIntroProps = { target: BootstrapStructuredTarget enabling?: boolean onEnable: () => void } export function StructuredViewsIntro({ target, enabling, onEnable }: StructuredViewsIntroProps) { const { t } = useLanguage() return (

{t('structuredViews.intro.databaseTitle')}

{t('structuredViews.intro.databaseBody')}

{target === 'kanban' ? t('structuredViews.intro.activateKanbanHint') : t('structuredViews.intro.activateTableHint')}

) } function IntroCard({ icon: Icon, title, body, active, }: { icon: LucideIcon title: string body: string active?: boolean }) { return (

{title}

{body}

) }