From 7c0375382ff43596afd04d226b4c3c603f4f2bce Mon Sep 17 00:00:00 2001
From: VIktorGrev <viktog2210@gmail.com>
Date: Thu, 18 Apr 2024 08:33:42 +0200
Subject: [PATCH] feat: adding shop and feedback in router

---
 src/router/index.ts        | 25 ++++++++++++++++++++-----
 src/views/FeedbackView.vue |  3 +++
 src/views/ShopView.vue     |  3 +++
 3 files changed, 26 insertions(+), 5 deletions(-)
 create mode 100644 src/views/FeedbackView.vue
 create mode 100644 src/views/ShopView.vue

diff --git a/src/router/index.ts b/src/router/index.ts
index 817a2e9..bb108c3 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -16,16 +16,16 @@ const routes = [
         component: () => import('../views/HomeView.vue'),
         meta: { requiresAuth: true },
       },
-      {
-        path: '/:pathMatch(.*)*',
-        name: 'not-found',
-        component: () => import('@/views/NotFoundView.vue'),
-      },
       {
         path: '/news',
         name: 'news',
         component: () => import('@/views/NewsView.vue'),
       },
+      {
+        path: 'leaderboard',
+        name: 'leaderboard',
+        component: () => import('@/views/LeaderboardView.vue'),
+      },
       {
         path: 'test',
         name: 'test',
@@ -36,6 +36,16 @@ const routes = [
         name: 'roadmap',
         component: () => import('@/views/SavingGoalView/RoadmapView.vue'),
       },
+      {
+        path: 'feedback',
+        name: 'feedback',
+        component: () => import('@/views/FeedbackView.vue'),
+      },
+      {
+        path: 'shop',
+        name: 'shop',
+        component: () => import('@/views/ShopView.vue'),
+      },
       {
         path: 'admin',
         name: 'admin',
@@ -47,6 +57,11 @@ const routes = [
         name: 'unauthorized',
         component: () => import('@/views/UnauthorizedView.vue'),
       },
+      {
+        path: '/:pathMatch(.*)*',
+        name: 'not-found',
+        component: () => import('@/views/NotFoundView.vue'),
+      },
     ]
   },
   {
diff --git a/src/views/FeedbackView.vue b/src/views/FeedbackView.vue
new file mode 100644
index 0000000..9095328
--- /dev/null
+++ b/src/views/FeedbackView.vue
@@ -0,0 +1,3 @@
+<template>
+    Hallo
+</template>
\ No newline at end of file
diff --git a/src/views/ShopView.vue b/src/views/ShopView.vue
new file mode 100644
index 0000000..9095328
--- /dev/null
+++ b/src/views/ShopView.vue
@@ -0,0 +1,3 @@
+<template>
+    Hallo
+</template>
\ No newline at end of file
-- 
GitLab