mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-07 23:16:52 +00:00
降级notion-client兼容medium-zoom,标签颜色,封装抽屉,调整抽屉目录,封装搜索框,封装菜单
This commit is contained in:
@@ -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'>
|
||||
|
||||
Reference in New Issue
Block a user