From 0485afd776f666305bcfa389f88b11e5945c4d5b Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Fri, 5 Sep 2025 06:22:59 +0000 Subject: [PATCH] Refactor standalone page --- src/components/Layout.tsx | 19 ++++++++++++++++++- src/pages/CrapsGamePage.tsx | 13 ++++++++++++- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index eabe147..f23cc80 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -1,15 +1,32 @@ import Navigation from '@/components/Navigation'; import { ReactNode } from 'react'; +import { Link } from 'react-router-dom'; +import { Button } from '@/components/ui/button'; +import { ArrowLeft } from 'lucide-react'; interface LayoutProps { children: ReactNode; + showBackToGames?: boolean; } -const Layout = ({ children }: LayoutProps) => { +const Layout = ({ children, showBackToGames = false }: LayoutProps) => { return (