From f220ba9b06b69525d6aa7dfbd213cc28220f6c45 Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Sat, 20 Jan 2024 23:56:59 -0800 Subject: [PATCH] feat(ui): add tabby logo (#1258) * feat(ui): add tabby logo * update --- .../app/(dashboard)/components/sidebar.tsx | 20 ++++++++++++++---- ee/tabby-ui/assets/logo-dark.png | Bin 0 -> 4728 bytes ee/tabby-ui/assets/logo.png | Bin 0 -> 69300 bytes ee/tabby-ui/lib/fonts.ts | 11 +--------- ee/tabby-ui/tailwind.config.js | 1 - 5 files changed, 17 insertions(+), 15 deletions(-) create mode 100644 ee/tabby-ui/assets/logo-dark.png create mode 100644 ee/tabby-ui/assets/logo.png diff --git a/ee/tabby-ui/app/(dashboard)/components/sidebar.tsx b/ee/tabby-ui/app/(dashboard)/components/sidebar.tsx index 97ac74dfa02..f950e95a161 100644 --- a/ee/tabby-ui/app/(dashboard)/components/sidebar.tsx +++ b/ee/tabby-ui/app/(dashboard)/components/sidebar.tsx @@ -1,7 +1,10 @@ 'use client' +import Image from 'next/image' import Link from 'next/link' import { usePathname } from 'next/navigation' +import logoDarkUrl from '@/assets/logo-dark.png' +import logoUrl from '@/assets/logo.png' import { cva } from 'class-variance-authority' import { useSession } from '@/lib/tabby/auth' @@ -25,10 +28,19 @@ export default function Sidebar({ children, className }: SidebarProps) {