修改 ICON 和部門資料

This commit is contained in:
2025-09-19 08:29:51 +08:00
parent 08a1f1b248
commit 753e32ada2
14 changed files with 596 additions and 32 deletions

View File

@@ -44,6 +44,11 @@ import {
Database,
Palette,
Volume2,
Camera,
Smartphone,
Monitor,
Globe,
FileText,
} from "lucide-react"
import { FavoriteButton } from "./favorite-button"
import { ReviewSystem } from "./reviews/review-system"
@@ -150,9 +155,14 @@ export function AppDetailDialog({ open, onOpenChange, app }: AppDetailDialogProp
'ChevronLeft': ChevronLeft,
'ChevronRight': ChevronRight,
'ArrowLeft': ArrowLeft,
'Settings': Settings
'Settings': Settings,
'Camera': Camera,
'Smartphone': Smartphone,
'Monitor': Monitor,
'Globe': Globe,
'FileText': FileText,
}
return iconMap[iconName] || Brain // 預設使用 Brain 圖標
return iconMap[iconName] || Bot // 預設使用 Bot 圖標
}
const IconComponent = getIconComponent(app.icon || 'Bot')