From f8a51c9f217a059c6fae07437f6aec5abdc1f8bd Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 19 Jul 2025 14:04:34 +0000 Subject: [PATCH] Remove header/footer from interactive. Omit the global header and footer when accessing the interactive from the gallery. --- .../theme-pages/discrete-math/Foundations.tsx | 44 +++++++++---------- 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/src/pages/theme-pages/discrete-math/Foundations.tsx b/src/pages/theme-pages/discrete-math/Foundations.tsx index 67a1beb..b3230b4 100644 --- a/src/pages/theme-pages/discrete-math/Foundations.tsx +++ b/src/pages/theme-pages/discrete-math/Foundations.tsx @@ -41,36 +41,32 @@ const Foundations = () => { if (selectedInteractive) { const InteractiveComponent = selectedInteractive.component; return ( - -
-
-
- -

{selectedInteractive.title}

- - Back to Discrete Math → - -
-
- -
+
+
+
+

{selectedInteractive.title}

+ + Back to Discrete Math → +
+ +
- +
); }