- Remove BMAD framework, IDE configs, dev screenshots, test files, internal docs, and backup files - Rename keep-notes/ to memento-note/ - Update all references from keep-notes to memento-note - Add Apache 2.0 license with Commons Clause (non-commercial restriction) - Add clean .gitignore and .env.docker.example
34 lines
1.0 KiB
TypeScript
34 lines
1.0 KiB
TypeScript
'use client'
|
|
|
|
import { Button } from '@/components/ui/button'
|
|
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'
|
|
import { ArrowRight, Sparkles } from 'lucide-react'
|
|
import Link from 'next/link'
|
|
import { useLanguage } from '@/lib/i18n'
|
|
|
|
export function AISettingsLinkCard() {
|
|
const { t } = useLanguage()
|
|
|
|
return (
|
|
<Card className="mt-6">
|
|
<CardHeader>
|
|
<CardTitle className="flex items-center gap-2">
|
|
<Sparkles className="h-5 w-5 text-amber-500" />
|
|
{t('nav.aiSettings')}
|
|
</CardTitle>
|
|
<CardDescription>
|
|
{t('nav.configureAI')}
|
|
</CardDescription>
|
|
</CardHeader>
|
|
<CardContent>
|
|
<Link href="/settings/ai">
|
|
<Button variant="outline" className="w-full justify-between group">
|
|
<span>{t('nav.manageAISettings')}</span>
|
|
<ArrowRight className="h-4 w-4 group-hover:translate-x-1 transition-transform" />
|
|
</Button>
|
|
</Link>
|
|
</CardContent>
|
|
</Card>
|
|
)
|
|
}
|