import { ButtonLink } from '@components/Buttons'; import { TopicPreview } from '@ts/types/taxonomies'; import Image from 'next/image'; import { useIntl } from 'react-intl'; import styles from './PostFooter.module.scss'; const PostFooter = ({ topics }: { topics: TopicPreview[] }) => { const intl = useIntl(); const getTopics = () => { return topics.map((topic) => { return (
  • {topic.featuredImage && ( {topic.featuredImage.altText} )} {topic.title}
  • ); }); }; return ( ); }; export default PostFooter;