fix: replace shadboard.svg with Cannabis leaf icon from lucide-react
Uses the same Cannabis icon as the login page for consistent branding. Removed unused next/image imports.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
"use client"
|
"use client"
|
||||||
|
|
||||||
import Image from "next/image"
|
|
||||||
import Link from "next/link"
|
import Link from "next/link"
|
||||||
|
import { Cannabis } from "lucide-react"
|
||||||
|
|
||||||
import { FullscreenToggle } from "@/components/layout/full-screen-toggle"
|
import { FullscreenToggle } from "@/components/layout/full-screen-toggle"
|
||||||
import { ModeDropdown } from "@/components/layout/mode-dropdown"
|
import { ModeDropdown } from "@/components/layout/mode-dropdown"
|
||||||
@@ -13,13 +13,7 @@ export function BottomBarHeader() {
|
|||||||
<div className="container flex h-14 justify-between items-center gap-4">
|
<div className="container flex h-14 justify-between items-center gap-4">
|
||||||
<ToggleMobileSidebar />
|
<ToggleMobileSidebar />
|
||||||
<Link href="/" className="hidden text-foreground font-black lg:flex">
|
<Link href="/" className="hidden text-foreground font-black lg:flex">
|
||||||
<Image
|
<Cannabis className="h-6 w-6 text-primary" />
|
||||||
src="/images/icons/shadboard.svg"
|
|
||||||
alt=""
|
|
||||||
height={24}
|
|
||||||
width={24}
|
|
||||||
className="dark:invert"
|
|
||||||
/>
|
|
||||||
<span>CannaManage</span>
|
<span>CannaManage</span>
|
||||||
</Link>
|
</Link>
|
||||||
<div className="flex gap-2">
|
<div className="flex gap-2">
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
"use client"
|
"use client"
|
||||||
|
|
||||||
import Image from "next/image"
|
|
||||||
import Link from "next/link"
|
import Link from "next/link"
|
||||||
import { usePathname } from "next/navigation"
|
import { usePathname } from "next/navigation"
|
||||||
import { ChevronDown } from "lucide-react"
|
import { Cannabis, ChevronDown } from "lucide-react"
|
||||||
|
|
||||||
import type { NavigationNestedItem, NavigationRootItem } from "@/types"
|
import type { NavigationNestedItem, NavigationRootItem } from "@/types"
|
||||||
|
|
||||||
@@ -109,13 +108,7 @@ export function Sidebar() {
|
|||||||
className="w-fit flex text-foreground font-black p-2 pb-0 mb-2"
|
className="w-fit flex text-foreground font-black p-2 pb-0 mb-2"
|
||||||
onClick={() => isMobile && setOpenMobile(!openMobile)}
|
onClick={() => isMobile && setOpenMobile(!openMobile)}
|
||||||
>
|
>
|
||||||
<Image
|
<Cannabis className="h-6 w-6 text-primary" />
|
||||||
src="/images/icons/shadboard.svg"
|
|
||||||
alt=""
|
|
||||||
height={24}
|
|
||||||
width={24}
|
|
||||||
className="dark:invert"
|
|
||||||
/>
|
|
||||||
<span>CannaManage</span>
|
<span>CannaManage</span>
|
||||||
</Link>
|
</Link>
|
||||||
<CommandMenu buttonClassName="max-w-full" />
|
<CommandMenu buttonClassName="max-w-full" />
|
||||||
|
|||||||
Reference in New Issue
Block a user