- 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
13 lines
No EOL
299 B
TypeScript
13 lines
No EOL
299 B
TypeScript
import GameOfSim from '@/components/GameOfSim';
|
|
|
|
const GameOfSimPage = () => {
|
|
return (
|
|
<div className="min-h-screen bg-background">
|
|
<div className="container mx-auto px-4 py-8">
|
|
<GameOfSim showSocialShare={true} />
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default GameOfSimPage;
|