mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-21 23:16:48 +00:00
@@ -1,6 +1,6 @@
|
||||
/* eslint-disable @next/next/no-img-element */
|
||||
import { siteConfig } from '@/lib/config'
|
||||
import Link from 'next/link'
|
||||
import SmartLink from '@/components/SmartLink'
|
||||
|
||||
/**
|
||||
* 博文列表
|
||||
@@ -41,13 +41,13 @@ export const Blog = ({ posts }) => {
|
||||
data-wow-delay='.1s'>
|
||||
<div className='mb-8 overflow-hidden rounded-[5px]'>
|
||||
{item.pageCoverThumbnail && (
|
||||
<Link href={item?.href} className='block'>
|
||||
<SmartLink href={item?.href} className='block'>
|
||||
<img
|
||||
src={item.pageCoverThumbnail}
|
||||
alt={item.title}
|
||||
className='w-full transition group-hover:rotate-6 group-hover:scale-125'
|
||||
/>
|
||||
</Link>
|
||||
</SmartLink>
|
||||
)}
|
||||
</div>
|
||||
<div>
|
||||
@@ -55,11 +55,11 @@ export const Blog = ({ posts }) => {
|
||||
{item.publishDay}
|
||||
</span>
|
||||
<h3>
|
||||
<Link
|
||||
<SmartLink
|
||||
href={item?.href}
|
||||
className='mb-4 inline-block text-xl font-semibold text-dark hover:text-primary dark:text-white dark:hover:text-primary sm:text-2xl lg:text-xl xl:text-2xl'>
|
||||
{item.title}
|
||||
</Link>
|
||||
</SmartLink>
|
||||
</h3>
|
||||
<p className='max-w-[370px] text-base text-body-color dark:text-dark-6'>
|
||||
{item.summary}
|
||||
|
||||
Reference in New Issue
Block a user