From bcdd2c4e8c4fe9cea09cc9fa22e09801442c1640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ekiserrep=C3=A9?= Date: Thu, 26 Feb 2026 07:52:21 +0100 Subject: [PATCH] Fixes --- src/App.jsx | 1 + src/components/LessonView.jsx | 17 ++++++++++ src/data/modules/m04-consulta-datos.js | 44 +++++++++++++------------- 3 files changed, 40 insertions(+), 22 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index ecda592..a0c49fa 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -125,6 +125,7 @@ export default function App() { theme={theme} onToggleTheme={toggleTheme} totalModules={COURSE_DATA.length} + setLang={setLang} /> ) } diff --git a/src/components/LessonView.jsx b/src/components/LessonView.jsx index 23ac538..f7fc746 100644 --- a/src/components/LessonView.jsx +++ b/src/components/LessonView.jsx @@ -21,6 +21,7 @@ export default function LessonView({ theme, onToggleTheme, totalModules, + setLang, }) { const [activeTab, setActiveTab] = useState('theory') @@ -46,6 +47,22 @@ export default function LessonView({ ← {labels.allModules}
+ {/* Language selector */} +
+ {['es', 'en', 'jp'].map((l) => ( + + ))} +
{/* Theme toggle */}