Files
aragrp/components/playground/playground-settings-card.tsx
T
alirez.brandCursor a47ec493c5 feat: add version history drawer with release notes
Introduce a footer-triggered Version History drawer with categorized release notes, hardcoded release data, and semver tracking at v0.3.0. Also ships blog blockquote/table styling, site-wide typography, home page image updates, header refinements, and related bug fixes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-02 02:46:20 +03:30

45 lines
1.2 KiB
TypeScript

"use client";
import { Settings2 } from "lucide-react";
import {
Card,
CardContent,
CardDescription,
CardHeader,
CardTitle,
} from "@/components/ui/card";
import { PlaygroundSettingsPanel } from "./playground-settings-panel";
import type { PlaygroundSettings } from "./types";
interface PlaygroundSettingsCardProps {
settings: PlaygroundSettings;
onChange: (settings: PlaygroundSettings) => void;
}
export function PlaygroundSettingsCard({
settings,
onChange,
}: PlaygroundSettingsCardProps) {
return (
<Card className="h-full">
<CardHeader className="pb-4">
<div className="flex items-center gap-2">
<div className="flex size-8 items-center justify-center rounded-lg bg-primary/10 text-primary">
<Settings2 className="size-4" aria-hidden />
</div>
<div>
<CardTitle>تنظیمات گفتگو</CardTitle>
<CardDescription>
پیکربندی مدل و رفتار پاسخ‌دهی
</CardDescription>
</div>
</div>
</CardHeader>
<CardContent>
<PlaygroundSettingsPanel settings={settings} onChange={onChange} />
</CardContent>
</Card>
);
}