diff --git a/.gitignore b/.gitignore index cab42e4..0ac8ac8 100644 --- a/.gitignore +++ b/.gitignore @@ -45,4 +45,5 @@ report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json src/db/data src/db/log -scratchpad/ \ No newline at end of file +scratchpad/ +tickets/ \ No newline at end of file diff --git a/web/src/App.tsx b/web/src/App.tsx index 38816d7..cd98cc2 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -4,6 +4,7 @@ import "./index.css"; import { DesignSystem } from "./pages/DesignSystem"; import { AdminQuests } from "./pages/AdminQuests"; import { AdminOverview } from "./pages/admin/Overview"; +import { AdminItems } from "./pages/admin/Items"; import { Home } from "./pages/Home"; import { Toaster } from "sonner"; @@ -28,6 +29,7 @@ export function App() { } /> } /> } /> + } /> }> diff --git a/web/src/contexts/navigation-context.tsx b/web/src/contexts/navigation-context.tsx index c26c207..bd290ad 100644 --- a/web/src/contexts/navigation-context.tsx +++ b/web/src/contexts/navigation-context.tsx @@ -1,6 +1,6 @@ import * as React from "react" import { useLocation, type Location } from "react-router-dom" -import { Home, Palette, ShieldCheck, Settings, LayoutDashboard, Trophy, SlidersHorizontal, Coins, Cog, UserCog, type LucideIcon } from "lucide-react" +import { Home, Palette, ShieldCheck, Settings, LayoutDashboard, Trophy, SlidersHorizontal, Coins, Cog, UserCog, Package, type LucideIcon } from "lucide-react" export interface NavSubItem { title: string @@ -46,6 +46,7 @@ const NAV_CONFIG: NavConfigItem[] = [ subItems: [ { title: "Overview", url: "/admin/overview", icon: LayoutDashboard }, { title: "Quests", url: "/admin/quests", icon: Trophy }, + { title: "Items", url: "/admin/items", icon: Package }, ] }, { diff --git a/web/src/pages/admin/Items.tsx b/web/src/pages/admin/Items.tsx new file mode 100644 index 0000000..71cef14 --- /dev/null +++ b/web/src/pages/admin/Items.tsx @@ -0,0 +1,20 @@ +import React from "react"; +import { SectionHeader } from "../../components/section-header"; + +export function AdminItems() { + return ( + + + + + Items management coming soon... + + + ); +} + +export default AdminItems;
Items management coming soon...