Files
deckyvault/apps/web/lib/routes.ts
T
adrianbonpin 4958220c55 feat: add /plugin docs page + TDP peripheral overhead
Plugin docs page (/plugin):
- Hero, feature grid, numbered install guide, screenshot gallery, install CTA
- Navbar 'Plugin' link added
- Screenshot slots with placeholders for 6 captures (flip HAS_SCREENSHOT
  once PNGs are dropped into /public/plugin/)
- Structured data (SoftwareApplication) + breadcrumbs

TDP fix:
- Add 3W fixed overhead to CPU+GPU power for screen/fan/speakers/peripherals
  so reported TDP is closer to total system power draw
2026-06-28 22:49:13 +08:00

66 lines
1.1 KiB
TypeScript

export const routes = [
{
title: "Home",
href: "/",
},
{
title: "Search",
href: "/search",
},
{
title: "Games",
href: "/games",
},
{
title: "Compare",
href: "/compare",
},
{
title: "Devices",
href: "/devices",
},
{
title: "Plugin",
href: "/plugin",
},
{
title: "Contact",
href: "/contact",
},
// TODO: Add back when about page is implemented
// {
// title: "About",
// href: "/about",
// }
]
export const authRoutes = [
{
title: "Profile",
href: "/profile",
icon: "User",
},
{
title: "Saved Games",
href: "/profile?tab=saved",
icon: "Bookmark",
},
]
export const adminRoutes = [
{
title: "Users",
href: "/admin/users",
icon: "Users",
},
{
title: "Hardware",
href: "/admin/hardware",
icon: "Cpu",
},
{
title: "Games",
href: "/admin/games",
icon: "Gamepad2",
},
]