feat(web): 用户工作台 - 产品化壳层、内容库布局与积分入口
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -4,7 +4,7 @@ import { cn } from "@/lib/utils";
|
||||
|
||||
/** 资产库卡片的共同外壳;页面只负责业务动作和卡片内的信息层级。 */
|
||||
export function AssetLibraryCard({ children, className, selected = false }: { children: ReactNode; className?: string; selected?: boolean }) {
|
||||
return <article className={cn("library-card library-card-surface asset-library-card group", selected && "is-selected", className)}>{children}</article>;
|
||||
return <article className={cn("product-collection-card library-card library-card-surface asset-library-card group", selected && "is-selected", className)}>{children}</article>;
|
||||
}
|
||||
|
||||
export function AssetLibraryCardMedia({ children, className }: { children: ReactNode; className?: string }) {
|
||||
|
||||
Reference in New Issue
Block a user