import { FC } from 'react'; import { Avatar, Box, Button, Grid } from '@mui/material'; import { Locale } from '../../core/locale'; import { Card } from '../Card'; import Link from 'next/link'; type AuthorCardProps = { avatarUrl?: string; authorName?: string; moreInfoLabel?: string; contactLabel?: string; description?: string; locale?: Locale; }; export const AuthorCard: FC = ({ avatarUrl, authorName, moreInfoLabel, contactLabel, description, locale, }) => (

{authorName ?? 'Jan Barášek'}    

{description &&

} {locale === Locale.Cs && ( )} );