From 09830414172be3f7cf945edc7bd130077d4b29b4 Mon Sep 17 00:00:00 2001 From: Matthew Evans Date: Tue, 16 May 2023 23:23:00 +0100 Subject: [PATCH] First hash at a login modal that enables login via GitHub or ORCID --- webapp/src/components/LoginModal.vue | 117 +++++++++++++++++++++++++++ webapp/src/components/Navbar.vue | 11 ++- webapp/src/main.js | 3 +- 3 files changed, 126 insertions(+), 5 deletions(-) create mode 100644 webapp/src/components/LoginModal.vue diff --git a/webapp/src/components/LoginModal.vue b/webapp/src/components/LoginModal.vue new file mode 100644 index 000000000..5962810fa --- /dev/null +++ b/webapp/src/components/LoginModal.vue @@ -0,0 +1,117 @@ + + + + + diff --git a/webapp/src/components/Navbar.vue b/webapp/src/components/Navbar.vue index 22481e5b7..0d7b855d9 100644 --- a/webapp/src/components/Navbar.vue +++ b/webapp/src/components/Navbar.vue @@ -5,7 +5,7 @@ -
+
{{ currentUser }}   @@ -14,9 +14,9 @@ >
-  Login +
+