refactor: update icons and improve sidebar styling for enhanced user experience

This commit is contained in:
Anish Sarkar 2026-05-15 00:25:58 +05:30
parent c180417329
commit 3846056bc7
6 changed files with 32 additions and 14 deletions

View file

@ -1,6 +1,6 @@
"use client";
import { Inbox, SquareLibrary } from "lucide-react";
import { Inbox, LibraryBig } from "lucide-react";
import { useRouter } from "next/navigation";
import type { ReactNode } from "react";
import { Fragment, useCallback, useEffect, useMemo, useState } from "react";
@ -69,7 +69,7 @@ export function FreeLayoutDataProvider({ children }: FreeLayoutDataProviderProps
? {
title: "Documents",
url: "#documents",
icon: SquareLibrary,
icon: LibraryBig,
isActive: false,
}
: null,

View file

@ -2,7 +2,7 @@
import { useQuery, useQueryClient } from "@tanstack/react-query";
import { useAtom, useAtomValue, useSetAtom } from "jotai";
import { AlertTriangle, Inbox, SquareLibrary } from "lucide-react";
import { AlertTriangle, Inbox, LibraryBig } from "lucide-react";
import { useParams, usePathname, useRouter } from "next/navigation";
import { useTranslations } from "next-intl";
import { useTheme } from "next-themes";
@ -361,7 +361,7 @@ export function LayoutDataProvider({ searchSpaceId, children }: LayoutDataProvid
? {
title: "Documents",
url: "#documents",
icon: SquareLibrary,
icon: LibraryBig,
isActive: isDocumentsSidebarOpen,
}
: null,