diff --git a/frontend/src/App.vue b/frontend/src/App.vue
index f9cc4216f..fafd46b32 100755
--- a/frontend/src/App.vue
+++ b/frontend/src/App.vue
@@ -17,7 +17,7 @@
@@ -26,11 +26,15 @@
import { ParticlesBg } from 'particles-bg-vue'
import icon from './icon.js'
import { localeChanged } from 'vee-validate'
+import DashboardLayout from '@/views/Layout/DashboardLayout_gdd.vue'
+import AuthLayoutGDD from '@/views/Layout/AuthLayout_gdd.vue'
export default {
name: 'app',
components: {
ParticlesBg,
+ DashboardLayout,
+ AuthLayoutGDD,
},
data() {
return {
diff --git a/frontend/src/routes/routes.js b/frontend/src/routes/routes.js
index fba892f1a..b50f2a7b1 100755
--- a/frontend/src/routes/routes.js
+++ b/frontend/src/routes/routes.js
@@ -1,66 +1,49 @@
-import DashboardLayout from '@/views/Layout/DashboardLayout_gdd.vue'
-import AuthLayoutGDD from '@/views/Layout/AuthLayout_gdd.vue'
-
import NotFound from '@/views/NotFoundPage.vue'
const routes = [
{
- path: '/login',
- redirect: 'login',
- component: AuthLayoutGDD,
- children: [
- {
- path: '/login',
- component: () => import('../views/Pages/Login.vue'),
- },
- {
- path: '/thx',
- component: () => import('../views/Pages/thx.vue'),
- },
- {
- path: '/register',
- component: () => import('../views/Pages/Register.vue'),
- },
- {
- path: '/password',
- component: () => import('../views/Pages/Password.vue'),
- },
- {
- path: '/explorer',
- name: 'Explorer',
- component: () => import('../views/Pages/Explorer.vue'),
- },
- ],
+ path: '/overview',
+ component: () => import('../views/KontoOverview.vue'),
+ meta: {
+ requiresAuth: true,
+ },
},
{
- path: '/overview',
- redirect: 'overview',
- component: DashboardLayout,
- children: [
- {
- path: '/overview',
- component: () => import('../views/KontoOverview.vue'),
- meta: {
- requiresAuth: true,
- },
- },
- {
- path: '/profile',
- component: () => import('../views/Pages/UserProfileCard.vue'),
- },
- {
- path: '/profileedit',
- component: () => import('../views/Pages/UserProfileEdit.vue'),
- },
- {
- path: '/activity',
- component: () => import('../views/Pages/UserProfileActivity.vue'),
- },
- {
- path: '/transactions',
- component: () => import('../views/Pages/UserProfileTransactionList.vue'),
- },
- ],
+ path: '/profile',
+ component: () => import('../views/Pages/UserProfileCard.vue'),
+ },
+ {
+ path: '/profileedit',
+ component: () => import('../views/Pages/UserProfileEdit.vue'),
+ },
+ {
+ path: '/activity',
+ component: () => import('../views/Pages/UserProfileActivity.vue'),
+ },
+ {
+ path: '/transactions',
+ component: () => import('../views/Pages/UserProfileTransactionList.vue'),
+ },
+ {
+ path: '/login',
+ component: () => import('../views/Pages/Login.vue'),
+ },
+ {
+ path: '/thx',
+ component: () => import('../views/Pages/thx.vue'),
+ },
+ {
+ path: '/register',
+ component: () => import('../views/Pages/Register.vue'),
+ },
+ {
+ path: '/password',
+ component: () => import('../views/Pages/Password.vue'),
+ },
+ {
+ path: '/explorer',
+ name: 'Explorer',
+ component: () => import('../views/Pages/Explorer.vue'),
},
{ path: '*', component: NotFound },
]
diff --git a/frontend/src/views/Layout/Content.vue b/frontend/src/views/Layout/Content.vue
deleted file mode 100755
index d29de692c..000000000
--- a/frontend/src/views/Layout/Content.vue
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
-
-
-
-