theme-game 调整

This commit is contained in:
tangly1024
2024-04-05 22:06:52 +08:00
parent 522bbea0a1
commit 274f49d877
5 changed files with 85 additions and 65 deletions

View File

@@ -9,7 +9,7 @@ import Logo from './Logo'
/**
* 侧拉抽屉的内容
*/
export default function SideBarContent({ allNavPages }) {
export default function SideBarContent({ allNavPages, siteInfo }) {
const { sideBarVisible, setSideBarVisible, filterGames, setFilterGames } =
useGameGlobal()
const inputRef = useRef(null) // 创建对输入框的引用
@@ -50,7 +50,7 @@ export default function SideBarContent({ allNavPages }) {
return (
<div className='px-3'>
<div className='py-2 flex justify-between'>
<Logo />
<Logo siteInfo={siteInfo} />
<button
onClick={() => {
setSideBarVisible(false)