feat(web): authorities kind-tabbed screen (list/create) + nav

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-04 09:32:57 +02:00
parent 02e4f34a1b
commit 38673e52ba
6 changed files with 159 additions and 1 deletions
+9 -1
View File
@@ -5,7 +5,7 @@ import { useLogout } from "../api/queries";
import { Button } from "@/components/ui/button";
import { LangSwitch } from "./lang-switch";
const DISABLED_NAV = ["authorities", "fields", "search"] as const;
const DISABLED_NAV = ["fields", "search"] as const;
export function AppShell() {
const { t } = useTranslation();
@@ -38,6 +38,14 @@ export function AppShell() {
>
{t("nav.vocabularies")}
</NavLink>
<NavLink
to="/authorities"
className={({ isActive }) =>
`block rounded px-2 py-1 ${isActive ? "bg-neutral-200 font-medium" : ""}`
}
>
{t("nav.authorities")}
</NavLink>
{DISABLED_NAV.map((key) => (
<button
key={key}