gitbook footer

This commit is contained in:
tangly1024.com
2023-07-10 11:30:55 +08:00
parent f88bcc10ed
commit e0fb533bb5
3 changed files with 9 additions and 8 deletions

View File

@@ -13,9 +13,9 @@ const Footer = ({ siteInfo }) => {
return (
<footer
className='z-10 bg:white dark:bg-hexo-black-gray justify-center text-center w-full text-sm relative'
className='z-20 py-2 bg:white dark:bg-hexo-black-gray justify-center text-center w-full text-sm relative'
>
<hr className='py-2' />
<hr className='pb-2' />
<div className='flex justify-center'>
<div><i className='mx-1 animate-pulse fas fa-heart' /> <a href={BLOG.LINK} className='underline font-bold text-gray-500 dark:text-gray-300 '>{BLOG.AUTHOR}</a>.<br /></div>

View File

@@ -16,7 +16,7 @@ const PageNavDrawer = (props) => {
}
return <>
<div id='gitbook-left-float' className='fixed top-0 left-0 z-40'>
<div id='gitbook-left-float' className='fixed top-0 left-0 z-40 md:hidden'>
{/* 侧边菜单 */}
<div
className={(pageNavVisible ? 'animate__slideInLeft ' : '-ml-80 animate__slideOutLeft') +

View File

@@ -66,16 +66,17 @@ const LayoutBase = (props) => {
<main id='wrapper' className={(BLOG.LAYOUT_SIDEBAR_REVERSE ? 'flex-row-reverse' : '') + 'relative flex justify-between w-full h-full mx-auto'}>
{/* 左侧推拉抽屉 */}
<div style={{ width: '32rem' }} className={'font-sans hidden md:block border-r dark:border-transparent relative z-10 '}>
<div className='py-14 px-6 sticky top-0 overflow-y-scroll h-screen'>
<div className={'font-sans hidden md:block border-r dark:border-transparent relative z-10 '}>
<div className='w-72 py-14 px-6 sticky top-0 overflow-y-scroll h-screen scroll-hidden'>
{slotLeft}
<SearchInput className='my-3 rounded-md' />
{/* 所有文章列表 */}
<NavPostList filteredPostGroups={filteredPostGroups} />
<div className='mt-2'>
<Footer {...props}/>
</div>
</div>
<div className='w-72 fixed left-0 bottom-0 z-20 bg-white'>
<Footer {...props}/>
</div>
</div>