diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 8d51c6e..5218bd0 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -110,7 +110,7 @@ if (!import.meta.env.SSR) - + diff --git a/frontend/src/i18n/translations/de.json b/frontend/src/i18n/translations/de.json index 547928c..3c0ee36 100644 --- a/frontend/src/i18n/translations/de.json +++ b/frontend/src/i18n/translations/de.json @@ -109,7 +109,8 @@ "to": " bis ", "of": " von insgesamt " }, - "eventType": "Ereignistyp" + "eventType": "Ereignistyp", + "scrollToTop": "Nach oben scrollen" }, "renameModules": { "reminder": "Erinnerung", diff --git a/frontend/src/i18n/translations/en.json b/frontend/src/i18n/translations/en.json index faacd0c..7f2992f 100644 --- a/frontend/src/i18n/translations/en.json +++ b/frontend/src/i18n/translations/en.json @@ -109,7 +109,8 @@ "to": " to ", "of": " of " }, - "eventType": "event type" + "eventType": "event type", + "scrollToTop": "scroll to top" }, "renameModules": { "reminder": "reminder", diff --git a/frontend/src/view/DynamicPage.vue b/frontend/src/view/DynamicPage.vue index a238704..871cf20 100644 --- a/frontend/src/view/DynamicPage.vue +++ b/frontend/src/view/DynamicPage.vue @@ -86,6 +86,18 @@ const hasContent = computed(() => { ]" > + + + diff --git a/frontend/src/view/create/AdditionalModules.vue b/frontend/src/view/create/AdditionalModules.vue index a625e1c..184838d 100644 --- a/frontend/src/view/create/AdditionalModules.vue +++ b/frontend/src/view/create/AdditionalModules.vue @@ -23,29 +23,44 @@ import AdditionalModuleTable from "@/components/AdditionalModuleTable.vue"; const store = moduleStore(); +function topFunction() { + window.scrollTo({top: 0, behavior: 'smooth'}); +} + async function nextStep() { await router.push("/rename-modules"); } - - + + {{ $t("additionalModules.subTitle") }} - + + + +