fix: do some fix

This commit is contained in:
2025-03-09 01:22:30 +08:00
parent f94e175082
commit 07ac7e3376
29 changed files with 422 additions and 628 deletions

View File

@@ -1,4 +1,4 @@
import { Image } from '@kobalte/core/image';
import {Image} from '@kobalte/core/image';
import {
SidebarMenu,
SidebarMenuButton,
@@ -13,13 +13,14 @@ export function AppIcon() {
size="lg"
class="data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground"
>
<div class="flex aspect-square size-8 items-center justify-center rounded-lg bg-sidebar-primary text-sidebar-primary-foreground">
<div
class="flex aspect-square size-8 items-center justify-center rounded-lg bg-sidebar-primary text-sidebar-primary-foreground">
<Image fallbackDelay={1000}>
<Image.Img
src="/assets/favicon.png"
class="size-8 object-cover"
/>
<Image.Fallback>KONOBANGU</Image.Fallback>
<Image.Fallback>KO</Image.Fallback>
</Image>
</div>
<div class="grid flex-1 gap-1 py-1 text-left text-sm leading-tight">