From 5f8e41e5644443cf7f13b65701da7a691d42ba55 Mon Sep 17 00:00:00 2001 From: Zoey Date: Tue, 6 Dec 2022 14:40:24 +0100 Subject: [PATCH] feat: Added locally unprotected route and API routes pages (#11) --- components/Navbar.vue | 16 +++++++++ components/api/APITableRow.vue | 26 ++++++++++++++ pages/api-routes.vue | 62 ++++++++++++++++++++++++++++++++++ pages/protected/locally.vue | 16 +++++++++ 4 files changed, 120 insertions(+) create mode 100644 components/api/APITableRow.vue create mode 100644 pages/api-routes.vue create mode 100644 pages/protected/locally.vue diff --git a/components/Navbar.vue b/components/Navbar.vue index 37bfcce..dff8a49 100644 --- a/components/Navbar.vue +++ b/components/Navbar.vue @@ -22,6 +22,22 @@ Globally Protected +
  • + + Locally Unprotected + +
  • +
  • + + API Routes + +
  • +export default { + props: { + route: String, + method: String, + link: String, + } +} + + + diff --git a/pages/api-routes.vue b/pages/api-routes.vue new file mode 100644 index 0000000..3c6f26f --- /dev/null +++ b/pages/api-routes.vue @@ -0,0 +1,62 @@ + + + diff --git a/pages/protected/locally.vue b/pages/protected/locally.vue new file mode 100644 index 0000000..e56be13 --- /dev/null +++ b/pages/protected/locally.vue @@ -0,0 +1,16 @@ + + + + +