simple主题 广告位优化

This commit is contained in:
tangly1024
2023-06-20 15:56:53 +08:00
parent 5c8a7b607b
commit eda51e4479
8 changed files with 43 additions and 38 deletions

View File

@@ -6,12 +6,12 @@ import TwikooCommentCount from '@/components/TwikooCommentCount'
export const BlogItem = props => {
const { post } = props
return <div key={post.id} className="mb-10 pb-12 border-b dark:border-gray-800" >
return <div key={post.id} className="h-42 my-6 pb-12 border-b dark:border-gray-800" >
{/* 文章标题 */}
<h2 className="mb-2">
<Link
href={`/${post.slug}`}
href={`${post.slug}`}
className="blog-item-title font-bold text-black text-2xl no-underline hover:underline">
{post.title}
</Link>
@@ -42,7 +42,7 @@ export const BlogItem = props => {
</div>
<div className='block'>
<Link href={`/${post.slug}`} className='inline-block rounded-sm text-blue-600 text-xs dark:border-gray-800 border hover:text-red-400 transition-all duration-200 hover:border-red-300 h-9 leading-8 px-5'>
<Link href={`${post.slug}`} className='inline-block rounded-sm text-blue-600 text-xs dark:border-gray-800 border hover:text-red-400 transition-all duration-200 hover:border-red-300 h-9 leading-8 px-5'>
Continue Reading <i className="fa-solid fa-angle-right align-middle"></i>
</Link>
</div>