From 8f1e35c4bc86a7153c492f5cf5328220b65a410b Mon Sep 17 00:00:00 2001 From: yashjagtap23 <108370176+yashjagtap23@users.noreply.github.com> Date: Sun, 13 Aug 2023 18:41:02 -0500 Subject: [PATCH 01/19] added home button to match other pages --- src/router/index.ts | 38 +++-- src/views/Home/Home.vue | 12 +- src/views/JazzmanMenu/JazzmanMenu.vue | 230 ++++++++++++++++++++++++++ 3 files changed, 260 insertions(+), 20 deletions(-) create mode 100644 src/views/JazzmanMenu/JazzmanMenu.vue diff --git a/src/router/index.ts b/src/router/index.ts index b25e0a73..8bca0077 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,21 +1,22 @@ import { createRouter, createWebHistory, RouteRecordRaw, RouteComponent, RouteLocationNormalized, NavigationGuardNext } from 'vue-router'; import useAuthenticationStore from '@/stores/authentication'; -const Home:RouteComponent = () => import('@/views/Home/Home.vue'); -const GpaCalculator:RouteComponent = () => import('@/views/GpaCalculator/GpaCalculator.vue'); -const BellSchedules:RouteComponent = () => import('@/views/Bell Schedules/BellSchedules.vue'); -const Calendar:RouteComponent = () => import('@/views/Calendar/Calendar.vue'); -const Links:RouteComponent = () => import('@/views/Links/Links.vue'); -const Colors:RouteComponent = () => import('@/views/Colors/Colors.vue'); -const Settings:RouteComponent = () => import('@/views/Settings/Settings.vue'); -const Tools:RouteComponent = () => import('@/views/Tools/Tools.vue'); -const Documents:RouteComponent = () => import('@/views/Documents/Documents.vue'); -const AddSchedule:RouteComponent = () => import('@/views/Settings/Add Schedule/AddSchedule.vue'); -const Login:RouteComponent = () => import('@/views/Login/Login.vue'); -const Code:RouteComponent = () => import('@/views/Code/Code.vue'); -const QRCode:RouteComponent = () => import('@/views/QRCodes/QRCodes.vue'); -const GetHelp:RouteComponent = () => import('@/views/GetHelp/GetHelp.vue'); +const Home: RouteComponent = () => import('@/views/Home/Home.vue'); +const GpaCalculator: RouteComponent = () => import('@/views/GpaCalculator/GpaCalculator.vue'); +const BellSchedules: RouteComponent = () => import('@/views/Bell Schedules/BellSchedules.vue'); +const Calendar: RouteComponent = () => import('@/views/Calendar/Calendar.vue'); +const Links: RouteComponent = () => import('@/views/Links/Links.vue'); +const Colors: RouteComponent = () => import('@/views/Colors/Colors.vue'); +const Settings: RouteComponent = () => import('@/views/Settings/Settings.vue'); +const Tools: RouteComponent = () => import('@/views/Tools/Tools.vue'); +const Documents: RouteComponent = () => import('@/views/Documents/Documents.vue'); +const AddSchedule: RouteComponent = () => import('@/views/Settings/Add Schedule/AddSchedule.vue'); +const Login: RouteComponent = () => import('@/views/Login/Login.vue'); +const Code: RouteComponent = () => import('@/views/Code/Code.vue'); +const QRCode: RouteComponent = () => import('@/views/QRCodes/QRCodes.vue'); +const GetHelp: RouteComponent = () => import('@/views/GetHelp/GetHelp.vue'); const Jukebox: RouteComponent = () => import('@/views/Jukebox/Jukebox.vue'); +const JazzmanMenu: RouteComponent = () => import('@/views/JazzmanMenu/JazzmanMenu.vue'); type EditScheduleProps = { @@ -103,6 +104,11 @@ const routes: Array = [ path: '/jukebox', component: Jukebox, }, + { + name: 'JazzmanMenu', + path: '/jazzmanMenu', + component: JazzmanMenu, + }, ]; const router = createRouter({ @@ -117,7 +123,7 @@ const router = createRouter({ }); // ensure any page with requiresAuth set to true will redirect through the login proxy component -router.beforeEach((to:RouteLocationNormalized, from:RouteLocationNormalized, next:NavigationGuardNext) => { +router.beforeEach((to: RouteLocationNormalized, from: RouteLocationNormalized, next: NavigationGuardNext) => { // check if to requires auth if (to.matched.some((record) => record.meta && record.meta.requiresAuth)) { // check if we are already authenticated, and continue ahead if we are @@ -136,4 +142,4 @@ router.beforeEach((to:RouteLocationNormalized, from:RouteLocationNormalized, nex } }); -export default router; +export default router; \ No newline at end of file diff --git a/src/views/Home/Home.vue b/src/views/Home/Home.vue index 952a2846..deb5813b 100644 --- a/src/views/Home/Home.vue +++ b/src/views/Home/Home.vue @@ -19,7 +19,7 @@ - + @@ -35,6 +35,8 @@ + + + \ No newline at end of file diff --git a/src/views/JazzmanMenu/JazzmanMenu.vue b/src/views/JazzmanMenu/JazzmanMenu.vue new file mode 100644 index 00000000..e856ea95 --- /dev/null +++ b/src/views/JazzmanMenu/JazzmanMenu.vue @@ -0,0 +1,230 @@ + + + + + \ No newline at end of file From 399caab8e7fc817d1e82849c72028416a11ca107 Mon Sep 17 00:00:00 2001 From: yashjagtap23 <108370176+yashjagtap23@users.noreply.github.com> Date: Sun, 13 Aug 2023 19:58:16 -0500 Subject: [PATCH 02/19] Pwc Menu added, dropdown, color changes added pwc menu, will add milkshake place later as well. Added dropdown to select between menus. changed colors to match what theme is chosen --- src/views/JazzmanMenu/JazzmanMenu.vue | 407 ++++++++++++++++++-------- 1 file changed, 290 insertions(+), 117 deletions(-) diff --git a/src/views/JazzmanMenu/JazzmanMenu.vue b/src/views/JazzmanMenu/JazzmanMenu.vue index e856ea95..90cada67 100644 --- a/src/views/JazzmanMenu/JazzmanMenu.vue +++ b/src/views/JazzmanMenu/JazzmanMenu.vue @@ -1,124 +1,249 @@ \ No newline at end of file From 818467ccb508f3d0fd2acfeda15e764c827927bd Mon Sep 17 00:00:00 2001 From: yashjagtap23 <108370176+yashjagtap23@users.noreply.github.com> Date: Tue, 15 Aug 2023 18:52:28 -0500 Subject: [PATCH 03/19] Added Special Menu + Deli Added Special Menu (Poke Bowl, Sushi, Taco, Wings) and Deli menu (Sandwich Bar) --- src/views/JazzmanMenu/JazzmanMenu.vue | 213 ++++++++++++++++++++++++-- 1 file changed, 203 insertions(+), 10 deletions(-) diff --git a/src/views/JazzmanMenu/JazzmanMenu.vue b/src/views/JazzmanMenu/JazzmanMenu.vue index 90cada67..14c54c52 100644 --- a/src/views/JazzmanMenu/JazzmanMenu.vue +++ b/src/views/JazzmanMenu/JazzmanMenu.vue @@ -6,6 +6,8 @@