适配NextJs13语法

This commit is contained in:
tangly1024
2023-01-01 19:42:37 +08:00
parent b361f7fa0c
commit 6bb5571655
110 changed files with 2494 additions and 2057 deletions

View File

@@ -8,15 +8,17 @@ import Link from 'next/link'
*/
const ContactButton = () => {
return (
<Link href='/about'>
<a className={'fixed right-10 bottom-40 animate__fadeInRight animate__animated animate__faster'}>
(<Link
href='/about'
className={'fixed right-10 bottom-40 animate__fadeInRight animate__animated animate__faster'}>
<span
className='dark:bg-black bg-white px-5 py-3 cursor-pointer shadow-card text-xl hover:bg-blue-500 transform duration-200 hover:text-white hover:shadow'>
<i className='dark:text-gray-200 fas fa-info' title='about' />
</span>
</a>
</Link>
)
</Link>)
);
}
export default ContactButton