diff --git a/artifacts/toolrate/src/components/layout.tsx b/artifacts/toolrate/src/components/layout.tsx index acd96ac..5d5eba4 100644 --- a/artifacts/toolrate/src/components/layout.tsx +++ b/artifacts/toolrate/src/components/layout.tsx @@ -1,5 +1,5 @@ import { Link, useLocation } from "wouter"; -import { LayoutDashboard, Wrench, PlusCircle, BarChart3, LogIn, LogOut, ShieldCheck, AlertTriangle, Trash2, Bookmark, Search } from "lucide-react"; +import { LayoutDashboard, Wrench, BarChart3, LogIn, LogOut, ShieldCheck, AlertTriangle, Bookmark, Search } from "lucide-react"; import { useTranslation } from "react-i18next"; import { useAuth } from "@/hooks/use-auth"; import { useGetVersion, getGetVersionQueryKey } from "@workspace/api-client-react"; @@ -38,10 +38,8 @@ export function Layout({ children }: { children: React.ReactNode }) { const mainLinks = [ { href: "/", label: t("nav.home"), icon: LayoutDashboard }, { href: "/tools", label: t("nav.browseTools"), icon: Wrench }, - { href: "/tools/new", label: t("nav.addTool"), icon: PlusCircle }, { href: "/analytics", label: t("nav.analytics"), icon: BarChart3 }, ...(hasFeature("watchlist") ? [{ href: "/watchlist", label: t("nav.watchlist"), icon: Bookmark }] : []), - ...(hasFeature("trash") ? [{ href: "/trash", label: t("nav.trash"), icon: Trash2 }] : []), ]; const adminLinks = [ diff --git a/artifacts/toolrate/src/components/user-menu.tsx b/artifacts/toolrate/src/components/user-menu.tsx index 3ed4841..cc25396 100644 --- a/artifacts/toolrate/src/components/user-menu.tsx +++ b/artifacts/toolrate/src/components/user-menu.tsx @@ -39,9 +39,9 @@ export function UserMenu() { if (isLoading) { return ( -
+
- +
); } @@ -51,12 +51,12 @@ export function UserMenu() { ); } @@ -72,7 +72,7 @@ export function UserMenu() {
{/* Stats Banner */} diff --git a/artifacts/toolrate/src/pages/tools-browse.tsx b/artifacts/toolrate/src/pages/tools-browse.tsx index e8ad21a..ab3fde5 100644 --- a/artifacts/toolrate/src/pages/tools-browse.tsx +++ b/artifacts/toolrate/src/pages/tools-browse.tsx @@ -25,7 +25,7 @@ import { Button } from "@/components/ui/button"; import { Badge } from "@/components/ui/badge"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"; import { Skeleton } from "@/components/ui/skeleton"; -import { Search, Wrench, X, ArrowUp, ArrowDown, ArrowUpDown, SlidersHorizontal } from "lucide-react"; +import { Search, Wrench, X, ArrowUp, ArrowDown, ArrowUpDown, SlidersHorizontal, Plus } from "lucide-react"; import { Link, useLocation, useSearch } from "wouter"; import { cn } from "@/lib/utils"; @@ -234,7 +234,10 @@ export default function ToolsBrowse() {

{t("browse.subtitle")}