import useTranslation from 'next-translate/useTranslation' import type { PortfolioItemProps } from './PortfolioItem' import { PortfolioItem } from './PortfolioItem' export const Portfolio: React.FC = () => { const { t } = useTranslation('home') const items: PortfolioItemProps[] = t( 'home:portfolio.items', {}, { returnObjects: true } ) return (
{items.map((item, index) => { return })}
) }