mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
hexo 图片点击跳转
This commit is contained in:
@@ -45,13 +45,15 @@ const BlogPostCard = ({ index, post, showSummary, siteInfo }) => {
|
||||
{/* 图片封面 */}
|
||||
{showPageCover && (
|
||||
<div className='md:w-5/12 overflow-hidden'>
|
||||
<Link href={post?.href} passHref legacyBehavior>
|
||||
<LazyImage
|
||||
priority={index === 1}
|
||||
alt={post?.title}
|
||||
src={post?.pageCoverThumbnail}
|
||||
className='h-56 w-full object-cover object-center group-hover:scale-110 duration-500'
|
||||
/>
|
||||
<Link href={post?.href}>
|
||||
<>
|
||||
<LazyImage
|
||||
priority={index === 1}
|
||||
alt={post?.title}
|
||||
src={post?.pageCoverThumbnail}
|
||||
className='h-56 w-full object-cover object-center group-hover:scale-110 duration-500'
|
||||
/>
|
||||
</>
|
||||
</Link>
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user