SEO simple

This commit is contained in:
tangly1024.com
2023-12-01 15:16:57 +08:00
parent efc40ae7e8
commit 96a72c0c3d
2 changed files with 3 additions and 6 deletions

View File

@@ -39,7 +39,7 @@ const Tabs = ({ className, children }) => {
<ul className='flex justify-center space-x-5 pb-4 dark:text-gray-400 text-gray-600 overflow-auto'>
{children.map((item, index) => {
return <li key={index}
className={(currentTab === index ? 'font-black border-b-2 border-red-400 text-red-400 animate__animated animate__jello ' : 'font-extralight cursor-pointer') + ' text-sm font-sans '}
className={(currentTab === index ? 'font-black border-b-2 border-red-500 text-red-500 animate__animated animate__jello ' : 'font-extralight cursor-pointer') + ' text-sm font-sans '}
onClick={() => {
tabClickHandle(index)
}}>

View File

@@ -10,8 +10,7 @@ export const ArticleInfo = (props) => {
const { locale } = useGlobal()
return (
<section className="flex-wrap flex mt-2 text-gray-400 dark:text-gray-400 font-light leading-8">
<div>
<section className="mt-2 text-gray-600 dark:text-gray-400 leading-8">
<h2
className="blog-item-title mb-5 font-bold text-black text-xl md:text-2xl no-underline">
{post?.title}
@@ -36,7 +35,7 @@ export const ArticleInfo = (props) => {
</Link>
</span>
<span className='mr-2'>|</span>
<span className='mx-2 text-gray-400 dark:text-gray-500'>
<span className='mx-2 dark:text-gray-500'>
{locale.COMMON.LAST_EDITED_TIME}: {post?.lastEditedDay}
</span>
<span className='mr-2'>|</span>
@@ -47,8 +46,6 @@ export const ArticleInfo = (props) => {
</span>
</>)}
</div>
</section>
)
}