feat(settings): link to AI settings from the Settings page

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Dave 2026-10-28 11:36:23 +02:00
parent 66f23a34e9
commit 6c83282888

View file

@ -4,7 +4,8 @@ import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/com
import { Separator } from "@/components/ui/separator";
import { ThemePicker } from "@/components/theme-picker";
import { THEMES } from "@/lib/themes";
import { Palette } from "lucide-react";
import Link from "next/link";
import { ChevronRight, Palette, Sparkles } from "lucide-react";
export default function SettingsPage() {
return (
@ -18,6 +19,21 @@ export default function SettingsPage() {
<Separator />
<Link href="/settings/ai" className="block">
<Card className="transition-colors hover:bg-muted/50">
<CardHeader>
<div className="flex items-center gap-2">
<Sparkles className="h-4 w-4 text-primary" />
<CardTitle>AI settings</CardTitle>
<ChevronRight className="ml-auto h-4 w-4 text-muted-foreground" />
</div>
<CardDescription>
Model and key, plus the quote, order and collection assistants: switch them on and set how often they run.
</CardDescription>
</CardHeader>
</Card>
</Link>
<Card>
<CardHeader>
<div className="flex items-center gap-2">