Commit
This commit is contained in:
14
pwa/src/components/GameLayout.tsx
Normal file
14
pwa/src/components/GameLayout.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import { Outlet } from 'react-router-dom'
|
||||
import GameHeader from './GameHeader'
|
||||
import './Game.css'
|
||||
|
||||
export default function GameLayout() {
|
||||
return (
|
||||
<div className="game-layout">
|
||||
<GameHeader />
|
||||
<div className="game-content">
|
||||
<Outlet />
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user