From cf19dd256d0a1892144ab90d072ac72f30bb208d Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sun, 15 Dec 2024 13:02:29 +0000 Subject: [PATCH] Update stratagem popup layout Rearrange the stratagem popup to prioritize the Expert Analysis section, making it the first or only text displayed. This change reflects the existing information on the choice cards, which already show the Strategy Overview and Expected Impact. [skip gpt_engineer] --- src/pages/Index.tsx | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/src/pages/Index.tsx b/src/pages/Index.tsx index b4eca9c..c0561b2 100644 --- a/src/pages/Index.tsx +++ b/src/pages/Index.tsx @@ -422,21 +422,9 @@ const Index = () => { className="mb-6" /> )} -
-
-

Strategy Overview:

-

{selectedChoice?.description}

-
- -
-

Expected Impact:

-

{selectedChoice?.impact}

-
- -
-

Expert Analysis:

-

{selectedChoice?.explainer}

-
+
+

Expert Analysis:

+

{selectedChoice?.explainer}

@@ -457,4 +445,4 @@ const Index = () => { ); }; -export default Index; \ No newline at end of file +export default Index;