mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-21 23:16:48 +00:00
feature:
SEO优化
This commit is contained in:
@@ -5,21 +5,18 @@ import Router from 'next/router'
|
||||
|
||||
const InfoCard = () => {
|
||||
return <>
|
||||
<div className='flex justify-center text-center'>
|
||||
<div className='pb-6 mx-auto leading-8'>
|
||||
<div className='hover:rotate-45 hover:scale-125 transform duration-200 cursor-pointer' onClick={ () => { Router.push('/') }}>
|
||||
<div className='flex text-center pb-3 pl-4 cursor-pointer'>
|
||||
<div className='hover:rotate-45 hover:scale-125 transform duration-200' onClick={ () => { Router.push('/') }}>
|
||||
<Image
|
||||
alt={BLOG.author}
|
||||
width={100}
|
||||
height={100}
|
||||
alt={BLOG.title}
|
||||
width={60}
|
||||
height={60}
|
||||
loading='lazy'
|
||||
src='/avatar.svg'
|
||||
className='rounded-full border-black'
|
||||
/>
|
||||
</div>
|
||||
<h1 className='text-2xl dark:text-white py-2'>{BLOG.author}</h1>
|
||||
<h2 className='text-sm text-gray-500 dark:text-gray-400'>{BLOG.description}</h2>
|
||||
</div>
|
||||
<div className='text-3xl dark:text-white ml-5 py-3 hover:scale-105 transform duration-200'>{BLOG.title}</div>
|
||||
</div>
|
||||
</>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user