Remove header/footer from interactive page

Remove links to green screen versions.
This commit is contained in:
gpt-engineer-app[bot] 2025-07-19 14:02:38 +00:00
parent 9832301750
commit 223bd234aa
2 changed files with 4 additions and 34 deletions

View file

@ -1,26 +1,10 @@
import BinaryNumberGame from '@/components/BinaryNumberGame';
import Navigation from '@/components/Navigation';
import { Link } from 'react-router-dom';
const BinaryNumberGamePage = () => {
return (
<div className="min-h-screen bg-background">
<Navigation />
<div className="container mx-auto px-4 py-8">
<div className="space-y-6">
<div className="flex items-center gap-4">
<Link
to="/themes/discrete-math/foundations"
className="text-primary hover:text-primary/80 font-medium"
>
Back to Foundations
</Link>
<h1 className="text-2xl font-bold text-foreground">Binary Number Representation</h1>
</div>
<div className="bg-background border rounded-lg p-6">
<BinaryNumberGame />
</div>
</div>
<div className="min-h-screen bg-background p-6">
<div className="max-w-4xl mx-auto">
<BinaryNumberGame />
</div>
</div>
);

View file

@ -59,22 +59,8 @@ const Foundations = () => {
Back to Discrete Math
</Link>
</div>
<div className="bg-background border rounded-lg p-6 space-y-4">
<div className="bg-background border rounded-lg p-6">
<BinaryNumberGame />
<div className="flex gap-2 pt-4 border-t">
<Link
to={`${selectedInteractive.greenScreenPath}/gs-lite`}
className="px-3 py-1 text-sm bg-green-500 text-white rounded hover:bg-green-600 transition-colors"
>
Green Screen (Light)
</Link>
<Link
to={`${selectedInteractive.greenScreenPath}/gs-dark`}
className="px-3 py-1 text-sm bg-green-700 text-white rounded hover:bg-green-800 transition-colors"
>
Green Screen (Dark)
</Link>
</div>
</div>
<button
onClick={() => setSelectedInteractive(null)}