ultisuite-client/components/admin/settings/admin-settings-card.tsx
R3D347HR4Y 9e9fd208ad
Some checks are pending
E2E / Playwright e2e (push) Waiting to run
feat(admin-settings): enhance admin settings with new components and layout improvements
- Introduced new components for managing admin settings, including AdminListControls, AdminSettingsCard, and TechBrandSelectLabel.
- Implemented dynamic loading for admin settings sections to optimize performance.
- Enhanced the layout of various admin settings sections for better user experience.
- Updated the AiAssistantSection to include LLM provider management and improved model selection.
- Refactored authentication settings to streamline configuration and improve accessibility.
2026-06-15 00:22:20 +02:00

28 lines
634 B
TypeScript

import type { ReactNode } from "react"
import { Card, CardContent } from "@/components/ui/card"
export function AdminSettingsCard({
title,
description,
hint,
children,
}: {
title: string
description: ReactNode
hint?: ReactNode
children: ReactNode
}) {
return (
<Card className="gap-0 py-0">
<CardContent className="py-4">
<div>
<p className="font-medium">{title}</p>
<p className="mt-1 text-sm text-muted-foreground">{description}</p>
{hint}
</div>
<div className="mt-4 space-y-4 border-t pt-4">{children}</div>
</CardContent>
</Card>
)
}