mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-02 21:32:10 +03:00
feat: Introduce new A2A and MCP API routes, enhance dashboard UI, update READMEs, and add E2E tests.
This commit is contained in:
@@ -86,6 +86,10 @@ function usePageInfo(pathname: string | null) {
|
||||
return { title: t("cliTools"), description: t("cliToolsDescription"), breadcrumbs: [] };
|
||||
if (pathname === "/dashboard")
|
||||
return { title: t("home"), description: t("homeDescription"), breadcrumbs: [] };
|
||||
if (pathname.includes("/mcp"))
|
||||
return { title: t("mcp"), description: t("mcpDescription"), breadcrumbs: [] };
|
||||
if (pathname.includes("/a2a"))
|
||||
return { title: t("a2a"), description: t("a2aDescription"), breadcrumbs: [] };
|
||||
if (pathname.includes("/endpoint"))
|
||||
return { title: t("endpoint"), description: t("endpointDescription"), breadcrumbs: [] };
|
||||
if (pathname.includes("/profile"))
|
||||
|
||||
@@ -15,6 +15,8 @@ import { useTranslations } from "next-intl";
|
||||
const navItemDefs = [
|
||||
{ href: "/dashboard", i18nKey: "home", icon: "home", exact: true },
|
||||
{ href: "/dashboard/endpoint", i18nKey: "endpoint", icon: "api" },
|
||||
{ href: "/dashboard/mcp", i18nKey: "mcp", icon: "hub" },
|
||||
{ href: "/dashboard/a2a", i18nKey: "a2a", icon: "group_work" },
|
||||
{ href: "/dashboard/api-manager", i18nKey: "apiManager", icon: "vpn_key" },
|
||||
{ href: "/dashboard/providers", i18nKey: "providers", icon: "dns" },
|
||||
{ href: "/dashboard/combos", i18nKey: "combos", icon: "layers" },
|
||||
|
||||
Reference in New Issue
Block a user