更新Logo

This commit is contained in:
tangly1024
2021-10-28 16:50:25 +08:00
parent 511be00679
commit 7bb7ba136d
5 changed files with 13 additions and 19 deletions

View File

@@ -5,6 +5,7 @@ import DarkModeButton from '@/components/DarkModeButton'
import SearchInput from '@/components/SearchInput'
import Drawer from '@/components/Drawer'
import DrawerRight from '@/components/DrawerRight'
import Logo from '@/components/Logo'
const TopNav = ({ tags, currentTag, post }) => {
const drawer = useRef()
@@ -25,12 +26,7 @@ const TopNav = ({ tags, currentTag, post }) => {
<i className='fa hover:scale-125 transform duration-200 fa-bars '
/>
</div>
<Link href='/'>
<a
className='flex text-xl py-1 px-3 justify-center align-middle my-auto font-bold font-semibold hover:bg-gray-800 hover:text-white duration-200
dark:text-gray-300
'>{BLOG.title}</a>
</Link>
<Logo/>
</div>
{/* 中间搜索框 */}