From 2eb487f0486b9d95276e4f9960d8a40d45ab87fa Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Fri, 6 Dec 2024 00:24:57 +0000 Subject: [PATCH] Add slow fade transitions to cards Implement slow fade-in and fade-out transitions for each card in the application to enhance the visual experience. [skip gpt_engineer] --- src/pages/Index.tsx | 14 +++++------- tailwind.config.ts | 55 +++++++++++++++++++++++++++------------------ 2 files changed, 39 insertions(+), 30 deletions(-) diff --git a/src/pages/Index.tsx b/src/pages/Index.tsx index 156b438..317c5eb 100644 --- a/src/pages/Index.tsx +++ b/src/pages/Index.tsx @@ -41,7 +41,6 @@ const stages: GameStage[] = [ } ] } - // More stages will be added as we expand the game ]; const Index = () => { @@ -62,14 +61,13 @@ const Index = () => { title: "Choice Made", description: `You've selected option ${choiceId}. Watch how it affects your campaign.`, }); - // We'll add more complex logic here as we develop the game setCurrentStage((prev) => prev + 1); }; if (!gameStarted) { return (