Fix GameOfSim component layout and add full-screen support
- Add showSocialShare prop to GameOfSim component for conditional social sharing - Create GameOfSimPage.tsx for standalone access without header/footer - Create GameOfSimGreenScreen.tsx for green screen mode - Add routing for /game-of-sim and /game-of-sim/:mode - Fix GamesGallery to conditionally show header/footer (only in gallery view) - Update Games.tsx to remove Layout wrapper for proper conditional rendering - Add unique ID to social share URL for copy link functionality - Ensure consistent behavior with other interactive components
This commit is contained in:
parent
8d84ac0476
commit
85a8298352
6 changed files with 105 additions and 65 deletions
|
|
@ -2,13 +2,7 @@ import Layout from "@/components/Layout";
|
|||
import GamesGallery from "@/components/GamesGallery";
|
||||
|
||||
const Games = () => {
|
||||
return (
|
||||
<Layout>
|
||||
<div className="container mx-auto px-4 py-8">
|
||||
<GamesGallery />
|
||||
</div>
|
||||
</Layout>
|
||||
);
|
||||
return <GamesGallery />;
|
||||
};
|
||||
|
||||
export default Games;
|
||||
Loading…
Add table
Add a link
Reference in a new issue