diff --git a/.gitignore b/.gitignore index e86d565..e3e3ee2 100644 --- a/.gitignore +++ b/.gitignore @@ -87,4 +87,6 @@ test_video.mp4 # old cli directories /tooling/cli.js /tooling/cli.rs -dist/ \ No newline at end of file +dist/ + +.next \ No newline at end of file diff --git a/src/assets/logo.tsx b/src/assets/logo.tsx index c836e1f..6a1cdec 100644 --- a/src/assets/logo.tsx +++ b/src/assets/logo.tsx @@ -1,3 +1,20 @@ -export default function Logo() { - return
; +export default function Logo({ className }: { className?: string }) { + return ( +
+ + + + + +
+ ); } diff --git a/src/components/Menu/Menu.tsx b/src/components/Menu/Menu.tsx index cdabdc2..699b972 100644 --- a/src/components/Menu/Menu.tsx +++ b/src/components/Menu/Menu.tsx @@ -1,6 +1,6 @@ 'use client'; -import { Maximize, Sailboat, X } from 'lucide-react'; +import { Maximize, X } from 'lucide-react'; import { useCallback } from 'react'; import { Button } from '@/components/ui/button'; @@ -13,6 +13,7 @@ import { MenubarTrigger, } from '@/components/ui/menubar'; +import Logo from '@/assets/logo'; import { ModeToggle } from '../ModeToggle'; import { Icons } from '../icons'; import { UserNav } from './UserMenu'; @@ -46,7 +47,7 @@ export function Menu() { {/* App Logo */}
- +
diff --git a/src/components/SearchInput.tsx b/src/components/SearchInput.tsx index fde8740..07c531d 100644 --- a/src/components/SearchInput.tsx +++ b/src/components/SearchInput.tsx @@ -2,7 +2,7 @@ import { Search } from 'lucide-react'; import { memo, type FC } from 'react'; import { DEFAULT_ICON_COLOR } from '@/lib/constants'; -import { InputProps } from '@/lib/localTypes'; +import { type InputProps } from '@/lib/localTypes'; import Input from './ui/input'; diff --git a/src/components/global/Sidebar.tsx b/src/components/global/Sidebar.tsx index ec0eb8f..48ddf7e 100644 --- a/src/components/global/Sidebar.tsx +++ b/src/components/global/Sidebar.tsx @@ -6,7 +6,7 @@ import { cn } from '@/lib/utils'; import { ChevronLeft, Lock, Server, Tags } from 'lucide-react'; import Link from 'next/link'; -import { usePathname, useRouter } from 'next/navigation'; +import { usePathname } from 'next/navigation'; import { useState } from 'react'; type SidebarProps = React.HTMLAttributes; @@ -28,13 +28,10 @@ const tabs = [ }, ]; -export function Sidebar({ className }: SidebarProps) { +export function Sidebar({}: SidebarProps) { const path = usePathname(); - const router = useRouter(); const [isCollapsed, setIsCollapsed] = useState(false); - console.log(path); - return (