'use client' import type { App } from '@/models/explore' import { PlusIcon } from '@heroicons/react/20/solid' import { useTranslation } from 'react-i18next' import AppIcon from '@/app/components/base/app-icon' import { AppModeEnum } from '@/types/app' import { cn } from '@/utils/classnames' import { AppTypeIcon } from '../../app/type-selector' import Button from '../../base/button' export type AppCardProps = { app: App canCreate: boolean onCreate: () => void isExplore: boolean } const AppCard = ({ app, canCreate, onCreate, isExplore, }: AppCardProps) => { const { t } = useTranslation() const { app: appBasicInfo } = app return (