import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card' import { Label } from '@/components/ui/label' import { Switch } from '@/components/ui/switch' import projectSettingsCopy from '@/data/project-settings.json' import { NextJsConfigSectionProps } from '@/components/project-settings/types' export function NextJsFeaturesCard({ nextjsConfig, onNextjsConfigChange, }: NextJsConfigSectionProps) { const { features } = projectSettingsCopy.nextjs return ( {features.title} {features.description}

{features.items.typescript.description}

onNextjsConfigChange((current) => ({ ...current, typescript: checked, })) } />

{features.items.eslint.description}

onNextjsConfigChange((current) => ({ ...current, eslint: checked, })) } />

{features.items.tailwind.description}

onNextjsConfigChange((current) => ({ ...current, tailwind: checked, })) } />

{features.items.srcDirectory.description}

onNextjsConfigChange((current) => ({ ...current, srcDirectory: checked, })) } />

{features.items.appRouter.description}

onNextjsConfigChange((current) => ({ ...current, appRouter: checked, })) } />

{features.items.turbopack.description}

onNextjsConfigChange((current) => ({ ...current, turbopack: checked, })) } />
) }