File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11'use client' ;
22
33import type { User } from 'next-auth' ;
4+ import Image from 'next/image' ;
5+ import Link from 'next/link' ;
46import { useRouter } from 'next/navigation' ;
57
68import { PlusIcon } from '@/components/icons' ;
@@ -15,7 +17,7 @@ import {
1517 SidebarMenu ,
1618 useSidebar ,
1719} from '@/components/ui/sidebar' ;
18- import Link from 'next/link' ;
20+
1921import { Tooltip , TooltipContent , TooltipTrigger } from './ui/tooltip' ;
2022
2123export function AppSidebar ( { user } : { user : User | undefined } ) {
@@ -26,16 +28,16 @@ export function AppSidebar({ user }: { user: User | undefined }) {
2628 < Sidebar className = "group-data-[side=left]:border-r-0" >
2729 < SidebarHeader >
2830 < SidebarMenu >
29- < div className = "flex flex-row justify-between items-center" >
31+ < div className = "flex flex-row justify-between items-center mt-3 ml-3 " >
3032 < Link
3133 href = "/"
3234 onClick = { ( ) => {
3335 setOpenMobile ( false ) ;
3436 } }
35- className = "flex flex-row gap-3 items-center"
37+ className = "flex flex-row gap-3 items-center w-full "
3638 >
37- < span className = "text-lg font-semibold px-2 hover:bg-muted rounded-md cursor-pointer " >
38- Chatbot
39+ < span className = "p-4 rounded-md cursor-pointer relative w-1/2 h-[32px] " >
40+ < Image src = "/images/logo-full.svg" alt = "Pattern" fill />
3941 </ span >
4042 </ Link >
4143 < Tooltip >
You can’t perform that action at this time.
0 commit comments