From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001 From: wwf <yearningwang@iqtogether.com> Date: 星期三, 04 六月 2025 15:17:49 +0800 Subject: [PATCH] 初始化 --- app/components/app-sidebar/navLink.tsx | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/components/app-sidebar/navLink.tsx b/app/components/app-sidebar/navLink.tsx index 295b553..bec6bf1 100644 --- a/app/components/app-sidebar/navLink.tsx +++ b/app/components/app-sidebar/navLink.tsx @@ -3,13 +3,13 @@ import { useSelectedLayoutSegment } from 'next/navigation' import Link from 'next/link' import classNames from '@/utils/classnames' -import type { RemixiconComponentType } from '@remixicon/react' export type NavIcon = React.ComponentType< React.PropsWithoutRef<React.ComponentProps<'svg'>> & { title?: string | undefined titleId?: string | undefined -}> | RemixiconComponentType +} +> export type NavLinkProps = { name: string @@ -44,7 +44,7 @@ key={name} href={href} className={classNames( - isActive ? 'bg-state-accent-active text-text-accent font-semibold' : 'text-components-menu-item-text hover:bg-state-base-hover hover:text-components-menu-item-text-hover', + isActive ? 'bg-state-accent-active text-text-accent font-semibold' : 'text-components-menu-item-text hover:bg-gray-100 hover:text-components-menu-item-text-hover', 'group flex items-center h-9 rounded-md py-2 text-sm font-normal', mode === 'expand' ? 'px-3' : 'px-2.5', )} -- Gitblit v1.8.0