heo , seo + google ads

This commit is contained in:
tangly1024.com
2023-07-20 19:16:52 +08:00
parent 58c6e95434
commit b98af6a924
6 changed files with 29 additions and 21 deletions

View File

@@ -1,7 +1,9 @@
import { useGlobal } from '@/lib/global'
import Link from 'next/link'
export default function SearchButton() {
return <Link href="/search" className='cursor-pointer hover:bg-black hover:bg-opacity-10 rounded-full w-10 h-10 flex justify-center items-center duration-200 transition-all'>
<i className="fa-solid fa-magnifying-glass"></i>
const { locale } = useGlobal()
return <Link href="/search" title={locale.NAV.SEARCH} alt={locale.NAV.SEARCH} className='cursor-pointer hover:bg-black hover:bg-opacity-10 rounded-full w-10 h-10 flex justify-center items-center duration-200 transition-all'>
<i title={locale.NAV.SEARCH} className="fa-solid fa-magnifying-glass"/>
</Link>
}