'use client' import cn from 'classnames' import { useTranslation } from 'react-i18next' import { PlusIcon } from '@heroicons/react/20/solid' import Button from '../../base/button' import s from './style.module.css' import type { App } from '@/models/explore' import AppModeLabel from '@/app/(commonLayout)/apps/AppModeLabel' import AppIcon from '@/app/components/base/app-icon' const CustomizeBtn = ( ) export type AppCardProps = { app: App canCreate: boolean onCreate: () => void onAddToWorkspace: (appId: string) => void } const AppCard = ({ app, canCreate, onCreate, onAddToWorkspace, }: AppCardProps) => { const { t } = useTranslation() const { app: appBasicInfo } = app return (