medium导航栏微调

This commit is contained in:
tangly1024
2022-03-16 12:20:00 +08:00
parent f5f604094e
commit 3d86afe001
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ import Link from 'next/link'
export default function LogoBar () {
return <div id='top-wrapper' className='w-full flex items-center font-sans'>
<Link href='/'>
<a className='text-2xl dark:text-gray-200'>{BLOG.TITLE}</a>
<a className='text-md md:text-xl dark:text-gray-200'>{BLOG.TITLE}</a>
</Link>
</div>
}

View File

@@ -21,7 +21,7 @@ export default function TopNavBar (props) {
if (link.show) {
const selected = (router.pathname === link.to) || (router.asPath === link.to)
return <Link key={`${link.id}-${link.to}`} title={link.to} href={link.to} >
<a className={'px-2 duration-300 text-base justify-between dark:text-gray-300 hover:underline cursor-pointer flex flex-nowrap items-center ' +
<a className={'px-2 duration-300 text-sm justify-between dark:text-gray-300 hover:underline cursor-pointer flex flex-nowrap items-center ' +
(selected ? 'bg-green-600 text-white hover:text-white' : 'hover:text-green-600')} >
<div className='items-center justify-center flex '>
<i className={link.icon} />