From 25ee90b987febff8d3b8c4f78b937c34989a9a65 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sun, 13 Jun 2021 09:40:40 +0100 Subject: [PATCH] Adds functionality and supporting components for frontend authentication --- src/assets/interface-icons/user-logout.svg | 1 + src/components/FormElements/Button.vue | 1 + src/components/Settings/SettingsContainer.vue | 38 +++++ src/router.js | 38 ++++- src/styles/color-palette.scss | 3 + src/utils/Auth.js | 52 +++++++ src/utils/defaults.js | 4 + src/views/Login.vue | 132 ++++++++++++++++++ 8 files changed, 263 insertions(+), 6 deletions(-) create mode 100644 src/assets/interface-icons/user-logout.svg create mode 100644 src/utils/Auth.js create mode 100644 src/views/Login.vue diff --git a/src/assets/interface-icons/user-logout.svg b/src/assets/interface-icons/user-logout.svg new file mode 100644 index 00000000..5c9daff8 --- /dev/null +++ b/src/assets/interface-icons/user-logout.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/FormElements/Button.vue b/src/components/FormElements/Button.vue index 4ea452d1..58674634 100644 --- a/src/components/FormElements/Button.vue +++ b/src/components/FormElements/Button.vue @@ -1,5 +1,6 @@