From 79d2d1bc8320ca9d79b569af70b4b9e630950287 Mon Sep 17 00:00:00 2001 From: Justin Georgi Date: Fri, 16 Feb 2024 21:49:54 -0700 Subject: [PATCH] Add contact form (#98) Closes: #92 This adds a new link to the left panel to open a contact form. Filling out the form will allow the user to submit a comment which will be registered as a new issue on this repo. Reviewed-on: https://gitea.azgeorgis.net/Georgi_Lab/ALVINN_f7/pulls/98 --- src/components/app.vue | 3 +- src/js/routes.js | 5 +++ src/pages/contact.vue | 95 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 102 insertions(+), 1 deletion(-) create mode 100644 src/pages/contact.vue diff --git a/src/components/app.vue b/src/components/app.vue index 2c5fb28..6b8c574 100644 --- a/src/components/app.vue +++ b/src/components/app.vue @@ -7,7 +7,8 @@ Settings - About ALVINN + About ALVINN + Contact version 0.2.1 diff --git a/src/js/routes.js b/src/js/routes.js index ae3b3fb..8fea012 100644 --- a/src/js/routes.js +++ b/src/js/routes.js @@ -3,6 +3,7 @@ import HomePage from '../pages/home.vue'; import AboutPage from '../pages/about.vue'; import SettingsPage from '../pages/settings.vue'; import DetectPage from '../pages/detect.vue'; +import ContactPage from '../pages/contact.vue'; import NotFoundPage from '../pages/404.vue'; @@ -23,6 +24,10 @@ var routes = [ path: '/settings/', component: SettingsPage, }, + { + path: '/contact/', + component: ContactPage, + }, { path: '(.*)', component: NotFoundPage, diff --git a/src/pages/contact.vue b/src/pages/contact.vue new file mode 100644 index 0000000..ed524e9 --- /dev/null +++ b/src/pages/contact.vue @@ -0,0 +1,95 @@ + + + + + \ No newline at end of file