mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 15:09:22 +00:00
feature:
头图、赞赏码图处理
This commit is contained in:
@@ -24,8 +24,8 @@ const RewardButton = () => {
|
||||
</div>
|
||||
|
||||
<div id='reward-qrcode' className='hidden flex space-x-10 animate__animated animate__fadeIn duration-200 my-5 px-5 mx-auto py-6 justify-center bg-white dark:bg-black dark:text-gray-200'>
|
||||
<img className='md:w-72' src='/reward_code_alipay.png' />
|
||||
<img className='md:w-72' src='/reward_code_wechat.png' />
|
||||
<img className='md:w-72' src='/reward_code_alipay.png' />
|
||||
<img className='md:w-72' src='/reward_code_wechat.png' />
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
||||
@@ -52,7 +52,8 @@ const ArticleDetail = ({ post, blockMap, tags, prev, next, posts, categories })
|
||||
{post.type && !post.type.includes('Page') && (<>
|
||||
{/* 封面图 */}
|
||||
{post.page_cover && post.page_cover.length > 1 && (
|
||||
<img className='bg-center object-cover w-full hover:shadow-2xl hover:scale-105 transform duration-200 mx-auto max-w-5xl mb-2 md:flex-shrink-0 animate__fadeIn animate__animated' style={{ maxHeight: '40rem' }} loading='lazy'
|
||||
<img className='bg-center object-cover w-full hover:shadow-2xl hover:scale-105 transform duration-200 mx-auto max-w-5xl mb-2 md:flex-shrink-0 animate__fadeIn animate__animated'
|
||||
style={{ maxHeight: '40rem' }}
|
||||
src={post.page_cover} alt={post.title} />
|
||||
)}
|
||||
</>)}
|
||||
|
||||
Reference in New Issue
Block a user