bug修复

This commit is contained in:
tangly1024
2021-10-14 15:18:50 +08:00
parent cf88cb2188
commit 6f5e1b3f39
3 changed files with 6 additions and 2 deletions

View File

@@ -9,6 +9,7 @@ import React, { useRef } from 'react'
import Container from '@/components/Container'
import JumpToTop from '@/components/JumpToTop'
import SideBar from '@/components/SideBar'
import TopNav from '@/components/TopNav'
const IndexLayout = ({ tags, posts, page, currentTag, ...customMeta }) => {
const meta = {
@@ -49,6 +50,7 @@ const IndexLayout = ({ tags, posts, page, currentTag, ...customMeta }) => {
return (
<Container id='wrapper' meta={meta} tags={tags}>
<TopNav tags={tags} />
<div ref={targetRef} className={`${BLOG.font} flex justify-between bg-gray-100 dark:bg-black min-h-screen`}>
{/* 侧边菜单 */}