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>
44 lines
1.3 KiB
TypeScript
44 lines
1.3 KiB
TypeScript
"use client"
|
|
|
|
import { DashboardSidebar } from "@/components/dashboard-sidebar"
|
|
import { DashboardHeader } from "@/components/dashboard-header"
|
|
import { ApiAutomationCard } from "@/components/api-automation-card"
|
|
import { GlossaryContextCard } from "@/components/glossary-context-card"
|
|
|
|
export default function DashboardPage() {
|
|
return (
|
|
<div className="flex h-screen bg-background">
|
|
{/* Sidebar */}
|
|
<DashboardSidebar />
|
|
|
|
{/* Main area */}
|
|
<div className="flex flex-1 flex-col overflow-hidden">
|
|
{/* Top Header */}
|
|
<DashboardHeader />
|
|
|
|
{/* Content */}
|
|
<main className="flex-1 overflow-y-auto">
|
|
<div className="mx-auto max-w-5xl px-4 py-6 lg:px-8 lg:py-8">
|
|
{/* Page heading */}
|
|
<div className="mb-6">
|
|
<h2 className="text-xl font-semibold tracking-tight text-foreground">
|
|
Overview
|
|
</h2>
|
|
<p className="mt-1 text-sm text-muted-foreground">
|
|
Monitor your usage, manage API keys, and configure translation
|
|
preferences.
|
|
</p>
|
|
</div>
|
|
|
|
{/* Feature cards */}
|
|
<div className="flex flex-col gap-6">
|
|
<ApiAutomationCard />
|
|
<GlossaryContextCard />
|
|
</div>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|