降级notion-client兼容medium-zoom,标签颜色,封装抽屉,调整抽屉目录,封装搜索框,封装菜单

This commit is contained in:
tangly1024
2021-10-12 16:19:56 +08:00
parent f0c6fff698
commit 5493104d92
16 changed files with 197 additions and 216 deletions

View File

@@ -7,7 +7,7 @@ import { useTheme } from '@/lib/theme'
import CommonHead from '@/components/CommonHead'
import TopNav from '@/components/TopNav'
import Tags from '@/components/Tags'
import SideBarResponsive from '@/components/SideBarResponsive'
import SideBar from '@/components/SideBar'
import Footer from '@/components/Footer'
const DefaultLayout = ({ tags, posts, page, currentTag, ...customMeta }) => {
@@ -56,7 +56,7 @@ const DefaultLayout = ({ tags, posts, page, currentTag, ...customMeta }) => {
<div className={`${BLOG.font} flex justify-between bg-gray-100 dark:bg-black min-h-screen`}>
{/* 侧边菜单 */}
<SideBarResponsive />
<SideBar />
<div className='flex-grow'>
<div className='fixed top-12 z-10 w-full border-b dark:border-gray-600'>