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>
42 lines
1.5 KiB
TypeScript
42 lines
1.5 KiB
TypeScript
"use client"
|
|
|
|
import Link from "next/link"
|
|
import { Languages } from "lucide-react"
|
|
import { Button } from "@/components/ui/button"
|
|
|
|
export function SiteHeader() {
|
|
return (
|
|
<header className="sticky top-0 z-50 w-full border-b border-border/50 bg-background/80 backdrop-blur-lg">
|
|
<div className="mx-auto flex h-14 max-w-5xl items-center justify-between px-6">
|
|
<div className="flex items-center gap-2">
|
|
<div className="flex size-8 items-center justify-center rounded-lg bg-primary">
|
|
<Languages className="size-4 text-primary-foreground" />
|
|
</div>
|
|
<span className="text-base font-semibold tracking-tight text-foreground">
|
|
Office Translator
|
|
</span>
|
|
</div>
|
|
|
|
<nav className="hidden items-center gap-1 md:flex">
|
|
<Button variant="ghost" size="sm" className="text-muted-foreground hover:text-foreground">
|
|
Pricing
|
|
</Button>
|
|
<Button variant="ghost" size="sm" className="text-muted-foreground hover:text-foreground">
|
|
API Docs
|
|
</Button>
|
|
<div className="mx-2 h-4 w-px bg-border" />
|
|
<Button variant="outline" size="sm" asChild>
|
|
<Link href="/dashboard">Login</Link>
|
|
</Button>
|
|
</nav>
|
|
|
|
<div className="md:hidden">
|
|
<Button variant="outline" size="sm" asChild>
|
|
<Link href="/dashboard">Login</Link>
|
|
</Button>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
)
|
|
}
|