import { RAGFlowAvatar } from '@/components/ragflow-avatar'; import { Card, CardContent } from '@/components/ui/card'; import { formatDate } from '@/utils/date'; import { t } from 'i18next'; import { ChevronRight } from 'lucide-react'; type ApplicationCardProps = { app: { avatar?: string; title: string; update_time: number; }; onClick?(): void; moreDropdown: React.ReactNode; }; export function ApplicationCard({ app, onClick, moreDropdown, }: ApplicationCardProps) { return ( {app.title} {formatDate(app.update_time)} {moreDropdown} ); } export type SeeAllAppCardProps = { click(): void; }; export function SeeAllAppCard({ click }: SeeAllAppCardProps) { return ( {t('common.seeAll')} ); }
{formatDate(app.update_time)}