开发环境添加中转页

This commit is contained in:
tangly1024
2021-10-18 13:54:45 +08:00
parent b0ddc567ed
commit cc289bb545
3 changed files with 13 additions and 13 deletions

View File

@@ -50,10 +50,10 @@ const BaseLayout = ({ children, layout, fullWidth, tags, meta, post, ...customMe
{/* Middle Wrapper */}
<main className='flex bg-gray-100'>
<SideBar tags={tags} post={post} />
<div className='flex flex-grow' ref={targetRef} >
{children}
<div className='flex flex-grow' ref={targetRef}>
{children}
<JumpToTop targetRef={targetRef} showPercent={false} />
</div>
<JumpToTop targetRef={targetRef} showPercent={false} />
</main>
<Footer />