From f6c4c3e5086a64fc5b4478b5509220a86df372b6 Mon Sep 17 00:00:00 2001 From: ajdj100 Date: Thu, 4 Dec 2025 22:24:12 -0500 Subject: [PATCH 1/3] Added documentation page --- ui/src/components/Navigation/Navbar.vue | 2 +- ui/src/components/application/ApplicationForm.vue | 2 +- ui/src/pages/Documentation.vue | 11 +++++++++++ ui/src/router/index.js | 2 ++ 4 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 ui/src/pages/Documentation.vue diff --git a/ui/src/components/Navigation/Navbar.vue b/ui/src/components/Navigation/Navbar.vue index 72c5bd4..de62765 100644 --- a/ui/src/components/Navigation/Navbar.vue +++ b/ui/src/components/Navigation/Navbar.vue @@ -61,7 +61,7 @@ function blurAfter() { - Documents + Documents diff --git a/ui/src/components/application/ApplicationForm.vue b/ui/src/components/application/ApplicationForm.vue index 6ab7da9..02b84b4 100644 --- a/ui/src/components/application/ApplicationForm.vue +++ b/ui/src/components/application/ApplicationForm.vue @@ -82,7 +82,7 @@ onMounted(() => { - + diff --git a/ui/src/pages/Documentation.vue b/ui/src/pages/Documentation.vue new file mode 100644 index 0000000..51832d6 --- /dev/null +++ b/ui/src/pages/Documentation.vue @@ -0,0 +1,11 @@ + + + \ No newline at end of file diff --git a/ui/src/router/index.js b/ui/src/router/index.js index 29cc862..4e0a7db 100644 --- a/ui/src/router/index.js +++ b/ui/src/router/index.js @@ -18,6 +18,8 @@ const router = createRouter({ { path: '/calendar', component: () => import('@/pages/Calendar.vue'), meta: { requiresAuth: true, memberOnly: true }, }, { path: '/calendar/event/:id', component: () => import('@/pages/Calendar.vue'), meta: { requiresAuth: true, memberOnly: true }, }, + + { path: '/documents', component: () => import('@/pages/Documentation.vue'), meta: { requiresAuth: true, memberOnly: true }, }, { path: '/trainingReport', component: () => import('@/pages/TrainingReport.vue'), meta: { requiresAuth: true, memberOnly: true } }, { path: '/trainingReport/new', component: () => import('@/pages/TrainingReport.vue'), meta: { requiresAuth: true, memberOnly: true } }, From dc88126b6c679d23c250f4c55bd0d6af9994e23a Mon Sep 17 00:00:00 2001 From: ajdj100 Date: Thu, 11 Dec 2025 22:26:33 -0500 Subject: [PATCH 2/3] Added documents site link --- ui/src/components/Navigation/Navbar.vue | 4 +++- ui/src/router/index.js | 7 ++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ui/src/components/Navigation/Navbar.vue b/ui/src/components/Navigation/Navbar.vue index de62765..917a285 100644 --- a/ui/src/components/Navigation/Navbar.vue +++ b/ui/src/components/Navigation/Navbar.vue @@ -25,6 +25,8 @@ const auth = useAuth(); //@ts-ignore const APIHOST = import.meta.env.VITE_APIHOST; +//@ts-ignore +const DOCHOST = import.meta.env.VITE_DOCHOST; async function logout() { userStore.user = null; @@ -61,7 +63,7 @@ function blurAfter() { - Documents + Documents diff --git a/ui/src/router/index.js b/ui/src/router/index.js index 4e0a7db..6fb05fb 100644 --- a/ui/src/router/index.js +++ b/ui/src/router/index.js @@ -15,12 +15,13 @@ const router = createRouter({ { path: '/members', component: () => import('@/pages/memberList.vue'), meta: { requiresAuth: true, memberOnly: true } }, { path: '/loa', component: () => import('@/pages/SubmitLOA.vue'), meta: { requiresAuth: true, memberOnly: true } }, { path: '/transfer', component: () => import('@/pages/Transfer.vue'), meta: { requiresAuth: true, memberOnly: true } }, - + { path: '/calendar', component: () => import('@/pages/Calendar.vue'), meta: { requiresAuth: true, memberOnly: true }, }, { path: '/calendar/event/:id', component: () => import('@/pages/Calendar.vue'), meta: { requiresAuth: true, memberOnly: true }, }, - { path: '/documents', component: () => import('@/pages/Documentation.vue'), meta: { requiresAuth: true, memberOnly: true }, }, - + // disabled in favor of linking + // { path: '/documents', component: () => import('@/pages/Documentation.vue'), meta: { requiresAuth: true, memberOnly: true }, }, + { path: '/trainingReport', component: () => import('@/pages/TrainingReport.vue'), meta: { requiresAuth: true, memberOnly: true } }, { path: '/trainingReport/new', component: () => import('@/pages/TrainingReport.vue'), meta: { requiresAuth: true, memberOnly: true } }, { path: '/trainingReport/:id', component: () => import('@/pages/TrainingReport.vue'), meta: { requiresAuth: true, memberOnly: true } }, From 26ccae90789cbadff3da1b8432eb56ea956bd909 Mon Sep 17 00:00:00 2001 From: ajdj100 Date: Thu, 11 Dec 2025 22:36:20 -0500 Subject: [PATCH 3/3] added arrow to indicate redirect --- ui/src/components/Navigation/Navbar.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/ui/src/components/Navigation/Navbar.vue b/ui/src/components/Navigation/Navbar.vue index 917a285..bb73289 100644 --- a/ui/src/components/Navigation/Navbar.vue +++ b/ui/src/components/Navigation/Navbar.vue @@ -18,7 +18,7 @@ import NavigationMenuTrigger from '../ui/navigation-menu/NavigationMenuTrigger.v import NavigationMenuContent from '../ui/navigation-menu/NavigationMenuContent.vue'; import { navigationMenuTriggerStyle } from '../ui/navigation-menu/' import { useAuth } from '@/composables/useAuth'; -import { CircleArrowOutUpRight } from 'lucide-vue-next'; +import { ArrowUpRight, CircleArrowOutUpRight } from 'lucide-vue-next'; const userStore = useUserStore(); const auth = useAuth(); @@ -60,10 +60,15 @@ function blurAfter() { - + - Documents + + + Documents + + +