+
+
diff --git a/src/components/TutorialModeSelector.tsx b/src/components/TutorialModeSelector.tsx
index df2c5c3e..c4fc9eb6 100644
--- a/src/components/TutorialModeSelector.tsx
+++ b/src/components/TutorialModeSelector.tsx
@@ -8,7 +8,7 @@ interface ModeProps {
link?: string;
}
-export function TutorialMode({ label }: ModeProps) {
+export function TutorialMode(_props: ModeProps) {
return null; // This component is only used for passing props
}
@@ -42,14 +42,12 @@ export function TutorialModeSelector({
{(title || description) && (
{title && (
-
+
{title}
)}
{description && (
-
- {description}
-
+
{description}
)}
)}
@@ -57,14 +55,14 @@ export function TutorialModeSelector({
{/* Combined tab bar and content */}
{/* Mode selector tabs */}
-
+
{modes.map((mode, index) => {
const isActive = mode.active;
return isActive ? (
{mode.icon && (
{mode.icon && (
+
{activeMode.icon && (
)}
-
+
{activeMode.label}
{activeMode.description && (
-
+
{activeMode.description}
)}
diff --git a/src/pages/LandingPage.tsx b/src/pages/LandingPage.tsx
index 10f6730c..9da29c1f 100644
--- a/src/pages/LandingPage.tsx
+++ b/src/pages/LandingPage.tsx
@@ -42,8 +42,8 @@ const ProductCard = ({
{icon}
diff --git a/src/zudoku-env.d.ts b/src/zudoku-env.d.ts
index b29675ae..facde0eb 100644
--- a/src/zudoku-env.d.ts
+++ b/src/zudoku-env.d.ts
@@ -13,3 +13,8 @@ declare module "*.jpg" {
const content: string;
export default content;
}
+
+declare module "*.svg" {
+ const content: string;
+ export default content;
+}