feat: wire editor route, sidebar, mobile nav, and i18n

This commit is contained in:
SnapOtter
2026-05-06 23:14:30 +08:00
parent 08a2119564
commit 9eae8369bb
4 changed files with 25 additions and 2 deletions
+10 -1
View File
@@ -1,5 +1,13 @@
import type { LucideIcon } from "lucide-react";
import { FolderOpen, Grid3x3, HelpCircle, LayoutGrid, Settings, Workflow } from "lucide-react";
import {
FolderOpen,
Grid3x3,
HelpCircle,
LayoutGrid,
PenTool,
Settings,
Workflow,
} from "lucide-react";
import { Link, useLocation } from "react-router-dom";
import { cn } from "@/lib/utils";
import { OtterLogo } from "../common/otter-logo";
@@ -14,6 +22,7 @@ const topItems: SidebarItem[] = [
{ icon: LayoutGrid, label: "Tools", href: "/" },
{ icon: Grid3x3, label: "Grid", href: "/fullscreen" },
{ icon: Workflow, label: "Automate", href: "/automate" },
{ icon: PenTool, label: "Editor", href: "/editor" },
{ icon: FolderOpen, label: "Files", href: "/files" },
];