init game theme

This commit is contained in:
tangly1024.com
2024-03-18 18:57:49 +08:00
parent fc3e60e94c
commit ff77d30cae
41 changed files with 2366 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
import Link from 'next/link'
import { useGameGlobal } from '..'
export const MenuList = () => {
const { setSideBarVisible } = useGameGlobal()
return (
<div>
<ul>
<li className='text-white py-4 px-2 font-bold hover:underline'>
<Link href='/' passHref>
<span className='flex items-center gap-2'>
<i className='fas fa-home' />
Home
</span>
</Link>
</li>
<li className='text-white py-4 px-2 font-bold hover:underline'>
<button
className='flex items-center gap-2'
onClick={() => {
setSideBarVisible(true)
}}>
<i className='fas fa-search' />
<span>Search</span>
</button>
</li>
</ul>
</div>
)
}