{items.map((item, index) => {
const postUrl = item.uri || `/blog/${item.databaseId}`;
const postDate = new Date(item.date);
const coauthors = item.coauthors || [];
const coauthorsNames = getCoauthorsNames(coauthors);
// ✅ ИСПРАВЛЕННАЯ логика
const isLarge = shouldBeLarge(index);
const largePosition = isLarge ? 'first' : '';
return (
{item.featuredImage?.node?.sourceUrl ? (

) : (
)}
{item.title}
{coauthorsNames && (
{coauthorsNames}
)}
);
})}