From 1d53b39e9bea4ef5fd222350fd4e242bb3fc513f Mon Sep 17 00:00:00 2001 From: Mohammad Kermani Date: Thu, 27 Mar 2025 08:51:14 +0000 Subject: [PATCH 1/3] feat: add Pattern logo --- components/app-sidebar.tsx | 13 ++++++++++--- public/images/logo-full.svg | 12 ++++++++++++ 2 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 public/images/logo-full.svg diff --git a/components/app-sidebar.tsx b/components/app-sidebar.tsx index 5b08bb5..b192723 100644 --- a/components/app-sidebar.tsx +++ b/components/app-sidebar.tsx @@ -1,6 +1,8 @@ 'use client'; import type { User } from 'next-auth'; +import Image from 'next/image'; +import Link from 'next/link'; import { useRouter } from 'next/navigation'; import { PlusIcon } from '@/components/icons'; @@ -15,7 +17,7 @@ import { SidebarMenu, useSidebar, } from '@/components/ui/sidebar'; -import Link from 'next/link'; + import { Tooltip, TooltipContent, TooltipTrigger } from './ui/tooltip'; export function AppSidebar({ user }: { user: User | undefined }) { @@ -34,8 +36,13 @@ export function AppSidebar({ user }: { user: User | undefined }) { }} className="flex flex-row gap-3 items-center" > - - Chatbot + + Pattern diff --git a/public/images/logo-full.svg b/public/images/logo-full.svg new file mode 100644 index 0000000..f30bee6 --- /dev/null +++ b/public/images/logo-full.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + From bc9abf6eaf4d25fd38a36e7d8c4cf84b6b896fb3 Mon Sep 17 00:00:00 2001 From: Mohammad Kermani Date: Sun, 30 Mar 2025 18:18:33 +0000 Subject: [PATCH 2/3] chore: use white color for full logo --- public/images/logo-full.svg | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/public/images/logo-full.svg b/public/images/logo-full.svg index f30bee6..d667c2c 100644 --- a/public/images/logo-full.svg +++ b/public/images/logo-full.svg @@ -1,12 +1,12 @@ - - - - - - - - - - + + + + + + + + + + From 0c3eb5432580f02da0f36b1973feb6a13c053d44 Mon Sep 17 00:00:00 2001 From: Mohammad Kermani Date: Sun, 30 Mar 2025 18:18:49 +0000 Subject: [PATCH 3/3] chore: improve logo style --- components/app-sidebar.tsx | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/components/app-sidebar.tsx b/components/app-sidebar.tsx index b192723..1ae7485 100644 --- a/components/app-sidebar.tsx +++ b/components/app-sidebar.tsx @@ -28,21 +28,16 @@ export function AppSidebar({ user }: { user: User | undefined }) { -
+
{ setOpenMobile(false); }} - className="flex flex-row gap-3 items-center" + className="flex flex-row gap-3 items-center w-full" > - - Pattern + + Pattern