From e0004f563a85de89cbe9139b8d0e3feddb83f015 Mon Sep 17 00:00:00 2001 From: Wilson Wong Date: Wed, 24 Jan 2024 17:53:00 -0800 Subject: [PATCH] feat: update home page with initiative links, add back button to individual submission page --- frontend/src/components/layout/Navbar.vue | 2 +- frontend/src/views/HomeView.vue | 84 +++++------------------ frontend/src/views/SubmissionView.vue | 8 +++ 3 files changed, 26 insertions(+), 68 deletions(-) diff --git a/frontend/src/components/layout/Navbar.vue b/frontend/src/components/layout/Navbar.vue index 7a37d70f..a4ef8db1 100644 --- a/frontend/src/components/layout/Navbar.vue +++ b/frontend/src/components/layout/Navbar.vue @@ -17,7 +17,7 @@ const { getIsAuthenticated } = storeToRefs(useAuthStore()); Home
  • - Initiatives + Submissions
  • diff --git a/frontend/src/views/HomeView.vue b/frontend/src/views/HomeView.vue index 665b1985..c5e6a316 100644 --- a/frontend/src/views/HomeView.vue +++ b/frontend/src/views/HomeView.vue @@ -1,49 +1,20 @@ diff --git a/frontend/src/views/SubmissionView.vue b/frontend/src/views/SubmissionView.vue index 2ffc2a34..b1ab11cb 100644 --- a/frontend/src/views/SubmissionView.vue +++ b/frontend/src/views/SubmissionView.vue @@ -7,6 +7,7 @@ import PermitModal from '@/components/permit/PermitModal.vue'; import FileUpload from '@/components/file/FileUpload.vue'; import SubmissionForm from '@/components/submission/SubmissionForm.vue'; import { Button, TabPanel, TabView, useToast } from '@/lib/primevue'; +import { RouteNames } from '@/utils/constants'; import { chefsService, documentService, permitService } from '@/services'; import type { Ref } from 'vue'; @@ -62,6 +63,13 @@ onMounted(async () => {