All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 12s
- Sidebar: dynamic brand-accent colors, brainstorm section restyled - AI chat general: popup panel with expand/collapse, hides when contextual AI open - AI chat contextual: tabs reordered (Actions first), X close button, height fix - Settings: all tabs restyled, 6 new color presets (sage, terracotta, iron, etc.) - Global color cleanup: emerald/orange hardcoded → brand-accent dynamic - Brainstorm page: orange → brand-accent throughout - PageEntry animation component added to key pages - Floating AI button: bg-brand-accent instead of hardcoded black - i18n: all 15 locales updated with new AI/billing keys - Billing: freemium quota tracking, BYOK, stripe subscription scaffolding - Admin: integrated into new design - AGENTS.md + CLAUDE.md project rules added
25 lines
783 B
TypeScript
25 lines
783 B
TypeScript
import { auth } from '@/auth'
|
|
import { redirect } from 'next/navigation'
|
|
import { McpSettingsPanel } from '@/components/mcp/mcp-settings-panel'
|
|
import { listMcpKeys, getMcpServerStatus } from '@/app/actions/mcp-keys'
|
|
import { useLanguage } from '@/lib/i18n'
|
|
|
|
export default async function McpSettingsPage() {
|
|
const session = await auth()
|
|
if (!session?.user) redirect('/api/auth/signin')
|
|
|
|
const [keys, serverStatus] = await Promise.all([
|
|
listMcpKeys(),
|
|
getMcpServerStatus(),
|
|
])
|
|
|
|
return (
|
|
<div className="space-y-8">
|
|
<h3 className="text-[10px] font-bold uppercase tracking-[0.3em] text-concrete">
|
|
Gérez vos clés API et serveurs MCP connectés.
|
|
</h3>
|
|
<McpSettingsPanel initialKeys={keys} serverStatus={serverStatus} />
|
|
</div>
|
|
)
|
|
}
|