diff --git a/client/src/App.vue b/client/src/App.vue index 8dd258e8..10f11ea1 100644 --- a/client/src/App.vue +++ b/client/src/App.vue @@ -1,7 +1,8 @@ @@ -9,6 +10,7 @@ import * as log from 'loglevel'; import MainNavigationBar from '@/components/MainNavigationBar.vue'; +import Footer from '@/components/Footer.vue'; log.debug('App created'); diff --git a/client/src/components/Footer.vue b/client/src/components/Footer.vue new file mode 100644 index 00000000..262251e0 --- /dev/null +++ b/client/src/components/Footer.vue @@ -0,0 +1,21 @@ + + + + + diff --git a/client/src/components/MainNavigationBar.vue b/client/src/components/MainNavigationBar.vue index 64d53f5c..3ddaa904 100644 --- a/client/src/components/MainNavigationBar.vue +++ b/client/src/components/MainNavigationBar.vue @@ -26,6 +26,18 @@ function menuActive(checkPath) { return route.path.startsWith(checkPath); } +function inLearningPath() { + return route.path.startsWith('/learningpath/') || route.path.startsWith('/circle/'); +} + +function backButtonUrl() { + if (route.path.startsWith('/circle/')) { + return '/learningpath/versicherungsvermittlerin'; + } + + return '/'; +} +