微调组件,首页和博客页分离

This commit is contained in:
tangly1024
2021-10-14 09:42:00 +08:00
parent 811c2522ba
commit 408c358da7
9 changed files with 145 additions and 25 deletions

View File

@@ -14,7 +14,7 @@ const TopNav = ({ tags, currentTag, post }) => {
<Drawer post={post} currentTag={currentTag} cRef={drawer} />
<div id='sticky-nav'
className='transform xl:mt-0 duration-500 bg-white dark:bg-gray-800 border-b dark:border-gray-700'>
className='transform 2xl:mt-0 duration-500 bg-white dark:bg-gray-800 border-b dark:border-gray-700'>
{/* 导航栏 */}
<div
className=' text-sm m-auto w-full flex flex-row justify-between items-center px-4 py-2 shadow-md '