降级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

@@ -15,7 +15,7 @@ import ShareButton from '@/components/ShareButton'
import JumpToTop from '@/components/JumpToTop'
import CommonHead from '@/components/CommonHead'
import TopNav from '@/components/TopNav'
import SideBarResponsive from '@/components/SideBarResponsive'
import SideBar from '@/components/SideBar'
const mapPageUrl = id => {
return 'https://www.notion.so/' + id.replace(/-/g, '')
@@ -55,7 +55,7 @@ const ArticleLayout = ({
{/* Wrapper */}
<div className='flex justify-between bg-gray-100 dark:bg-black'>
<SideBarResponsive tags={tags} post={frontMatter} />
<SideBar tags={tags} post={frontMatter} />
{/* 主体区块 */}
<main className='bg-gray-100 dark:bg-black w-full'>