import { Card, Button, Avatar } from "flowbite-react"; import { unixToDate } from "#/api/utils"; import Link from "next/link"; export const CollectionInfoBasics = (props: { image: string; title: string; description: string; authorAvatar: string; authorLogin: string; authorId: number; creationDate: number; updateDate: number; }) => { return (

создана: {unixToDate(props.creationDate, "full")}

обновлена: {unixToDate(props.updateDate, "full")}

{props.authorLogin}
Автор

{props.title}

{props.description}

); };