Major changes across backend, frontend, infrastructure: - Provider system with model selection (Google, DeepL, OpenAI, Ollama, Google Cloud) - Admin panel: user management, pricing, settings - Glossary system with CSV import/export - Subscription and tier quota management - Security hardening (rate limiting, API key auth, path traversal fixes) - Docker compose for dev, prod, and IONOS deployment - Alembic migrations for new tables - Frontend: dashboard, pricing page, landing page, i18n (en/fr) - Test suite and verification scripts Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
34 lines
800 B
TypeScript
34 lines
800 B
TypeScript
'use client'
|
|
|
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible'
|
|
|
|
function Collapsible({
|
|
...props
|
|
}: React.ComponentProps<typeof CollapsiblePrimitive.Root>) {
|
|
return <CollapsiblePrimitive.Root data-slot="collapsible" {...props} />
|
|
}
|
|
|
|
function CollapsibleTrigger({
|
|
...props
|
|
}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>) {
|
|
return (
|
|
<CollapsiblePrimitive.CollapsibleTrigger
|
|
data-slot="collapsible-trigger"
|
|
{...props}
|
|
/>
|
|
)
|
|
}
|
|
|
|
function CollapsibleContent({
|
|
...props
|
|
}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>) {
|
|
return (
|
|
<CollapsiblePrimitive.CollapsibleContent
|
|
data-slot="collapsible-content"
|
|
{...props}
|
|
/>
|
|
)
|
|
}
|
|
|
|
export { Collapsible, CollapsibleTrigger, CollapsibleContent }
|