import { t } from '@lingui/macro'; import { ThematicPreview } from '@ts/types/taxonomies'; import Link from 'next/link'; import { useRouter } from 'next/router'; import styles from './PostMeta.module.scss'; const PostMeta = ({ commentCount, publicationDate, updateDate, thematics, }: { commentCount: number | null; publicationDate: string; updateDate: string; thematics: ThematicPreview[]; }) => { const { locale } = useRouter(); const dateOptions: Intl.DateTimeFormatOptions = { day: 'numeric', month: 'long', year: 'numeric', }; const getThematics = () => { return thematics.map((thematic) => { return (