mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
feature:
移动端w-full
This commit is contained in:
@@ -67,12 +67,14 @@ const BaseLayout = ({
|
||||
const targetRef = useRef(null)
|
||||
const router = useRouter()
|
||||
|
||||
return (<div>
|
||||
return (<>
|
||||
|
||||
<CommonHead meta={meta} />
|
||||
|
||||
{/* 顶部导航栏 */}
|
||||
<TopNav tags={tags} post={post} posts={totalPosts} currentSearch={currentSearch} categories={categories} currentCategory={currentCategory} />
|
||||
{/* {router.asPath === '/as' && */}
|
||||
<TopNav tags={tags} post={post} posts={totalPosts} currentSearch={currentSearch} categories={categories} currentCategory={currentCategory} />
|
||||
{/* } */}
|
||||
|
||||
{/* 首页头图 */}
|
||||
{router.asPath === '/' && <Header/>}
|
||||
@@ -102,7 +104,7 @@ const BaseLayout = ({
|
||||
<JumpToTopButton targetRef={targetRef} showPercent={false} />
|
||||
<JumpToBottomButton targetRef={targetRef} showPercent={false}/>
|
||||
<FloatDarkModeButton/>
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user