diff --git a/package.json b/package.json
index 9a0bd12..17201d0 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,5 @@
{
- "name": "cc-mate",
+ "name": "claude-samurai",
"private": true,
"version": "0.2.0",
"type": "module",
diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx
index 7480398..8e3d734 100644
--- a/src/components/Layout.tsx
+++ b/src/components/Layout.tsx
@@ -42,68 +42,86 @@ export function Layout() {
const location = useLocation();
const isProjectsRoute = location.pathname.startsWith("/projects");
- const navLinks = [
+ const navSections = [
{
- to: "/",
- icon: FileJsonIcon,
- label: t("navigation.configurations"),
+ id: "core",
+ label: t("navigation.section.core", { defaultValue: "Core" }),
+ items: [
+ {
+ to: "/",
+ icon: FileJsonIcon,
+ label: t("navigation.configurations"),
+ },
+ {
+ to: "/projects",
+ icon: FolderIcon,
+ label: t("navigation.projects"),
+ },
+ {
+ to: "/mcp",
+ icon: CpuIcon,
+ label: t("navigation.mcp"),
+ },
+ ],
},
{
- to: "/projects",
- icon: FolderIcon,
- label: t("navigation.projects"),
+ id: "automation",
+ label: t("navigation.section.automation", { defaultValue: "Automation" }),
+ items: [
+ {
+ to: "/hooks",
+ icon: CpuIcon,
+ label: t("hooks.title"),
+ },
+ {
+ to: "/commands",
+ icon: TerminalIcon,
+ label: t("navigation.commands"),
+ },
+ {
+ to: "/skills",
+ icon: SparklesIcon,
+ label: t("navigation.skills"),
+ },
+ {
+ to: "/agents",
+ icon: BotIcon,
+ label: "Agents",
+ },
+ ],
},
{
- to: "/mcp",
- icon: CpuIcon,
- label: t("navigation.mcp"),
+ id: "system",
+ label: t("navigation.section.system", { defaultValue: "System" }),
+ items: [
+ {
+ to: "/memory",
+ icon: BrainIcon,
+ label: t("navigation.memory"),
+ },
+ {
+ to: "/plugins",
+ icon: PackageIcon,
+ label: t("navigation.plugins"),
+ },
+ {
+ to: "/notification",
+ icon: BellIcon,
+ label: t("navigation.notifications"),
+ },
+ {
+ to: "/usage",
+ icon: ActivityIcon,
+ label: t("navigation.usage"),
+ },
+ {
+ to: "/settings",
+ icon: SettingsIcon,
+ label: t("navigation.settings"),
+ },
+ ],
},
- {
- to: "/hooks",
- icon: CpuIcon,
- label: t("hooks.title"),
- },
- {
- to: "/agents",
- icon: BotIcon,
- label: "Agents",
- },
- {
- to: "/memory",
- icon: BrainIcon,
- label: t("navigation.memory"),
- },
- {
- to: "/commands",
- icon: TerminalIcon,
- label: t("navigation.commands"),
- },
- {
- to: "/skills",
- icon: SparklesIcon,
- label: t("navigation.skills"),
- },
- {
- to: "/plugins",
- icon: PackageIcon,
- label: t("navigation.plugins"),
- },
- {
- to: "/notification",
- icon: BellIcon,
- label: t("navigation.notifications"),
- },
- {
- to: "/usage",
- icon: ActivityIcon,
- label: t("navigation.usage"),
- },
- {
- to: "/settings",
- icon: SettingsIcon,
- label: t("navigation.settings"),
- },
- ];
+ ] as const;
return (
@@ -113,37 +131,51 @@ export function Layout() {