added application icon to sidebar
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 2.4 KiB |
BIN
src/assets/image/logo.png
Normal file
BIN
src/assets/image/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 576 KiB |
@@ -40,10 +40,20 @@ export function AppSidebar() {
|
|||||||
return (
|
return (
|
||||||
<Sidebar variant="floating" collapsible="icon">
|
<Sidebar variant="floating" collapsible="icon">
|
||||||
<SidebarHeader>
|
<SidebarHeader>
|
||||||
<SidebarMenuButton>
|
<SidebarMenuButton size="lg"
|
||||||
<EarthLock/>
|
className={cn(
|
||||||
<span className="font-semibold group-data-[state=collapsed]:hidden">
|
"flex h-12 items-center transition-all duration-200",
|
||||||
Clash Koala
|
"group-data-[state=expanded]:w-full group-data-[state=expanded]:gap-2 group-data-[state=expanded]:px-3",
|
||||||
|
"group-data-[state=collapsed]:w-full group-data-[state=collapsed]:justify-center"
|
||||||
|
)}
|
||||||
|
>
|
||||||
|
<img
|
||||||
|
src="./assets/image/logo.png"
|
||||||
|
alt="logo"
|
||||||
|
className="h-6 w-6 flex-shrink-0"
|
||||||
|
/>
|
||||||
|
<span className="font-semibold whitespace-nowrap group-data-[state=collapsed]:hidden">
|
||||||
|
Koala Clash
|
||||||
</span>
|
</span>
|
||||||
</SidebarMenuButton>
|
</SidebarMenuButton>
|
||||||
</SidebarHeader>
|
</SidebarHeader>
|
||||||
|
|||||||
Reference in New Issue
Block a user