diff --git a/client/src/components/learningPath/LearningContent.vue b/client/src/components/learningPath/LearningContent.vue index 4932fadf..8e4a85d4 100644 --- a/client/src/components/learningPath/LearningContent.vue +++ b/client/src/components/learningPath/LearningContent.vue @@ -55,8 +55,6 @@ const block = computed(() => {
-

{{ block.value.description }}

-
-

+

+

{{ learningContent.title }}

+ +

{{ block.value.description }}

- {{ learningContent.title }} + Mediathek öffnen -

+
+ +
+

{{ block.value.description }}

+

{{ learningContent.title }}

+
+ +
{{ block.value.description }}
diff --git a/client/src/pages/LearningPathViewVertical.vue b/client/src/components/learningPath/LearningPathViewVertical.vue similarity index 100% rename from client/src/pages/LearningPathViewVertical.vue rename to client/src/components/learningPath/LearningPathViewVertical.vue diff --git a/client/src/components/learningPath/SelfEvaluation.vue b/client/src/components/learningPath/SelfEvaluation.vue index 389cd691..7fe4afe6 100644 --- a/client/src/components/learningPath/SelfEvaluation.vue +++ b/client/src/components/learningPath/SelfEvaluation.vue @@ -50,7 +50,7 @@ function handleContinue() { -
+
Schritt {{ state.questionIndex + 1 }} von {{ questions.length }}
diff --git a/client/src/pages/CockpitPage.vue b/client/src/pages/CockpitPage.vue new file mode 100644 index 00000000..76cb303e --- /dev/null +++ b/client/src/pages/CockpitPage.vue @@ -0,0 +1,29 @@ + + + + + diff --git a/client/src/pages/CockpitView.vue b/client/src/pages/CockpitView.vue deleted file mode 100644 index 69407013..00000000 --- a/client/src/pages/CockpitView.vue +++ /dev/null @@ -1,27 +0,0 @@ - - - - - diff --git a/client/src/pages/LoginPage.vue b/client/src/pages/LoginPage.vue new file mode 100644 index 00000000..7c972ef7 --- /dev/null +++ b/client/src/pages/LoginPage.vue @@ -0,0 +1,66 @@ + + + + + diff --git a/client/src/pages/LoginView.vue b/client/src/pages/LoginView.vue deleted file mode 100644 index 8f7c21b2..00000000 --- a/client/src/pages/LoginView.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - - - diff --git a/client/src/pages/MessagesView.vue b/client/src/pages/MessagesPage.vue similarity index 100% rename from client/src/pages/MessagesView.vue rename to client/src/pages/MessagesPage.vue diff --git a/client/src/pages/ProfileView.vue b/client/src/pages/ProfilePage.vue similarity index 100% rename from client/src/pages/ProfileView.vue rename to client/src/pages/ProfilePage.vue diff --git a/client/src/pages/ShopView.vue b/client/src/pages/ShopPage.vue similarity index 100% rename from client/src/pages/ShopView.vue rename to client/src/pages/ShopPage.vue diff --git a/client/src/pages/StyleGuideView.vue b/client/src/pages/StyleGuidePage.vue similarity index 100% rename from client/src/pages/StyleGuideView.vue rename to client/src/pages/StyleGuidePage.vue diff --git a/client/src/pages/CircleView.vue b/client/src/pages/learningPath/CirclePage.vue similarity index 100% rename from client/src/pages/CircleView.vue rename to client/src/pages/learningPath/CirclePage.vue diff --git a/client/src/pages/LearningContentView.vue b/client/src/pages/learningPath/LearningContentPage.vue similarity index 100% rename from client/src/pages/LearningContentView.vue rename to client/src/pages/learningPath/LearningContentPage.vue diff --git a/client/src/pages/LearningPathView.vue b/client/src/pages/learningPath/LearningPathPage.vue similarity index 61% rename from client/src/pages/LearningPathView.vue rename to client/src/pages/learningPath/LearningPathPage.vue index afe187fc..9246d84c 100644 --- a/client/src/pages/LearningPathView.vue +++ b/client/src/pages/learningPath/LearningPathPage.vue @@ -6,7 +6,7 @@ import { useUserStore } from "@/stores/user"; import { onMounted } from "vue"; import LearningPathDiagram from "@/components/learningPath/LearningPathDiagram.vue"; -import LearningPathViewVertical from "@/pages/LearningPathViewVertical.vue"; +import LearningPathViewVertical from "@/components/learningPath/LearningPathViewVertical.vue"; import type { LearningPath } from "@/services/learningPath"; log.debug("LearningPathView created"); @@ -74,42 +74,43 @@ const createContinueUrl = (learningPath: LearningPath): [string, boolean] => { >
-

- {{ learningPathStore.learningPath.title }} -

- -
-
-

Willkommmen zurück, {{ userStore.first_name }}

-

-
+
+

+ {{ learningPathStore.learningPath.title }} +

- Nächster Schritt -

- {{ - learningPathStore.learningPath.nextLearningContent.parentCircle.title - }}: - {{ - learningPathStore.learningPath.nextLearningContent - .parentLearningSequence?.title - }} -

- +

Willkommmen zurück, {{ userStore.first_name }}

+

+
+
- - Los geht's - - Weiter geht's - + Nächster Schritt +

+ {{ + learningPathStore.learningPath.nextLearningContent.parentCircle.title + }}: + {{ + learningPathStore.learningPath.nextLearningContent + .parentLearningSequence?.title + }} +

+ + + Los geht's + + Weiter geht's + +
diff --git a/client/src/pages/LearningUnitSelfEvaluationView.vue b/client/src/pages/learningPath/SelfEvaluationPage.vue similarity index 100% rename from client/src/pages/LearningUnitSelfEvaluationView.vue rename to client/src/pages/learningPath/SelfEvaluationPage.vue diff --git a/client/src/router/index.ts b/client/src/router/index.ts index 2f23c424..88e481b7 100644 --- a/client/src/router/index.ts +++ b/client/src/router/index.ts @@ -1,5 +1,5 @@ -import CockpitView from "@/pages/CockpitView.vue"; -import LoginView from "@/pages/LoginView.vue"; +import CockpitView from "@/pages/CockpitPage.vue"; +import LoginView from "@/pages/LoginPage.vue"; import { redirectToLoginIfRequired, updateLoggedIn } from "@/router/guards"; import { useAppStore } from "@/stores/app"; import { createRouter, createWebHistory } from "vue-router"; @@ -20,10 +20,6 @@ const router = createRouter({ name: "home", component: CockpitView, }, - { - path: "/shop", - component: () => import("@/pages/ShopView.vue"), - }, { path: "/media/:mediaLibraryPageSlug", props: true, @@ -49,37 +45,41 @@ const router = createRouter({ }, ], }, - { - path: "/messages", - component: () => import("@/pages/MessagesView.vue"), - }, - { - path: "/profile", - component: () => import("@/pages/ProfileView.vue"), - }, { path: "/learn/:learningPathSlug", - component: () => import("../pages/LearningPathView.vue"), + component: () => import("../pages/learningPath/LearningPathPage.vue"), props: true, }, { path: "/learn/:learningPathSlug/:circleSlug", - component: () => import("../pages/CircleView.vue"), + component: () => import("../pages/learningPath/CirclePage.vue"), props: true, }, { path: "/learn/:learningPathSlug/:circleSlug/evaluate/:learningUnitSlug", - component: () => import("../pages/LearningUnitSelfEvaluationView.vue"), + component: () => import("../pages/learningPath/SelfEvaluationPage.vue"), props: true, }, { path: "/learn/:learningPathSlug/:circleSlug/:contentSlug", - component: () => import("../pages/LearningContentView.vue"), + component: () => import("../pages/learningPath/LearningContentPage.vue"), props: true, }, + { + path: "/shop", + component: () => import("@/pages/ShopPage.vue"), + }, + { + path: "/messages", + component: () => import("@/pages/MessagesPage.vue"), + }, + { + path: "/profile", + component: () => import("@/pages/ProfilePage.vue"), + }, { path: "/styleguide", - component: () => import("../pages/StyleGuideView.vue"), + component: () => import("../pages/StyleGuidePage.vue"), meta: { public: true, }, diff --git a/client/tailwind.css b/client/tailwind.css index 7ff15ab8..b89819f6 100644 --- a/client/tailwind.css +++ b/client/tailwind.css @@ -60,11 +60,11 @@ svg { } .container-medium { - @apply mx-auto max-w-5xl px-4 lg:px-8 py-4; + @apply mx-auto max-w-5xl w-full px-4 lg:px-8 py-4; } .container-large { - @apply mx-auto max-w-9xl px-4 lg:px-8 py-4; + @apply mx-auto max-w-6xl w-full px-4 lg:px-8 py-4; } }