From 0485857ae213ebdf3bf53f009e3f503db30062c8 Mon Sep 17 00:00:00 2001 From: FireMasterK <20838718+FireMasterK@users.noreply.github.com> Date: Fri, 23 Jul 2021 01:35:48 +0530 Subject: [PATCH] Add page to see subscriptions. Closes #301 --- src/components/FeedPage.vue | 3 ++ src/components/SubscriptionsPage.vue | 60 ++++++++++++++++++++++++++++ src/router/router.js | 5 +++ 3 files changed, 68 insertions(+) create mode 100644 src/components/SubscriptionsPage.vue diff --git a/src/components/FeedPage.vue b/src/components/FeedPage.vue index a986d231..7ebc73ae 100644 --- a/src/components/FeedPage.vue +++ b/src/components/FeedPage.vue @@ -3,6 +3,9 @@ You can import subscriptions from here. +
+ View Subscriptions +
diff --git a/src/components/SubscriptionsPage.vue b/src/components/SubscriptionsPage.vue new file mode 100644 index 00000000..81f4f29d --- /dev/null +++ b/src/components/SubscriptionsPage.vue @@ -0,0 +1,60 @@ + + + diff --git a/src/router/router.js b/src/router/router.js index 4e80a9f1..ca0a805f 100644 --- a/src/router/router.js +++ b/src/router/router.js @@ -55,6 +55,11 @@ const routes = [ path: "/:videoId([a-zA-Z0-9_-]{11})", component: () => import("../components/VideoRedirect.vue"), }, + { + path: "/subscriptions", + name: "Subscriptions", + component: () => import("../components/SubscriptionsPage.vue"), + }, ]; const router = createRouter({