mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-05 23:16:52 +00:00
fix gitbook build
This commit is contained in:
@@ -71,10 +71,10 @@ const LayoutBase = (props) => {
|
||||
{slotLeft}
|
||||
<SearchInput className='my-3 rounded-md' />
|
||||
{/* 所有文章列表 */}
|
||||
<NavPostList />
|
||||
<NavPostList filteredPosts={filteredPosts} />
|
||||
|
||||
<div className='mt-2'>
|
||||
<Footer {...props} />
|
||||
<Footer {...props}/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -84,6 +84,7 @@ const LayoutBase = (props) => {
|
||||
<div id='container-inner' className='w-full px-7 max-w-3xl justify-center mx-auto'>
|
||||
{slotTop}
|
||||
<AdSlot type='in-article' />
|
||||
|
||||
<Transition
|
||||
show={!onLoading}
|
||||
appear={true}
|
||||
@@ -142,7 +143,7 @@ const LayoutBase = (props) => {
|
||||
</div>}
|
||||
|
||||
{/* 移动端导航抽屉 */}
|
||||
<PageNavDrawer {...props} />
|
||||
<PageNavDrawer {...props} filteredPosts={filteredPosts} />
|
||||
|
||||
{/* 移动端底部导航栏 */}
|
||||
{/* <BottomMenuBar {...props} className='block md:hidden' /> */}
|
||||
@@ -177,7 +178,7 @@ const LayoutIndex = (props) => {
|
||||
})
|
||||
}, [])
|
||||
|
||||
return <LayoutBase {...props}></LayoutBase>
|
||||
return <LayoutBase {...props}/>
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -187,7 +188,7 @@ const LayoutIndex = (props) => {
|
||||
* @returns
|
||||
*/
|
||||
const LayoutPostList = (props) => {
|
||||
return <LayoutBase {...props}></LayoutBase>
|
||||
return <LayoutBase {...props}/>
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user