diff --git a/src/assets/librechat.svg b/src/assets/librechat.svg new file mode 100644 index 0000000..e2d7701 --- /dev/null +++ b/src/assets/librechat.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/Header.tsx b/src/components/Header.tsx index e796798..0dd895c 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -1,7 +1,7 @@ import type * as t from '@/types'; import { useLocalize } from '@/hooks'; -export default function Header({ title, description, onSearchClick, children }: t.HeaderProps) { +export function Header({ title, onSearchClick, children }: t.HeaderProps) { const localize = useLocalize(); const isMac = typeof navigator !== 'undefined' && /Mac|iPod|iPhone|iPad/.test(navigator.userAgent); @@ -16,9 +16,6 @@ export default function Header({ title, description, onSearchClick, children }: ) : (
)} - {description && ( -

{description}

- )}
{children} diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index f138840..3d3e909 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -3,7 +3,7 @@ import { Icon, Dropdown } from '@clickhouse/click-ui'; import { Link, useRouter } from '@tanstack/react-router'; import type * as t from '@/types'; import { useStripAriaExpanded, useCapabilities, useLocalize } from '@/hooks'; -import { SidebarIcon } from '@/components/shared'; +import libreChatLogo from '@/assets/librechat.svg'; import { SettingsDialog } from './SettingsDialog'; import { SystemCapabilities } from '@/constants'; import { getInitials, cn } from '@/utils'; @@ -79,31 +79,24 @@ export function Sidebar({ user, collapsed, onToggle }: t.SidebarProps) { aria-label={localize('com_a11y_admin_panel')} className={cn( 'sticky top-0 z-(--z-floating) flex h-screen shrink-0 flex-col overflow-hidden border-r border-(--cui-color-stroke-default) bg-(--cui-color-background-panel) transition-[width] duration-200', - collapsed ? 'w-14' : 'w-46', + collapsed ? 'w-14' : 'w-63', )} > -
- +
-