diff --git a/client/src/components/MainNavigationBar.vue b/client/src/components/MainNavigationBar.vue
index b0d232a9..c3f0d358 100644
--- a/client/src/components/MainNavigationBar.vue
+++ b/client/src/components/MainNavigationBar.vue
@@ -28,12 +28,12 @@ function isInRoutePath(checkPaths: string[]) {
return checkPaths.some((path) => route.path.startsWith(path));
}
-function inLearningPath() {
- return isInRoutePath(["/learn/"]);
+function inCourse() {
+ return isInRoutePath(["/learn", "/competence"]);
}
function getLearningPathStringProp(prop: "title" | "slug"): string {
- return inLearningPath() && learningPathStore.learningPath
+ return inCourse() && learningPathStore.learningPath
? learningPathStore.learningPath[prop]
: "";
}
@@ -144,19 +144,19 @@ const profileDropdownData = [
class="flex-auto mt-8 lg:flex lg:space-y-0 lg:flex-row lg:items-center lg:space-x-10 lg:mt-0"
>
Lernpfad
Kompetenzprofil
diff --git a/client/src/components/competences/CompetenceDetail.vue b/client/src/components/competences/CompetenceDetail.vue
new file mode 100644
index 00000000..67998432
--- /dev/null
+++ b/client/src/components/competences/CompetenceDetail.vue
@@ -0,0 +1,54 @@
+
+
+
+
+
+
+
+ {{ competence.competence_id }} {{ competence.title }}
+
+
+
+
+
+
+
+
+
diff --git a/client/src/components/competences/CompetenceProgress.vue b/client/src/components/competences/CompetenceProgress.vue
new file mode 100644
index 00000000..93628f5a
--- /dev/null
+++ b/client/src/components/competences/CompetenceProgress.vue
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/client/src/components/competences/PerformanceCriteriaRow.vue b/client/src/components/competences/PerformanceCriteriaRow.vue
new file mode 100644
index 00000000..0675d5ef
--- /dev/null
+++ b/client/src/components/competences/PerformanceCriteriaRow.vue
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
diff --git a/client/src/components/learningPath/SelfEvaluation.vue b/client/src/components/learningPath/SelfEvaluation.vue
index be53ba5b..d8c216bf 100644
--- a/client/src/components/learningPath/SelfEvaluation.vue
+++ b/client/src/components/learningPath/SelfEvaluation.vue
@@ -72,7 +72,9 @@ function handleContinue() {
-
{{ currentQuestion.title }}
+
+ {{ currentQuestion.competence_id }} {{ currentQuestion.title }}
+