- The built-in Hungarian system prompts and the user message frame are written in Hungarian - Admin page Modellek: the model of each analysis kind, chosen from the OpenRouter list (structured-output models only) with prices and a cost estimate per analysis - Admin: regenerate any analysis in place with the current prompt and model (no charge) - Fix: a failed forecast analysis refunds a forecast unit, not a natal one Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
22 lines
609 B
TypeScript
22 lines
609 B
TypeScript
import Link from "next/link";
|
|
|
|
const PAGES = [
|
|
{ href: "/admin", label: "Felhasználók" },
|
|
{ href: "/admin/meghivok", label: "Meghívók" },
|
|
{ href: "/admin/promptok", label: "Promptok" },
|
|
{ href: "/admin/modellek", label: "Modellek" },
|
|
];
|
|
|
|
/** Switches between the admin pages. */
|
|
export function AdminNav({ current }: { current: string }) {
|
|
return (
|
|
<nav className="admin-nav" aria-label="Admin oldalak">
|
|
{PAGES.map((p) => (
|
|
<Link key={p.href} href={p.href} aria-current={p.href === current ? "page" : undefined}>
|
|
{p.label}
|
|
</Link>
|
|
))}
|
|
</nav>
|
|
);
|
|
}
|