Support Next.js template & template hub (#241)

This commit is contained in:
Will Chen
2025-05-27 00:16:30 -07:00
committed by GitHub
parent 8cfd476ea9
commit a915d892f7
8 changed files with 361 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
import { Home, Inbox, Settings, HelpCircle } from "lucide-react";
import { Home, Inbox, Settings, HelpCircle, Store } from "lucide-react";
import { Link, useRouterState } from "@tanstack/react-router";
import { useSidebar } from "@/components/ui/sidebar"; // import useSidebar hook
import { useEffect, useState, useRef } from "react";
@@ -38,6 +38,11 @@ const items = [
to: "/settings",
icon: Settings,
},
{
title: "Hub",
to: "/hub",
icon: Store,
},
];
// Hover state types