mirror of
https://github.com/Xevion/Pac-Man.git
synced 2026-01-31 00:24:59 -06:00
- Implement navigation state tracking with optimistic UI updates - Add loading spinner and error handling for WASM initialization - Insert browser yield points during game initialization to prevent freezing - Redesign leaderboard with tabbed navigation and mock data structure - Add utility CSS classes for consistent page layouts
8 lines
260 B
TypeScript
8 lines
260 B
TypeScript
export default function GameLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<div className="bg-black text-yellow-400 h-full flex flex-col overflow-hidden">
|
|
<main className="flex-1 overflow-hidden">{children}</main>
|
|
</div>
|
|
);
|
|
}
|