diff --git a/themes/commerce/components/BlogPostCard.js b/themes/commerce/components/BlogPostCard.js deleted file mode 100644 index f1febbdd..00000000 --- a/themes/commerce/components/BlogPostCard.js +++ /dev/null @@ -1,49 +0,0 @@ -import Link from 'next/link' -import React from 'react' -import CONFIG from '../config' -import { BlogPostCardInfo } from './BlogPostCardInfo' -import BLOG from '@/blog.config' -import LazyImage from '@/components/LazyImage' -// import Image from 'next/image' - -const BlogPostCard = ({ index, post, showSummary, siteInfo }) => { - const showPreview = CONFIG.POST_LIST_PREVIEW && post.blockMap - if (post && !post.pageCoverThumbnail && CONFIG.POST_LIST_COVER_DEFAULT) { - post.pageCoverThumbnail = siteInfo?.pageCover - } - const showPageCover = CONFIG.POST_LIST_COVER && post?.pageCoverThumbnail && !showPreview - // const delay = (index % 2) * 200 - - return ( - -