From 7fb60ad2edd9f1f100cd6163ef6d167772c766c6 Mon Sep 17 00:00:00 2001 From: Adrian Rumpold Date: Thu, 10 Jul 2025 12:44:54 +0200 Subject: [PATCH] Align legend with survey response options --- src/components/Legend.tsx | 11 ++--------- src/lib/parser.ts | 20 ++++++++------------ tsconfig.node.json | 8 +++++--- 3 files changed, 15 insertions(+), 24 deletions(-) diff --git a/src/components/Legend.tsx b/src/components/Legend.tsx index cc4d7c6..3d6fcea 100644 --- a/src/components/Legend.tsx +++ b/src/components/Legend.tsx @@ -1,19 +1,12 @@ import { colorScheme } from "../config"; +import { skills } from "../lib/parser"; import "../styles/Legend.scss"; -const labels = { - 0: "Keine Erfahrung", - 1: "Grundkenntnisse", - 2: "Geübte Anwendung", - 3: "Sichere Praxisanwendung", - 4: "Fachwissen und Erfahrung", -}; - export default function Legend() { return (